Lines Matching refs:preamble
134 unsigned char preamble[WC3_PREAMBLE_SIZE];
155 if ((ret = get_buffer(pb, preamble, WC3_PREAMBLE_SIZE)) !=
158 fourcc_tag = AV_RL32(&preamble[0]);
159 size = (AV_RB32(&preamble[4]) + 1) & (~1);
173 if ((ret = get_buffer(pb, preamble, 4)) != 4)
175 wc3->palette_count = AV_RL32(&preamble[0]);
197 if ((ret = get_buffer(pb, preamble, WC3_PREAMBLE_SIZE)) !=
200 wc3->width = AV_RL32(&preamble[0]);
201 wc3->height = AV_RL32(&preamble[4]);
227 preamble[0], preamble[1], preamble[2], preamble[3],
228 preamble[0], preamble[1], preamble[2], preamble[3]);
233 if ((ret = get_buffer(pb, preamble, WC3_PREAMBLE_SIZE)) !=
236 fourcc_tag = AV_RL32(&preamble[0]);
238 size = (AV_RB32(&preamble[4]) + 1) & (~1);
284 unsigned char preamble[WC3_PREAMBLE_SIZE];
293 /* get the next chunk preamble */
294 if ((ret = get_buffer(pb, preamble, WC3_PREAMBLE_SIZE)) !=
298 fourcc_tag = AV_RL32(&preamble[0]);
300 size = (AV_RB32(&preamble[4]) + 1) & (~1);
310 if ((ret = get_buffer(pb, preamble, 4)) != 4)
312 palette_number = AV_RL32(&preamble[0]);
370 preamble[0], preamble[1], preamble[2], preamble[3],
371 preamble[0], preamble[1], preamble[2], preamble[3]);