33 uint8_t **poutbuf,
int *poutbuf_size,
34 const uint8_t *buf,
int buf_size,
int keyframe)
37 static const uint8_t imx_header[16] = { 0x06,0x0e,0x2b,0x34,0x01,0x02,0x01,0x01,0x0d,0x01,0x03,0x01,0x05,0x01,0x01,0x00 };
41 av_log(avctx,
AV_LOG_ERROR,
"imx bitstream filter only applies to mpeg2video codec\n");
48 bytestream_put_byte(&poutbufp, 0x83);
49 bytestream_put_be24(&poutbufp, buf_size);
51 *poutbuf_size = poutbufp - *poutbuf;
void * av_malloc(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...
void av_log(void *avcl, int level, const char *fmt,...)
preferred ID for MPEG-1/2 video decoding
main external API structure.
#define FF_INPUT_BUFFER_PADDING_SIZE
static av_always_inline void bytestream_put_buffer(uint8_t **b, const uint8_t *src, unsigned int size)