FFmpeg
4.0
|
#include <string.h>
#include "libavutil/error.h"
#include "libavutil/mem.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "bsf.h"
#include "jpegtables.h"
#include "mjpeg.h"
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 (AVBSFContext *ctx, AVPacket *out) |
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 [] |
static enum AVCodecID | codec_ids [] |
const AVBitStreamFilter | ff_mjpeg2jpeg_bsf |
Definition at line 60 of file mjpeg2jpeg_bsf.c.
Referenced by append_dht_segment(), and mjpeg2jpeg_filter().
Definition at line 66 of file mjpeg2jpeg_bsf.c.
Referenced by mjpeg2jpeg_filter().
|
static |
Definition at line 81 of file mjpeg2jpeg_bsf.c.
|
static |
Definition at line 38 of file mjpeg2jpeg_bsf.c.
Referenced by mjpeg2jpeg_filter().
|
static |
Definition at line 52 of file mjpeg2jpeg_bsf.c.
Referenced by mjpeg2jpeg_filter().
|
static |
Definition at line 53 of file mjpeg2jpeg_bsf.c.
Referenced by append_dht_segment().
|
static |
Definition at line 54 of file mjpeg2jpeg_bsf.c.
Referenced by append_dht_segment().
|
static |
Definition at line 135 of file mjpeg2jpeg_bsf.c.
const AVBitStreamFilter ff_mjpeg2jpeg_bsf |
Definition at line 139 of file mjpeg2jpeg_bsf.c.