Lines Matching defs:preamble
75 unsigned char preamble[RoQ_CHUNK_PREAMBLE_SIZE];
78 if (avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE) !=
81 roq->frame_rate = AV_RL16(&preamble[6]);
103 unsigned char preamble[RoQ_CHUNK_PREAMBLE_SIZE];
112 /* get the next chunk preamble */
113 if ((ret = avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE)) !=
117 chunk_type = AV_RL16(&preamble[0]);
118 chunk_size = AV_RL32(&preamble[2]);
137 if (avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE) != RoQ_CHUNK_PREAMBLE_SIZE)
139 st->codecpar->width = roq->width = AV_RL16(preamble);
140 st->codecpar->height = roq->height = AV_RL16(preamble + 2);
154 if (avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE) !=
157 chunk_size = AV_RL32(&preamble[2]) + RoQ_CHUNK_PREAMBLE_SIZE * 2 +
209 /* copy over preamble */
210 memcpy(pkt->data, preamble, RoQ_CHUNK_PREAMBLE_SIZE);