Libav
|
MPEG1/2 encoder. More...
#include <stdint.h>
#include "libavutil/attributes.h"
#include "libavutil/log.h"
#include "libavutil/opt.h"
#include "libavutil/stereo3d.h"
#include "avcodec.h"
#include "bytestream.h"
#include "mathops.h"
#include "mpeg12.h"
#include "mpeg12data.h"
#include "mpegutils.h"
#include "mpegvideo.h"
Go to the source code of this file.
Macros | |
#define | OFFSET(x) offsetof(MpegEncContext, x) |
#define | VE AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
#define | COMMON_OPTS |
#define | mpeg12_class(x) |
Variables | |
static const uint8_t | inv_non_linear_qscale [] |
static const uint8_t | svcd_scan_offset_placeholder [] |
static uint8_t | mv_penalty [MAX_FCODE+1][MAX_MV *2+1] |
static uint8_t | fcode_tab [MAX_MV *2+1] |
static uint8_t | uni_mpeg1_ac_vlc_len [64 *64 *2] |
static uint8_t | uni_mpeg2_ac_vlc_len [64 *64 *2] |
static uint32_t | mpeg1_lum_dc_uni [512] |
static uint32_t | mpeg1_chr_dc_uni [512] |
static uint8_t | mpeg1_index_run [2][64] |
static int8_t | mpeg1_max_level [2][64] |
static const AVOption | mpeg1_options [] |
static const AVOption | mpeg2_options [] |
AVCodec | ff_mpeg2video_encoder |
MPEG1/2 encoder.
Definition in file mpeg12enc.c.
#define OFFSET | ( | x | ) | offsetof(MpegEncContext, x) |
Definition at line 1044 of file mpeg12enc.c.
#define VE AV_OPT_FLAG_ENCODING_PARAM | AV_OPT_FLAG_VIDEO_PARAM |
Definition at line 1045 of file mpeg12enc.c.
#define COMMON_OPTS |
Definition at line 1046 of file mpeg12enc.c.
#define mpeg12_class | ( | x | ) |
Definition at line 1068 of file mpeg12enc.c.
Definition at line 67 of file mpeg12enc.c.
Referenced by ff_mpeg1_encode_init().
|
static |
Definition at line 102 of file mpeg12enc.c.
Referenced by encode_init().
|
static |
Definition at line 130 of file mpeg12enc.c.
Referenced by mpeg12_class().
|
static |
Definition at line 188 of file mpeg12enc.c.
Referenced by ff_mpeg1_encode_picture_header(), ff_mpeg1_encode_slice_header(), and mpeg1_encode_sequence_header().
|
static |
Definition at line 196 of file mpeg12enc.c.
Referenced by ff_mpeg1_encode_picture_header().
|
inlinestatic |
Definition at line 332 of file mpeg12enc.c.
Referenced by mpeg1_encode_mb_internal().
|
static |
Definition at line 342 of file mpeg12enc.c.
Referenced by ff_mpeg1_encode_slice_header(), and mpeg1_encode_mb_internal().
void ff_mpeg1_encode_slice_header | ( | MpegEncContext * | s | ) |
Definition at line 352 of file mpeg12enc.c.
Referenced by encode_thread(), ff_h263_round_chroma(), and ff_mpeg1_encode_picture_header().
void ff_mpeg1_encode_picture_header | ( | MpegEncContext * | s, |
int | picture_number | ||
) |
Definition at line 366 of file mpeg12enc.c.
Referenced by encode_picture(), and ff_h263_round_chroma().
|
inlinestatic |
Definition at line 495 of file mpeg12enc.c.
Referenced by mpeg1_encode_mb_internal().
|
static |
Definition at line 508 of file mpeg12enc.c.
Referenced by mpeg1_encode_mb_internal().
|
inlinestatic |
Definition at line 547 of file mpeg12enc.c.
Referenced by mpeg1_encode_block().
|
static |
Definition at line 580 of file mpeg12enc.c.
Referenced by mpeg1_encode_mb_internal().
|
static |
Definition at line 659 of file mpeg12enc.c.
Referenced by ff_mpeg1_encode_mb().
void ff_mpeg1_encode_mb | ( | MpegEncContext * | s, |
int16_t | block[6][64], | ||
int | motion_x, | ||
int | motion_y | ||
) |
Definition at line 937 of file mpeg12enc.c.
Referenced by encode_mb_internal(), and ff_h263_round_chroma().
av_cold void ff_mpeg1_encode_init | ( | MpegEncContext * | s | ) |
Definition at line 946 of file mpeg12enc.c.
Referenced by ff_h263_round_chroma(), and ff_mpv_encode_init().
mpeg12_class | ( | 1 | ) |
Definition at line 1076 of file mpeg12enc.c.
|
static |
Definition at line 44 of file mpeg12enc.c.
Referenced by put_qscale().
|
static |
Definition at line 48 of file mpeg12enc.c.
Referenced by ff_mpeg1_encode_picture_header().
Definition at line 53 of file mpeg12enc.c.
Referenced by ff_mpeg1_encode_init().
Definition at line 54 of file mpeg12enc.c.
Referenced by ff_mpeg1_encode_init().
|
static |
Definition at line 56 of file mpeg12enc.c.
Referenced by ff_mpeg1_encode_init().
|
static |
Definition at line 57 of file mpeg12enc.c.
Referenced by ff_mpeg1_encode_init().
|
static |
Definition at line 61 of file mpeg12enc.c.
Referenced by encode_dc(), and ff_mpeg1_encode_init().
|
static |
Definition at line 62 of file mpeg12enc.c.
Referenced by encode_dc(), and ff_mpeg1_encode_init().
|
static |
Definition at line 64 of file mpeg12enc.c.
Referenced by ff_mpeg1_encode_init(), and mpeg1_encode_block().
|
static |
Definition at line 65 of file mpeg12enc.c.
Referenced by ff_mpeg1_encode_init(), and mpeg1_encode_block().
|
static |
Definition at line 1054 of file mpeg12enc.c.
|
static |
Definition at line 1060 of file mpeg12enc.c.
AVCodec ff_mpeg2video_encoder |
Definition at line 1095 of file mpeg12enc.c.