FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 (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.

Function Documentation

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_close ( MpegEncContext s)

Definition at line 81 of file mjpegenc.c.

Referenced by ff_MPV_encode_end().

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().

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().

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().