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");
50 bytestream_put_byte(&poutbufp, 0x83);
51 bytestream_put_be24(&poutbufp, buf_size);
53 *poutbuf_size = poutbufp - *poutbuf;
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
Libavcodec external API header.
#define FF_INPUT_BUFFER_PADDING_SIZE
Required number of additionally allocated bytes at the end of the input bitstream for decoding...
preferred ID for MPEG-1/2 video decoding
main external API structure.
static av_always_inline void bytestream_put_buffer(uint8_t **b, const uint8_t *src, unsigned int size)