FFmpeg
|
Include dependency graph for mjpeg2jpeg_bsf.c:
Go to the source code of this file.
Functions | |
static uint8_t * | append (uint8_t *buf, const uint8_t *src, int size) |
static uint8_t * | append_dht_segment (uint8_t *buf) |
static int | mjpeg2jpeg_filter (AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe) |
Variables | |
static const uint8_t | jpeg_header [] |
static const int | dht_segment_size = 420 |
static const uint8_t | dht_segment_head [] = { 0xFF, 0xC4, 0x01, 0xA2, 0x00 } |
static const uint8_t | dht_segment_frag [] |
AVBitStreamFilter | ff_mjpeg2jpeg_bsf |
Function Documentation
Definition at line 53 of file mjpeg2jpeg_bsf.c.
Referenced by append_dht_segment(), and mjpeg2jpeg_filter().
Definition at line 59 of file mjpeg2jpeg_bsf.c.
Referenced by mjpeg2jpeg_filter().
|
static |
Definition at line 74 of file mjpeg2jpeg_bsf.c.
Variable Documentation
|
static |
Initial value:
= {
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09,
0x0a, 0x0b, 0x01, 0x00, 0x03, 0x01, 0x01, 0x01, 0x01, 0x01,
0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00,
}
Definition at line 47 of file mjpeg2jpeg_bsf.c.
Referenced by append_dht_segment().
|
static |
Definition at line 46 of file mjpeg2jpeg_bsf.c.
Referenced by append_dht_segment().
|
static |
Definition at line 45 of file mjpeg2jpeg_bsf.c.
Referenced by mjpeg2jpeg_filter().
AVBitStreamFilter ff_mjpeg2jpeg_bsf |
Initial value:
= {
.name = "mjpeg2jpeg",
.filter = mjpeg2jpeg_filter,
}
static int mjpeg2jpeg_filter(AVBitStreamFilterContext *bsfc, AVCodecContext *avctx, const char *args, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
Definition: mjpeg2jpeg_bsf.c:74
Definition at line 109 of file mjpeg2jpeg_bsf.c.
|
static |
Initial value:
= {
0xff, 0xd8,
0xff, 0xe0,
0x00, 0x10,
0x4a, 0x46, 0x49, 0x46, 0x00,
0x01, 0x01,
0x00,
0x00, 0x00,
0x00, 0x00,
0x00,
0x00,
}
Definition at line 31 of file mjpeg2jpeg_bsf.c.
Referenced by mjpeg2jpeg_filter().
Generated on Fri Dec 20 2024 06:56:14 for FFmpeg by 1.8.11