Logo Search packages:      
Sourcecode: ffmpeg-debian version File versions

mpeg12enc.c File Reference

Detailed Description

MPEG1/2 encoder

Definition in file mpeg12enc.c.

#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "mpeg12.h"
#include "mpeg12data.h"
#include "bytestream.h"

Go to the source code of this file.


static void encode_dc (MpegEncContext *s, int diff, int component)
static av_cold int encode_init (AVCodecContext *avctx)
static void encode_mb_skip_run (MpegEncContext *s, int run)
void ff_mpeg1_encode_init (MpegEncContext *s)
void ff_mpeg1_encode_slice_header (MpegEncContext *s)
static int find_frame_rate_index (MpegEncContext *s)
static void init_uni_ac_vlc (RLTable *rl, uint8_t *uni_ac_vlc_len)
static void mpeg1_encode_block (MpegEncContext *s, DCTELEM *block, int component)
void mpeg1_encode_mb (MpegEncContext *s, DCTELEM block[6][64], int motion_x, int motion_y)
static av_always_inline void mpeg1_encode_mb_internal (MpegEncContext *s, DCTELEM block[6][64], int motion_x, int motion_y, int mb_block_count)
static void mpeg1_encode_motion (MpegEncContext *s, int val, int f_or_b_code)
void mpeg1_encode_picture_header (MpegEncContext *s, int picture_number)
static void mpeg1_encode_sequence_header (MpegEncContext *s)
static void put_header (MpegEncContext *s, int header)
static void put_mb_modes (MpegEncContext *s, int n, int bits, int has_mv, int field_motion)
static av_always_inline void put_qscale (MpegEncContext *s)


static uint8_t fcode_tab [MAX_MV *2+1]
static const uint8_t inv_non_linear_qscale [13]
static uint32_t mpeg1_chr_dc_uni [512]
static uint8_t mpeg1_index_run [2][64]
static uint32_t mpeg1_lum_dc_uni [512]
static int8_t mpeg1_max_level [2][64]
AVCodec mpeg1video_encoder
AVCodec mpeg2video_encoder
static uint8_t mv_penalty [MAX_FCODE+1][MAX_MV *2+1]
static const uint8_t svcd_scan_offset_placeholder [14]
static uint8_t uni_mpeg1_ac_vlc_len [64 *64 *2]
static uint8_t uni_mpeg2_ac_vlc_len [64 *64 *2]

Generated by  Doxygen 1.6.0   Back to index