Libav
Data Structures | Functions
mjpegenc.h File Reference

MJPEG encoder. More...

#include <stdint.h>
#include "mpegvideo.h"

Go to the source code of this file.

Data Structures

struct  MJpegContext
 

Functions

int ff_mjpeg_encode_init (MpegEncContext *s)
 
void ff_mjpeg_encode_close (MpegEncContext *s)
 
void ff_mjpeg_encode_picture_header (AVCodecContext *avctx, PutBitContext *pb, ScanTable *intra_scantable, uint16_t intra_matrix[64])
 
void ff_mjpeg_encode_picture_trailer (PutBitContext *pb, int header_bits)
 
void ff_mjpeg_encode_stuffing (PutBitContext *pbc)
 
void ff_mjpeg_encode_dc (PutBitContext *pb, int val, uint8_t *huff_size, uint16_t *huff_code)
 
void ff_mjpeg_encode_mb (MpegEncContext *s, int16_t block[6][64])
 

Detailed Description

MJPEG encoder.

Definition in file mjpegenc.h.

Function Documentation

int ff_mjpeg_encode_init ( MpegEncContext s)

Definition at line 42 of file mjpegenc.c.

Referenced by ff_MPV_encode_init().

void ff_mjpeg_encode_close ( MpegEncContext s)

Definition at line 75 of file mjpegenc.c.

Referenced by ff_MPV_encode_end().

void ff_mjpeg_encode_picture_header ( AVCodecContext avctx,
PutBitContext pb,
ScanTable intra_scantable,
uint16_t  intra_matrix[64] 
)

Definition at line 180 of file mjpegenc.c.

Referenced by encode_picture(), and ljpeg_encode_frame().

void ff_mjpeg_encode_picture_trailer ( PutBitContext pb,
int  header_bits 
)

Definition at line 334 of file mjpegenc.c.

Referenced by ff_MPV_encode_picture(), and ljpeg_encode_frame().

void ff_mjpeg_encode_stuffing ( PutBitContext pbc)

Definition at line 327 of file mjpegenc.c.

Referenced by ff_mjpeg_encode_picture_trailer(), and write_slice_end().

void ff_mjpeg_encode_dc ( PutBitContext pb,
int  val,
uint8_t huff_size,
uint16_t *  huff_code 
)

Definition at line 346 of file mjpegenc.c.

Referenced by encode_block(), ljpeg_encode_bgr(), and ljpeg_encode_yuv_mb().

void ff_mjpeg_encode_mb ( MpegEncContext s,
int16_t  block[6][64] 
)

Definition at line 426 of file mjpegenc.c.

Referenced by encode_mb_internal().