Lines Matching defs:header
40 AVIOContext *header;
56 /* Sega Cinepak has an extra two-byte header; write dummy data there,
57 * then adjust the cvid header to accommodate for the extra size */
64 /* In Sega Cinepak, the reported size in the Cinepak header is
65 * 8 bytes too short. However, the size in the STAB section of the header
80 * for the STAB chunk in the header */
81 pb = film->header;
163 if ((ret = avio_open_dyn_buf(&film->header)) < 0)
165 ffio_fill(film->header, 0, 16 + 32 + 16);
170 static int write_header(AVFormatContext *format_context, uint8_t *header,
178 avio_write(format_context->pb, header, header_size);
189 uint8_t *header, *ptr;
191 /* Calculate how much we need to reserve for the header;
193 headersize = avio_get_dyn_buf(film->header, &header);
195 av_assert1(film->header->error < 0);
196 return film->header->error;
200 headersize = 16 + /* FILM header base */
204 /* Write the header at the position in the buffer reserved for it.
205 * First, write the FILM header; this is very simple */
206 ptr = header;
268 /* Finally, shift the data and write out the header. */
269 ret = write_header(format_context, header, headersize);
280 ffio_free_dyn_buf(&film->header);