mjpegenc.h File Reference

MJPEG encoder. More...

#include <stdint.h>
#include "mpegvideo.h"
Include dependency graph for mjpegenc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MJpegContext
 

Typedefs

typedef struct MJpegContext MJpegContext
 

Functions

int ff_mjpeg_encode_init (MpegEncContext *s)
 
void ff_mjpeg_encode_close (MpegEncContext *s)
 
void ff_mjpeg_encode_picture_header (MpegEncContext *s)
 
void ff_mjpeg_encode_picture_trailer (MpegEncContext *s)
 
void ff_mjpeg_encode_stuffing (MpegEncContext *s)
 
void ff_mjpeg_encode_dc (MpegEncContext *s, 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.

Typedef Documentation

typedef struct MJpegContext MJpegContext

Function Documentation

void ff_mjpeg_encode_close ( MpegEncContext s)

Definition at line 81 of file mjpegenc.c.

Referenced by ff_MPV_encode_end().

void ff_mjpeg_encode_dc ( MpegEncContext s,
int  val,
uint8_t huff_size,
uint16_t *  huff_code 
)

Definition at line 377 of file mjpegenc.c.

Referenced by encode_block(), and encode_picture_lossless().

int ff_mjpeg_encode_init ( MpegEncContext s)

Definition at line 43 of file mjpegenc.c.

Referenced by ff_MPV_encode_init().

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

Definition at line 457 of file mjpegenc.c.

Referenced by encode_mb_internal().

void ff_mjpeg_encode_picture_header ( MpegEncContext s)

Definition at line 204 of file mjpegenc.c.

Referenced by encode_picture(), and encode_picture_lossless().

void ff_mjpeg_encode_picture_trailer ( MpegEncContext s)

Definition at line 368 of file mjpegenc.c.

Referenced by encode_picture_lossless(), and ff_MPV_encode_picture().

void ff_mjpeg_encode_stuffing ( MpegEncContext s)

Definition at line 349 of file mjpegenc.c.

Referenced by encode_picture_lossless(), and write_slice_end().