Lines Matching defs:ptr
189 uint8_t *header, *ptr;
206 ptr = header;
207 bytestream_put_be32(&ptr, MKBETAG('F', 'I', 'L', 'M'));
208 bytestream_put_be32(&ptr, headersize);
211 bytestream_put_be32(&ptr, MKBETAG('1', '.', '0', '9'));
213 ptr += 4;
216 bytestream_put_be32(&ptr, MKBETAG('F', 'D', 'S', 'C'));
217 bytestream_put_be32(&ptr, 0x20); /* Size of FDSC chunk */
224 bytestream_put_be32(&ptr, MKBETAG('c', 'v', 'i', 'd'));
227 bytestream_put_be32(&ptr, MKBETAG('r', 'a', 'w', ' '));
231 bytestream_put_be32(&ptr, video->codecpar->height);
232 bytestream_put_be32(&ptr, video->codecpar->width);
233 bytestream_put_byte(&ptr, 24); /* Bits per pixel - observed to always be 24 */
239 bytestream_put_byte(&ptr, audio->codecpar->ch_layout.nb_channels); /* Audio channels */
240 bytestream_put_byte(&ptr, audio->codecpar->bits_per_coded_sample); /* Audio bit depth */
241 bytestream_put_byte(&ptr, audio_codec); /* Compression - 0 is PCM, 2 is ADX */
242 bytestream_put_be16(&ptr, audio->codecpar->sample_rate); /* Audio sampling rate */
246 ptr += 1 + 1 + 1 + 2;
250 ptr += 4 + 2;
253 bytestream_put_be32(&ptr, MKBETAG('S', 'T', 'A', 'B'));
254 bytestream_put_be32(&ptr, stabsize);
264 bytestream_put_be32(&ptr, av_q2d(av_inv_q(video->time_base)));
266 bytestream_put_be32(&ptr, packet_count);