FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mjpegenc.c File Reference

MJPEG encoder. More...

#include "libavutil/pixdesc.h"
#include "avcodec.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

av_cold int ff_mjpeg_encode_init (MpegEncContext *s)
 
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)
 

Detailed Description

MJPEG encoder.

Definition in file mjpegenc.c.

Macro Definition Documentation

#define V_MAX   2

Definition at line 178 of file mjpegenc.c.

Referenced by amv_encode_picture().

Function Documentation

av_cold int ff_mjpeg_encode_init ( MpegEncContext s)

Definition at line 41 of file mjpegenc.c.

Referenced by ff_mpv_encode_init().

void ff_mjpeg_encode_close ( MpegEncContext s)

Definition at line 79 of file mjpegenc.c.

Referenced by ff_mpv_encode_end().

static void encode_block ( MpegEncContext s,
int16_t *  block,
int  n 
)
static

Definition at line 84 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 142 of file mjpegenc.c.

Referenced by encode_mb_internal().

static int amv_encode_picture ( AVCodecContext avctx,
AVPacket pkt,
const AVFrame pic_arg,
int *  got_packet 
)
static

Definition at line 179 of file mjpegenc.c.