FFmpeg
|
MJPEG encoder. More...
#include "libavutil/pixdesc.h"
#include "avcodec.h"
#include "jpegtables.h"
#include "mjpegenc_common.h"
#include "mpegvideo.h"
#include "mjpeg.h"
#include "mjpegenc.h"
Go to the source code of this file.
Macros | |
#define | V_MAX 2 |
Functions | |
static av_cold void | init_uni_ac_vlc (const uint8_t huff_size_ac[256], uint8_t *uni_ac_vlc_len) |
av_cold int | ff_mjpeg_encode_init (MpegEncContext *s) |
av_cold void | ff_mjpeg_encode_close (MpegEncContext *s) |
static void | encode_block (MpegEncContext *s, int16_t *block, int n) |
void | ff_mjpeg_encode_mb (MpegEncContext *s, int16_t block[12][64]) |
static int | amv_encode_picture (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pic_arg, int *got_packet) |
Variables | |
static uint8_t | uni_ac_vlc_len [64 *64 *2] |
static uint8_t | uni_chroma_ac_vlc_len [64 *64 *2] |
MJPEG encoder.
Definition in file mjpegenc.c.
#define V_MAX 2 |
Definition at line 215 of file mjpegenc.c.
Referenced by amv_encode_picture().
|
static |
Definition at line 45 of file mjpegenc.c.
Referenced by ff_mjpeg_encode_init().
av_cold int ff_mjpeg_encode_init | ( | MpegEncContext * | s | ) |
Definition at line 71 of file mjpegenc.c.
Referenced by ff_mpv_encode_init().
av_cold void ff_mjpeg_encode_close | ( | MpegEncContext * | s | ) |
Definition at line 116 of file mjpegenc.c.
Referenced by ff_mpv_encode_end().
|
static |
Definition at line 121 of file mjpegenc.c.
Referenced by ff_mjpeg_encode_mb().
void ff_mjpeg_encode_mb | ( | MpegEncContext * | s, |
int16_t | block[12][64] | ||
) |
Definition at line 179 of file mjpegenc.c.
Referenced by encode_mb_internal().
|
static |
Definition at line 216 of file mjpegenc.c.
|
static |
Definition at line 42 of file mjpegenc.c.
Referenced by ff_mjpeg_encode_init().
|
static |
Definition at line 43 of file mjpegenc.c.
Referenced by ff_mjpeg_encode_init().