#include "dsputil.h"
#include "bitstream.h"
#include "ratecontrol.h"
#include "parser.h"
#include "rl.h"
Go to the source code of this file.
Data Structures | |
struct | ScanTable |
Scantable. More... | |
struct | Picture |
Picture. More... | |
struct | MotionEstContext |
Motion estimation context. More... | |
struct | MpegEncContext |
MpegEncContext. More... | |
Defines | |
#define | FRAME_SKIPPED 100 |
return value for header parsers if frame is not coded | |
#define | EDGE_WIDTH 16 |
#define | MPEG_BUF_SIZE (16 * 1024) |
#define | QMAT_SHIFT_MMX 16 |
#define | QMAT_SHIFT 22 |
#define | MAX_FCODE 7 |
#define | MAX_MV 2048 |
#define | MAX_THREADS 8 |
#define | MAX_PICTURE_COUNT 32 |
#define | ME_MAP_SIZE 64 |
#define | ME_MAP_SHIFT 3 |
#define | ME_MAP_MV_BITS 11 |
#define | MAX_RUN 64 |
#define | MAX_LEVEL 64 |
#define | I_TYPE FF_I_TYPE |
Intra. | |
#define | P_TYPE FF_P_TYPE |
Predicted. | |
#define | B_TYPE FF_B_TYPE |
Bi-dir predicted. | |
#define | S_TYPE FF_S_TYPE |
S(GMC)-VOP MPEG4. | |
#define | SI_TYPE FF_SI_TYPE |
Switching Intra. | |
#define | SP_TYPE FF_SP_TYPE |
Switching Predicted. | |
#define | MAX_MB_BYTES (30*16*16*3/8 + 120) |
#define | INPLACE_OFFSET 16 |
#define | SEQ_END_CODE 0x000001b7 |
#define | SEQ_START_CODE 0x000001b3 |
#define | GOP_START_CODE 0x000001b8 |
#define | PICTURE_START_CODE 0x00000100 |
#define | SLICE_MIN_START_CODE 0x00000101 |
#define | SLICE_MAX_START_CODE 0x000001af |
#define | EXT_START_CODE 0x000001b5 |
#define | USER_START_CODE 0x000001b2 |
#define | MB_TYPE_INTRA MB_TYPE_INTRA4x4 |
#define | IS_INTRA4x4(a) ((a)&MB_TYPE_INTRA4x4) |
#define | IS_INTRA16x16(a) ((a)&MB_TYPE_INTRA16x16) |
#define | IS_PCM(a) ((a)&MB_TYPE_INTRA_PCM) |
#define | IS_INTRA(a) ((a)&7) |
#define | IS_INTER(a) ((a)&(MB_TYPE_16x16|MB_TYPE_16x8|MB_TYPE_8x16|MB_TYPE_8x8)) |
#define | IS_SKIP(a) ((a)&MB_TYPE_SKIP) |
#define | IS_INTRA_PCM(a) ((a)&MB_TYPE_INTRA_PCM) |
#define | IS_INTERLACED(a) ((a)&MB_TYPE_INTERLACED) |
#define | IS_DIRECT(a) ((a)&MB_TYPE_DIRECT2) |
#define | IS_GMC(a) ((a)&MB_TYPE_GMC) |
#define | IS_16X16(a) ((a)&MB_TYPE_16x16) |
#define | IS_16X8(a) ((a)&MB_TYPE_16x8) |
#define | IS_8X16(a) ((a)&MB_TYPE_8x16) |
#define | IS_8X8(a) ((a)&MB_TYPE_8x8) |
#define | IS_SUB_8X8(a) ((a)&MB_TYPE_16x16) |
#define | IS_SUB_8X4(a) ((a)&MB_TYPE_16x8) |
#define | IS_SUB_4X8(a) ((a)&MB_TYPE_8x16) |
#define | IS_SUB_4X4(a) ((a)&MB_TYPE_8x8) |
#define | IS_ACPRED(a) ((a)&MB_TYPE_ACPRED) |
#define | IS_QUANT(a) ((a)&MB_TYPE_QUANT) |
#define | IS_DIR(a, part, list) ((a) & (MB_TYPE_P0L0<<((part)+2*(list)))) |
#define | USES_LIST(a, list) ((a) & ((MB_TYPE_P0L0|MB_TYPE_P1L0)<<(2*(list)))) |
does this mb use listX, note does not work if subMBs | |
#define | HAS_CBP(a) ((a)&MB_TYPE_CBP) |
#define | PREV_PICT_TYPES_BUFFER_SIZE 256 |
#define | MV_DIR_FORWARD 1 |
#define | MV_DIR_BACKWARD 2 |
#define | MV_DIRECT 4 |
bidirectional mode where the difference equals the MV of the last P/S/I-Frame (mpeg4) | |
#define | MV_TYPE_16X16 0 |
1 vector for the whole mb | |
#define | MV_TYPE_8X8 1 |
4 vectors (h263, mpeg4 4MV) | |
#define | MV_TYPE_16X8 2 |
2 vectors, one per 16x8 block | |
#define | MV_TYPE_FIELD 3 |
2 vectors, one per field | |
#define | MV_TYPE_DMV 4 |
2 vectors, special mpeg2 Dual Prime Vectors | |
#define | CANDIDATE_MB_TYPE_INTRA 0x01 |
#define | CANDIDATE_MB_TYPE_INTER 0x02 |
#define | CANDIDATE_MB_TYPE_INTER4V 0x04 |
#define | CANDIDATE_MB_TYPE_SKIPPED 0x08 |
#define | CANDIDATE_MB_TYPE_DIRECT 0x10 |
#define | CANDIDATE_MB_TYPE_FORWARD 0x20 |
#define | CANDIDATE_MB_TYPE_BACKWARD 0x40 |
#define | CANDIDATE_MB_TYPE_BIDIR 0x80 |
#define | CANDIDATE_MB_TYPE_INTER_I 0x100 |
#define | CANDIDATE_MB_TYPE_FORWARD_I 0x200 |
#define | CANDIDATE_MB_TYPE_BACKWARD_I 0x400 |
#define | CANDIDATE_MB_TYPE_BIDIR_I 0x800 |
#define | CANDIDATE_MB_TYPE_DIRECT0 0x1000 |
#define | QUANT_BIAS_SHIFT 8 |
#define | UNI_AC_ENC_INDEX(run, level) ((run)*128 + (level)) |
#define | VP_START 1 |
current MB is the first after a resync marker | |
#define | AC_ERROR 2 |
#define | DC_ERROR 4 |
#define | MV_ERROR 8 |
#define | AC_END 16 |
#define | DC_END 32 |
#define | MV_END 64 |
#define | PICT_TOP_FIELD 1 |
#define | PICT_BOTTOM_FIELD 2 |
#define | PICT_FRAME 3 |
#define | CHROMA_420 1 |
#define | CHROMA_422 2 |
#define | CHROMA_444 3 |
#define | SLICE_OK 0 |
#define | SLICE_ERROR -1 |
#define | SLICE_END -2 |
end marker found | |
#define | SLICE_NOEND -3 |
no end marker or error found but mb count exceeded | |
Enumerations | |
enum | OutputFormat { FMT_MPEG1, FMT_H261, FMT_H263, FMT_MJPEG, FMT_H264 } |
Functions | |
void | MPV_decode_defaults (MpegEncContext *s) |
sets the given MpegEncContext to defaults for decoding. | |
int | MPV_common_init (MpegEncContext *s) |
init common structure for both encoder and decoder. | |
void | MPV_common_end (MpegEncContext *s) |
void | MPV_decode_mb (MpegEncContext *s, DCTELEM block[12][64]) |
int | MPV_frame_start (MpegEncContext *s, AVCodecContext *avctx) |
generic function for encode/decode called after coding/decoding the header and before a frame is coded/decoded | |
void | MPV_frame_end (MpegEncContext *s) |
int | MPV_encode_init (AVCodecContext *avctx) |
int | MPV_encode_end (AVCodecContext *avctx) |
int | MPV_encode_picture (AVCodecContext *avctx, unsigned char *buf, int buf_size, void *data) |
void | MPV_common_init_mmx (MpegEncContext *s) |
void | MPV_common_init_axp (MpegEncContext *s) |
void | MPV_common_init_mlib (MpegEncContext *s) |
void | MPV_common_init_mmi (MpegEncContext *s) |
void | MPV_common_init_armv4l (MpegEncContext *s) |
void | MPV_common_init_altivec (MpegEncContext *s) |
void | ff_clean_intra_table_entries (MpegEncContext *s) |
cleans dc, ac, coded_block for the current non intra MB | |
void | ff_init_scantable (uint8_t *, ScanTable *st, const uint8_t *src_scantable) |
void | ff_draw_horiz_band (MpegEncContext *s, int y, int h) |
void | ff_emulated_edge_mc (uint8_t *buf, uint8_t *src, int linesize, int block_w, int block_h, int src_x, int src_y, int w, int h) |
Copies a rectangular area of samples to a temporary buffer and replicates the boarder samples. | |
void | ff_mpeg_flush (AVCodecContext *avctx) |
void | ff_print_debug_info (MpegEncContext *s, AVFrame *pict) |
prints debuging info for the given picture. | |
void | ff_write_quant_matrix (PutBitContext *pb, uint16_t *matrix) |
int | ff_find_unused_picture (MpegEncContext *s, int shared) |
void | ff_denoise_dct (MpegEncContext *s, DCTELEM *block) |
void | ff_update_duplicate_context (MpegEncContext *dst, MpegEncContext *src) |
const uint8_t * | ff_find_start_code (const uint8_t *p, const uint8_t *end, uint32_t *state) |
void | ff_er_frame_start (MpegEncContext *s) |
void | ff_er_frame_end (MpegEncContext *s) |
void | ff_er_add_slice (MpegEncContext *s, int startx, int starty, int endx, int endy, int status) |
adds a slice. | |
int | ff_dct_common_init (MpegEncContext *s) |
void | ff_convert_matrix (DSPContext *dsp, int(*qmat)[64], uint16_t(*qmat16)[2][64], const uint16_t *quant_matrix, int bias, int qmin, int qmax, int intra) |
void | ff_init_block_index (MpegEncContext *s) |
static void | ff_update_block_index (MpegEncContext *s) |
static int | get_bits_diff (MpegEncContext *s) |
static int | ff_h263_round_chroma (int x) |
void | ff_estimate_p_frame_motion (MpegEncContext *s, int mb_x, int mb_y) |
void | ff_estimate_b_frame_motion (MpegEncContext *s, int mb_x, int mb_y) |
int | ff_get_best_fcode (MpegEncContext *s, int16_t(*mv_table)[2], int type) |
void | ff_fix_long_p_mvs (MpegEncContext *s) |
void | ff_fix_long_mvs (MpegEncContext *s, uint8_t *field_select_table, int field_select, int16_t(*mv_table)[2], int f_code, int type, int truncate) |
void | ff_init_me (MpegEncContext *s) |
int | ff_pre_estimate_p_frame_motion (MpegEncContext *s, int mb_x, int mb_y) |
int | ff_epzs_motion_search (MpegEncContext *s, int *mx_ptr, int *my_ptr, int P[10][2], int src_index, int ref_index, int16_t(*last_mv)[2], int ref_mv_scale, int size, int h) |
int | ff_get_mb_score (MpegEncContext *s, int mx, int my, int src_index, int ref_index, int size, int h, int add_rate) |
void | mpeg1_encode_picture_header (MpegEncContext *s, int picture_number) |
void | mpeg1_encode_mb (MpegEncContext *s, DCTELEM block[6][64], int motion_x, int motion_y) |
void | ff_mpeg1_encode_init (MpegEncContext *s) |
void | ff_mpeg1_encode_slice_header (MpegEncContext *s) |
void | ff_mpeg1_clean_buffers (MpegEncContext *s) |
int | ff_mpeg1_find_frame_end (ParseContext *pc, const uint8_t *buf, int buf_size) |
finds the end of the current frame in the bitstream. | |
void | ff_h261_loop_filter (MpegEncContext *s) |
void | ff_h261_reorder_mb_index (MpegEncContext *s) |
void | ff_h261_encode_mb (MpegEncContext *s, DCTELEM block[6][64], int motion_x, int motion_y) |
void | ff_h261_encode_picture_header (MpegEncContext *s, int picture_number) |
void | ff_h261_encode_init (MpegEncContext *s) |
int | ff_h261_get_picture_format (int width, int height) |
int | ff_h263_decode_init (AVCodecContext *avctx) |
int | ff_h263_decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size) |
int | ff_h263_decode_end (AVCodecContext *avctx) |
void | h263_encode_mb (MpegEncContext *s, DCTELEM block[6][64], int motion_x, int motion_y) |
void | mpeg4_encode_mb (MpegEncContext *s, DCTELEM block[6][64], int motion_x, int motion_y) |
void | h263_encode_picture_header (MpegEncContext *s, int picture_number) |
void | ff_flv_encode_picture_header (MpegEncContext *s, int picture_number) |
void | h263_encode_gob_header (MpegEncContext *s, int mb_line) |
int16_t * | h263_pred_motion (MpegEncContext *s, int block, int dir, int *px, int *py) |
void | mpeg4_pred_ac (MpegEncContext *s, DCTELEM *block, int n, int dir) |
predicts the ac. | |
void | ff_set_mpeg4_time (MpegEncContext *s) |
void | mpeg4_encode_picture_header (MpegEncContext *s, int picture_number) |
void | h263_encode_init (MpegEncContext *s) |
void | h263_decode_init_vlc (MpegEncContext *s) |
int | h263_decode_picture_header (MpegEncContext *s) |
int | ff_h263_decode_gob_header (MpegEncContext *s) |
int | ff_mpeg4_decode_picture_header (MpegEncContext *s, GetBitContext *gb) |
decode mpeg4 headers | |
void | ff_h263_update_motion_val (MpegEncContext *s) |
void | ff_h263_loop_filter (MpegEncContext *s) |
void | ff_set_qscale (MpegEncContext *s, int qscale) |
set qscale and update qscale dependent variables. | |
int | ff_h263_decode_mba (MpegEncContext *s) |
void | ff_h263_encode_mba (MpegEncContext *s) |
int | intel_h263_decode_picture_header (MpegEncContext *s) |
int | flv_h263_decode_picture_header (MpegEncContext *s) |
int | ff_h263_decode_mb (MpegEncContext *s, DCTELEM block[6][64]) |
int | ff_mpeg4_decode_mb (MpegEncContext *s, DCTELEM block[6][64]) |
int | h263_get_picture_format (int width, int height) |
void | ff_mpeg4_encode_video_packet_header (MpegEncContext *s) |
void | ff_mpeg4_clean_buffers (MpegEncContext *s) |
void | ff_mpeg4_stuffing (PutBitContext *pbc) |
void | ff_mpeg4_init_partitions (MpegEncContext *s) |
void | ff_mpeg4_merge_partitions (MpegEncContext *s) |
void | ff_clean_mpeg4_qscales (MpegEncContext *s) |
void | ff_clean_h263_qscales (MpegEncContext *s) |
int | ff_mpeg4_decode_partitions (MpegEncContext *s) |
decodes the first & second partition | |
int | ff_mpeg4_get_video_packet_prefix_length (MpegEncContext *s) |
int | ff_h263_resync (MpegEncContext *s) |
decodes the group of blocks / video packet header. | |
int | ff_h263_get_gob_height (MpegEncContext *s) |
Get the GOB height based on picture height. | |
void | ff_mpeg4_init_direct_mv (MpegEncContext *s) |
int | ff_mpeg4_set_direct_mv (MpegEncContext *s, int mx, int my) |
void | ff_h263_encode_motion (MpegEncContext *s, int val, int f_code) |
void | rv10_encode_picture_header (MpegEncContext *s, int picture_number) |
int | rv_decode_dc (MpegEncContext *s, int n) |
void | rv20_encode_picture_header (MpegEncContext *s, int picture_number) |
void | msmpeg4_encode_picture_header (MpegEncContext *s, int picture_number) |
void | msmpeg4_encode_ext_header (MpegEncContext *s) |
void | msmpeg4_encode_mb (MpegEncContext *s, DCTELEM block[6][64], int motion_x, int motion_y) |
int | msmpeg4_decode_picture_header (MpegEncContext *s) |
int | msmpeg4_decode_ext_header (MpegEncContext *s, int buf_size) |
int | ff_msmpeg4_decode_init (MpegEncContext *s) |
void | ff_msmpeg4_encode_init (MpegEncContext *s) |
int | ff_wmv2_decode_picture_header (MpegEncContext *s) |
int | ff_wmv2_decode_secondary_picture_header (MpegEncContext *s) |
void | ff_wmv2_add_mb (MpegEncContext *s, DCTELEM block[6][64], uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr) |
void | ff_mspel_motion (MpegEncContext *s, uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr, uint8_t **ref_picture, op_pixels_func(*pix_op)[4], int motion_x, int motion_y, int h) |
int | ff_wmv2_encode_picture_header (MpegEncContext *s, int picture_number) |
void | ff_wmv2_encode_mb (MpegEncContext *s, DCTELEM block[6][64], int motion_x, int motion_y) |
Variables | |
void(* | draw_edges )(uint8_t *buf, int wrap, int width, int height, int w) |
const uint16_t | ff_mpeg1_default_intra_matrix [64] |
const uint16_t | ff_mpeg1_default_non_intra_matrix [64] |
const uint8_t | ff_mpeg1_dc_scale_table [128] |
const AVRational | ff_frame_rate_tab [] |
const uint8_t | ff_mpeg4_y_dc_scale_table [32] |
const uint8_t | ff_mpeg4_c_dc_scale_table [32] |
const uint8_t | ff_aic_dc_scale_table [32] |
const int16_t | ff_mpeg4_default_intra_matrix [64] |
const int16_t | ff_mpeg4_default_non_intra_matrix [64] |
const uint8_t | ff_h263_chroma_qscale_table [32] |
const uint8_t | ff_h263_loop_filter_strength [32] |
Definition in file mpegvideo.h.
#define AC_END 16 |
Definition at line 496 of file mpegvideo.h.
Referenced by decode_slice(), ff_er_add_slice(), ff_er_frame_end(), ff_er_frame_start(), ff_intrax8_decode_picture(), mpeg_decode_frame(), rv10_decode_packet(), rv34_decode_slice(), slice_decode_thread(), vc1_decode_b_blocks(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_p_blocks(), and vc1_decode_skip_blocks().
#define AC_ERROR 2 |
Definition at line 493 of file mpegvideo.h.
Referenced by decode_slice(), ff_er_add_slice(), ff_er_frame_end(), ff_er_frame_start(), ff_h263_decode_frame(), h_block_filter(), mpeg_decode_frame(), rv34_decode_slice(), slice_decode_thread(), and v_block_filter().
#define B_TYPE FF_B_TYPE |
Bi-dir predicted.
Definition at line 70 of file mpegvideo.h.
Referenced by alloc_picture(), av_get_pict_type_char(), decode_cabac_mb_ref(), decode_cabac_mb_skip(), decode_cabac_mb_type(), decode_frame(), decode_mb_cabac(), decode_mb_cavlc(), decode_mb_skip(), decode_nal_units(), decode_ref_pic_list_reordering(), decode_slice(), decode_slice_header(), decode_vop_header(), direct_ref_list_init(), encode_mb_internal(), encode_picture(), encode_thread(), epzs_motion_search_internal(), estimate_best_b_count(), estimate_motion_thread(), ff_draw_horiz_band(), ff_er_frame_end(), ff_get_best_fcode(), ff_h263_decode_frame(), ff_h263_decode_mb(), ff_init_block_index(), ff_mpeg4_decode_mb(), ff_mpeg4_get_video_packet_prefix_length(), ff_rate_control_init(), ff_rate_estimate_qscale(), ff_rv34_decode_frame(), ff_xvid_rate_estimate_qscale(), fill_caches(), fill_default_ref_list(), filter_mb_fast(), get_diff_limited_q(), get_qminmax(), get_qscale(), h261_decode_frame(), h263_decode_picture_header(), init_pass2(), mpeg1_decode_picture(), mpeg1_encode_mb_internal(), mpeg1_encode_picture_header(), mpeg4_decode_video_packet_header(), mpeg4_is_resync(), mpeg_decode_frame(), mpeg_decode_mb(), mpeg_decode_slice(), MPV_decode_mb_internal(), MPV_encode_picture(), MPV_frame_end(), MPV_frame_start(), MPV_motion(), MPV_motion_lowres(), output_packet(), pred_weight_table(), rv10_decode_frame(), rv10_decode_packet(), rv20_decode_picture_header(), rv30_decode_mb_info(), rv34_decode_mb_header(), select_input_picture(), set_frame_distances(), slice_end(), svq1_decode_frame(), svq3_decode_frame(), svq3_decode_mb(), vc1_decode_blocks(), vc1_decode_frame(), vc1_parse_frame_header(), vc1_parse_frame_header_adv(), and write_back_motion().
#define CANDIDATE_MB_TYPE_BACKWARD 0x40 |
Definition at line 413 of file mpegvideo.h.
Referenced by check_input_motion(), encode_picture(), encode_thread(), and ff_estimate_b_frame_motion().
#define CANDIDATE_MB_TYPE_BACKWARD_I 0x400 |
Definition at line 418 of file mpegvideo.h.
Referenced by check_input_motion(), encode_picture(), encode_thread(), and ff_estimate_b_frame_motion().
#define CANDIDATE_MB_TYPE_BIDIR 0x80 |
Definition at line 414 of file mpegvideo.h.
Referenced by check_input_motion(), encode_picture(), encode_thread(), and ff_estimate_b_frame_motion().
#define CANDIDATE_MB_TYPE_BIDIR_I 0x800 |
Definition at line 419 of file mpegvideo.h.
Referenced by check_input_motion(), encode_picture(), encode_thread(), and ff_estimate_b_frame_motion().
#define CANDIDATE_MB_TYPE_DIRECT 0x10 |
Definition at line 411 of file mpegvideo.h.
Referenced by encode_thread(), and ff_estimate_b_frame_motion().
#define CANDIDATE_MB_TYPE_DIRECT0 0x1000 |
Definition at line 421 of file mpegvideo.h.
Referenced by encode_thread(), and ff_estimate_b_frame_motion().
#define CANDIDATE_MB_TYPE_FORWARD 0x20 |
Definition at line 412 of file mpegvideo.h.
Referenced by check_input_motion(), encode_picture(), encode_thread(), and ff_estimate_b_frame_motion().
#define CANDIDATE_MB_TYPE_FORWARD_I 0x200 |
Definition at line 417 of file mpegvideo.h.
Referenced by check_input_motion(), encode_picture(), encode_thread(), and ff_estimate_b_frame_motion().
#define CANDIDATE_MB_TYPE_INTER 0x02 |
Definition at line 406 of file mpegvideo.h.
Referenced by check_input_motion(), encode_picture(), encode_thread(), ff_estimate_p_frame_motion(), and svq1_encode_plane().
#define CANDIDATE_MB_TYPE_INTER4V 0x04 |
Definition at line 407 of file mpegvideo.h.
Referenced by check_input_motion(), encode_thread(), ff_estimate_p_frame_motion(), and ff_fix_long_p_mvs().
#define CANDIDATE_MB_TYPE_INTER_I 0x100 |
Definition at line 416 of file mpegvideo.h.
Referenced by check_input_motion(), encode_picture(), encode_thread(), and ff_estimate_p_frame_motion().
#define CANDIDATE_MB_TYPE_INTRA 0x01 |
Definition at line 405 of file mpegvideo.h.
Referenced by adaptive_quantization(), check_input_motion(), encode_picture(), encode_thread(), ff_estimate_b_frame_motion(), ff_estimate_p_frame_motion(), ff_fix_long_mvs(), ff_fix_long_p_mvs(), and svq1_encode_plane().
#define CANDIDATE_MB_TYPE_SKIPPED 0x08 |
Definition at line 408 of file mpegvideo.h.
Referenced by encode_thread(), and ff_estimate_p_frame_motion().
#define CHROMA_420 1 |
Definition at line 640 of file mpegvideo.h.
Referenced by encode_init(), encode_mb(), ff_mjpeg_encode_mb(), mpeg1_encode_mb(), mpeg1_encode_picture_header(), and MPV_encode_init().
#define CHROMA_422 2 |
Definition at line 641 of file mpegvideo.h.
Referenced by encode_mb_internal(), and MPV_encode_init().
#define CHROMA_444 3 |
Definition at line 642 of file mpegvideo.h.
#define DC_END 32 |
Definition at line 497 of file mpegvideo.h.
Referenced by decode_slice(), ff_er_add_slice(), ff_er_frame_end(), ff_er_frame_start(), ff_intrax8_decode_picture(), ff_mpeg4_decode_partitions(), mpeg_decode_frame(), rv10_decode_packet(), rv34_decode_slice(), slice_decode_thread(), vc1_decode_b_blocks(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_p_blocks(), and vc1_decode_skip_blocks().
#define DC_ERROR 4 |
Definition at line 494 of file mpegvideo.h.
Referenced by decode_slice(), ff_er_add_slice(), ff_er_frame_end(), ff_er_frame_start(), ff_h263_decode_frame(), ff_mpeg4_decode_partitions(), guess_dc(), h_block_filter(), is_intra_more_likely(), mpeg_decode_frame(), rv34_decode_slice(), slice_decode_thread(), and v_block_filter().
#define EDGE_WIDTH 16 |
Definition at line 46 of file mpegvideo.h.
Referenced by avcodec_default_get_buffer(), decode_frame(), encode_frame(), frame_start(), halfpel_interpol(), MPV_common_init(), and MPV_frame_end().
#define EXT_START_CODE 0x000001b5 |
Definition at line 86 of file mpegvideo.h.
#define FRAME_SKIPPED 100 |
return value for header parsers if frame is not coded
Definition at line 36 of file mpegvideo.h.
Referenced by decode_vop_header(), ff_h263_decode_frame(), ff_mpeg4_decode_picture_header(), and rv20_decode_picture_header().
#define GOP_START_CODE 0x000001b8 |
Definition at line 82 of file mpegvideo.h.
Referenced by mpeg1_encode_sequence_header(), and mpeg_decode_frame().
#define HAS_CBP | ( | a | ) | ((a)&MB_TYPE_CBP) |
Definition at line 137 of file mpegvideo.h.
Referenced by ff_h261_encode_mb(), ff_h263_decode_mb(), h261_decode_mb(), and mpeg_decode_mb().
#define I_TYPE FF_I_TYPE |
Intra.
Definition at line 68 of file mpegvideo.h.
Referenced by av_get_pict_type_char(), decode_cabac_mb_type(), decode_frame(), decode_mb_cabac(), decode_mb_cavlc(), decode_nal_units(), decode_ref_pic_list_reordering(), decode_slice(), decode_slice_header(), decode_vop_header(), direct_ref_list_init(), encode_frame(), encode_picture(), encode_thread(), estimate_best_b_count(), ff_h263_decode_frame(), ff_mjpeg_decode_sof(), ff_mpeg4_decode_partitions(), ff_mpeg4_get_video_packet_prefix_length(), ff_rate_control_init(), ff_rate_estimate_qscale(), ff_wmv2_decode_picture_header(), ff_wmv2_decode_secondary_picture_header(), ff_wmv2_encode_mb(), ff_wmv2_encode_picture_header(), flv_h263_decode_picture_header(), get_diff_limited_q(), get_qminmax(), get_qscale(), h261_decode_frame(), h263_decode_block(), h263_decode_picture_header(), init_pass2(), intel_h263_decode_picture_header(), is_intra_more_likely(), mpeg1_decode_picture(), mpeg1_encode_mb_internal(), mpeg4_decode_partition_a(), mpeg4_decode_partition_b(), mpeg4_decode_video_packet_header(), mpeg_decode_frame(), mpeg_decode_mb(), mpeg_decode_slice(), MPV_decode_mb_internal(), msmpeg4_decode_picture_header(), ratecontrol_1pass(), rv10_decode_picture_header(), rv20_decode_picture_header(), rv34_decode_slice(), select_input_picture(), sp5x_decode_frame(), svq1_decode_frame(), svq1_decode_frame_header(), svq1_encode_frame(), svq1_encode_plane(), svq1_write_header(), svq3_decode_frame(), svq3_decode_mb(), vc1_decode_blocks(), vc1_decode_frame(), vc1_parse_frame_header(), and vc1_parse_frame_header_adv().
#define INPLACE_OFFSET 16 |
Definition at line 77 of file mpegvideo.h.
Referenced by estimate_best_b_count(), load_input_picture(), and select_input_picture().
#define IS_16X16 | ( | a | ) | ((a)&MB_TYPE_16x16) |
Definition at line 125 of file mpegvideo.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), ff_h261_encode_mb(), ff_print_debug_info(), h261_decode_mb(), hl_decode_mb_internal(), hl_motion(), and pred_direct_motion().
#define IS_16X8 | ( | a | ) | ((a)&MB_TYPE_16x8) |
Definition at line 126 of file mpegvideo.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), ff_print_debug_info(), and hl_motion().
#define IS_8X16 | ( | a | ) | ((a)&MB_TYPE_8x16) |
Definition at line 127 of file mpegvideo.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), ff_print_debug_info(), and hl_motion().
#define IS_8X8 | ( | a | ) | ((a)&MB_TYPE_8x8) |
Definition at line 128 of file mpegvideo.h.
Referenced by check_input_motion(), direct_search(), ff_er_frame_end(), ff_mpeg4_set_direct_mv(), ff_print_debug_info(), fill_caches(), hl_motion(), mpeg4_decode_partitioned_mb(), pred_direct_motion(), and write_back_motion().
#define IS_ACPRED | ( | a | ) | ((a)&MB_TYPE_ACPRED) |
Definition at line 133 of file mpegvideo.h.
Referenced by ff_print_debug_info(), and mpeg4_decode_partitioned_mb().
#define IS_DIR | ( | a, | |||
part, | |||||
list | ) | ((a) & (MB_TYPE_P0L0<<((part)+2*(list)))) |
Definition at line 135 of file mpegvideo.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), and hl_motion().
#define IS_DIRECT | ( | a | ) | ((a)&MB_TYPE_DIRECT2) |
Definition at line 123 of file mpegvideo.h.
Referenced by decode_cabac_mb_type(), decode_mb_cabac(), decode_mb_cavlc(), ff_h263_decode_mb(), ff_mpeg4_decode_mb(), ff_print_debug_info(), fill_caches(), get_dct8x8_allowed(), pred_direct_motion(), and write_back_motion().
#define IS_GMC | ( | a | ) | ((a)&MB_TYPE_GMC) |
#define IS_INTER | ( | a | ) | ((a)&(MB_TYPE_16x16|MB_TYPE_16x8|MB_TYPE_8x16|MB_TYPE_8x8)) |
Definition at line 119 of file mpegvideo.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), ff_er_frame_end(), fill_caches(), guess_dc(), hl_motion(), and svq3_decode_mb().
#define IS_INTERLACED | ( | a | ) | ((a)&MB_TYPE_INTERLACED) |
Definition at line 122 of file mpegvideo.h.
Referenced by check_input_motion(), compute_mb_neighbors(), decode_cabac_field_decoding_flag(), decode_cabac_mb_skip(), decode_mb_cabac(), decode_mb_cavlc(), fetch_diagonal_mv(), ff_mpeg4_set_direct_mv(), ff_print_debug_info(), fill_caches(), filter_mb(), pred_direct_motion(), and predict_field_decoding_flag().
#define IS_INTRA | ( | a | ) | ((a)&7) |
Definition at line 118 of file mpegvideo.h.
Referenced by check_input_motion(), decode_mb_cabac(), decode_mb_cavlc(), ff_er_frame_end(), ff_h263_decode_mb(), ff_print_debug_info(), fill_caches(), filter_mb(), filter_mb_fast(), guess_dc(), guess_mv(), h_block_filter(), hl_decode_mb_internal(), is_intra_more_likely(), mpeg4_decode_partition_b(), mpeg4_decode_partitioned_mb(), mpeg_decode_mb(), MPV_motion(), pred_direct_motion(), rv34_decode_macroblock(), rv34_decode_mb_header(), svq3_decode_mb(), and v_block_filter().
#define IS_INTRA16x16 | ( | a | ) | ((a)&MB_TYPE_INTRA16x16) |
Definition at line 116 of file mpegvideo.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), ff_print_debug_info(), hl_decode_mb_internal(), rv34_decode_mb_header(), and svq3_decode_mb().
#define IS_INTRA4x4 | ( | a | ) | ((a)&MB_TYPE_INTRA4x4) |
Definition at line 115 of file mpegvideo.h.
Referenced by decode_cabac_intra_mb_type(), decode_mb_cabac(), decode_mb_cavlc(), ff_print_debug_info(), fill_caches(), h261_decode_mb(), hl_decode_mb_internal(), and svq3_decode_mb().
#define IS_INTRA_PCM | ( | a | ) | ((a)&MB_TYPE_INTRA_PCM) |
Definition at line 121 of file mpegvideo.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), hl_decode_mb(), and hl_decode_mb_internal().
#define IS_PCM | ( | a | ) | ((a)&MB_TYPE_INTRA_PCM) |
#define IS_QUANT | ( | a | ) | ((a)&MB_TYPE_QUANT) |
Definition at line 134 of file mpegvideo.h.
Referenced by ff_h261_encode_mb(), ff_h263_decode_mb(), h261_decode_mb(), and mpeg_decode_mb().
#define IS_SKIP | ( | a | ) | ((a)&MB_TYPE_SKIP) |
Definition at line 120 of file mpegvideo.h.
Referenced by decode_cabac_mb_skip(), ff_h263_loop_filter(), ff_mpeg4_decode_mb(), ff_print_debug_info(), ff_wmv2_decode_mb(), fill_caches(), mpeg4_decode_partition_b(), mpeg4_decode_partitioned_mb(), svq3_decode_mb(), and write_back_motion().
#define IS_SUB_4X4 | ( | a | ) | ((a)&MB_TYPE_8x8) |
#define IS_SUB_4X8 | ( | a | ) | ((a)&MB_TYPE_8x16) |
Definition at line 131 of file mpegvideo.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), and hl_motion().
#define IS_SUB_8X4 | ( | a | ) | ((a)&MB_TYPE_16x8) |
Definition at line 130 of file mpegvideo.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), and hl_motion().
#define IS_SUB_8X8 | ( | a | ) | ((a)&MB_TYPE_16x16) |
Definition at line 129 of file mpegvideo.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), get_dct8x8_allowed(), hl_motion(), and pred_direct_motion().
#define MAX_FCODE 7 |
#define MAX_LEVEL 64 |
Definition at line 66 of file mpegvideo.h.
Referenced by ff_msmpeg4_decode_block(), ff_msmpeg4_encode_block(), init_2d_vlc_rl(), init_rl(), init_vlc_rl(), mpeg4_decode_block(), and MPV_common_init().
#define MAX_MB_BYTES (30*16*16*3/8 + 120) |
#define MAX_MV 2048 |
Definition at line 54 of file mpegvideo.h.
Referenced by check_bidir_mv(), direct_search(), encode_q_branch(), ff_estimate_b_frame_motion(), ff_estimate_motion_b(), ff_estimate_p_frame_motion(), ff_get_best_fcode(), ff_mpeg1_encode_init(), ff_pre_estimate_p_frame_motion(), and MPV_encode_defaults().
#define MAX_PICTURE_COUNT 32 |
Definition at line 58 of file mpegvideo.h.
Referenced by decode_seq_parameter_set(), ff_find_unused_picture(), ff_mpeg_flush(), load_input_picture(), MPV_common_end(), MPV_common_init(), MPV_frame_end(), MPV_frame_start(), and select_input_picture().
#define MAX_RUN 64 |
Definition at line 65 of file mpegvideo.h.
Referenced by ff_msmpeg4_decode_block(), ff_msmpeg4_encode_block(), init_rl(), mpeg4_decode_block(), and MPV_common_init().
#define MAX_THREADS 8 |
Definition at line 56 of file mpegvideo.h.
Referenced by dnxhd_encode_init(), and MPV_common_init().
#define MB_TYPE_INTRA MB_TYPE_INTRA4x4 |
Definition at line 114 of file mpegvideo.h.
Referenced by ff_h263_decode_mb(), ff_h263_update_motion_val(), ff_mpeg4_decode_mb(), h261_decode_mb(), mpeg4_decode_partition_a(), mpeg_decode_mb(), msmpeg4v34_decode_mb(), preview_obmc(), rv34_decode_mb_header(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), and vc1_decode_p_mb().
#define ME_MAP_MV_BITS 11 |
Definition at line 62 of file mpegvideo.h.
Referenced by hpel_motion_search(), qpel_motion_search(), sab_diamond_search(), small_diamond_search(), and update_map_generation().
#define ME_MAP_SHIFT 3 |
Definition at line 61 of file mpegvideo.h.
Referenced by cmp(), ff_init_me(), hpel_motion_search(), qpel_motion_search(), sad_hpel_motion_search(), and small_diamond_search().
#define ME_MAP_SIZE 64 |
Definition at line 60 of file mpegvideo.h.
Referenced by cmp(), encode_init(), ff_init_me(), hpel_motion_search(), init_duplicate_context(), qpel_motion_search(), sab_diamond_search(), sad_hpel_motion_search(), small_diamond_search(), svq1_encode_init(), and update_map_generation().
#define MPEG_BUF_SIZE (16 * 1024) |
Definition at line 48 of file mpegvideo.h.
#define MV_DIR_BACKWARD 2 |
Definition at line 373 of file mpegvideo.h.
Referenced by encode_mb_internal(), encode_thread(), ff_er_frame_end(), ff_h263_decode_mb(), ff_mpeg4_decode_mb(), mpeg1_encode_mb_internal(), and MPV_decode_mb_internal().
#define MV_DIR_FORWARD 1 |
Definition at line 372 of file mpegvideo.h.
Referenced by decode_slice(), encode_mb_internal(), encode_thread(), ff_er_frame_end(), ff_h263_decode_mb(), ff_mpeg4_decode_mb(), ff_wmv2_decode_mb(), guess_mv(), h261_decode_mb(), h261_decode_mb_skipped(), mpeg1_encode_mb_internal(), mpeg4_decode_partitioned_mb(), mpeg_decode_mb(), mpeg_decode_slice(), MPV_decode_mb_internal(), msmpeg4v12_decode_mb(), msmpeg4v34_decode_mb(), and rv10_decode_packet().
#define MV_DIRECT 4 |
bidirectional mode where the difference equals the MV of the last P/S/I-Frame (mpeg4)
Definition at line 374 of file mpegvideo.h.
Referenced by encode_mb_internal(), encode_thread(), ff_h263_decode_mb(), and ff_mpeg4_decode_mb().
#define MV_END 64 |
Definition at line 498 of file mpegvideo.h.
Referenced by decode_slice(), ff_er_add_slice(), ff_er_frame_end(), ff_er_frame_start(), ff_intrax8_decode_picture(), ff_mpeg4_decode_partitions(), mpeg_decode_frame(), rv10_decode_packet(), rv34_decode_slice(), slice_decode_thread(), vc1_decode_b_blocks(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_p_blocks(), and vc1_decode_skip_blocks().
#define MV_ERROR 8 |
Definition at line 495 of file mpegvideo.h.
Referenced by decode_slice(), ff_er_add_slice(), ff_er_frame_end(), ff_er_frame_start(), ff_h263_decode_frame(), ff_mpeg4_decode_partitions(), guess_mv(), h_block_filter(), is_intra_more_likely(), mpeg_decode_frame(), rv34_decode_slice(), slice_decode_thread(), and v_block_filter().
#define MV_TYPE_16X16 0 |
1 vector for the whole mb
Definition at line 376 of file mpegvideo.h.
Referenced by decode_slice(), direct_search(), encode_thread(), ff_er_frame_end(), ff_h263_decode_mb(), ff_h263_update_motion_val(), ff_mpeg4_decode_mb(), ff_mpeg4_set_direct_mv(), ff_wmv2_decode_mb(), guess_mv(), h261_decode_mb(), h261_decode_mb_skipped(), mpeg1_encode_mb_internal(), mpeg4_decode_partitioned_mb(), mpeg_decode_mb(), mpeg_decode_slice(), MPV_motion(), MPV_motion_lowres(), msmpeg4v12_decode_mb(), msmpeg4v34_decode_mb(), and rv10_decode_packet().
#define MV_TYPE_16X8 2 |
2 vectors, one per 16x8 block
Definition at line 378 of file mpegvideo.h.
Referenced by mpeg_decode_mb(), MPV_motion(), and MPV_motion_lowres().
#define MV_TYPE_8X8 1 |
4 vectors (h263, mpeg4 4MV)
Definition at line 377 of file mpegvideo.h.
Referenced by cmp(), direct_search(), encode_mb_internal(), encode_thread(), ff_er_frame_end(), ff_h263_decode_mb(), ff_h263_update_motion_val(), ff_mpeg4_decode_mb(), ff_mpeg4_set_direct_mv(), mpeg4_decode_partitioned_mb(), MPV_motion(), and MPV_motion_lowres().
#define MV_TYPE_DMV 4 |
2 vectors, special mpeg2 Dual Prime Vectors
Definition at line 380 of file mpegvideo.h.
Referenced by mpeg_decode_mb(), MPV_motion(), and MPV_motion_lowres().
#define MV_TYPE_FIELD 3 |
2 vectors, one per field
Definition at line 379 of file mpegvideo.h.
Referenced by encode_thread(), ff_mpeg4_decode_mb(), ff_mpeg4_set_direct_mv(), mpeg1_encode_mb_internal(), mpeg_decode_mb(), mpeg_decode_slice(), MPV_motion(), and MPV_motion_lowres().
#define P_TYPE FF_P_TYPE |
Predicted.
Definition at line 69 of file mpegvideo.h.
Referenced by av_get_pict_type_char(), decode_cabac_mb_type(), decode_frame(), decode_mb_cabac(), decode_mb_cavlc(), decode_slice_header(), decode_vop_header(), encode_frame(), encode_picture(), estimate_best_b_count(), ff_fix_long_p_mvs(), ff_h263_decode_mb(), ff_mpeg4_decode_mb(), ff_mpeg4_decode_partitions(), ff_mpeg4_get_video_packet_prefix_length(), ff_rate_control_init(), ff_rate_estimate_qscale(), ff_wmv2_decode_mb(), flv_h263_decode_picture_header(), get_diff_limited_q(), get_qscale(), h261_decode_picture_header(), h263_decode_picture_header(), init_pass2(), modify_qscale(), mpeg1_decode_picture(), mpeg1_encode_mb_internal(), mpeg1_encode_picture_header(), mpeg4_decode_partitioned_mb(), mpeg_decode_frame(), mpeg_decode_mb(), mpeg_decode_slice(), MPV_encode_picture(), msmpeg4_decode_picture_header(), msmpeg4v12_decode_mb(), msmpeg4v34_decode_mb(), preview_obmc(), rv10_decode_picture_header(), rv20_decode_picture_header(), rv34_decode_mb_header(), rv34_decode_mv(), rv40_decode_mb_info(), select_input_picture(), svq1_encode_frame(), svq1_encode_plane(), svq3_decode_frame(), svq3_decode_mb(), vc1_decode_blocks(), vc1_decode_skip_blocks(), vc1_mc_1mv(), vc1_parse_frame_header(), and vc1_parse_frame_header_adv().
#define PICT_BOTTOM_FIELD 2 |
Definition at line 627 of file mpegvideo.h.
Referenced by decode_slice_header(), fill_mbaff_ref_list(), filter_mb_fast(), init_poc(), mpeg_field_start(), and pic_as_field().
#define PICT_FRAME 3 |
Definition at line 628 of file mpegvideo.h.
Referenced by decode_mb_cabac(), decode_mb_cavlc(), decode_slice_header(), execute_ref_pic_marking(), ff_draw_horiz_band(), ff_init_block_index(), fill_default_ref_list(), init_poc(), mpeg1_decode_sequence(), mpeg1_encode_picture_header(), mpeg_decode_frame(), mpeg_decode_mb(), mpeg_decode_picture_coding_extension(), mpeg_decode_picture_display_extension(), mpeg_decode_slice(), mpeg_field_start(), MPV_common_defaults(), MPV_motion(), MPV_motion_lowres(), pic_num_extract(), split_field_half_ref_list(), and vcr2_init_sequence().
#define PICT_TOP_FIELD 1 |
Definition at line 626 of file mpegvideo.h.
Referenced by decode_slice_header(), fill_mbaff_ref_list(), init_poc(), and mpeg_decode_mb().
#define PICTURE_START_CODE 0x00000100 |
Definition at line 83 of file mpegvideo.h.
Referenced by mpeg1_encode_picture_header(), mpeg_decode_frame(), mpegvideo_extract_headers(), and mpegvideo_probe().
#define PREV_PICT_TYPES_BUFFER_SIZE 256 |
#define QMAT_SHIFT 22 |
Definition at line 51 of file mpegvideo.h.
Referenced by dct_quantize_altivec(), dct_quantize_c(), dct_quantize_trellis_c(), and ff_convert_matrix().
#define QMAT_SHIFT_MMX 16 |
#define QUANT_BIAS_SHIFT 8 |
Definition at line 434 of file mpegvideo.h.
Referenced by dct_quantize_altivec(), dct_quantize_c(), ff_convert_matrix(), and MPV_encode_init().
#define S_TYPE FF_S_TYPE |
S(GMC)-VOP MPEG4.
Definition at line 71 of file mpegvideo.h.
Referenced by av_get_pict_type_char(), decode_vop_header(), encode_picture(), ff_mpeg4_decode_mb(), ff_mpeg4_get_video_packet_prefix_length(), mpeg4_decode_partition_a(), mpeg4_decode_partitioned_mb(), and mpeg4_decode_video_packet_header().
#define SEQ_END_CODE 0x000001b7 |
Definition at line 80 of file mpegvideo.h.
Referenced by ff_mpeg1_find_frame_end(), and mpeg_decode_frame().
#define SEQ_START_CODE 0x000001b3 |
Definition at line 81 of file mpegvideo.h.
Referenced by mpeg1_encode_sequence_header(), mpeg_decode_frame(), mpegvideo_extract_headers(), and mpegvideo_probe().
#define SI_TYPE FF_SI_TYPE |
Switching Intra.
Definition at line 72 of file mpegvideo.h.
Referenced by av_get_pict_type_char(), decode_mb_cabac(), decode_mb_cavlc(), decode_ref_pic_list_reordering(), and decode_slice_header().
#define SLICE_END -2 |
end marker found
Definition at line 664 of file mpegvideo.h.
Referenced by decode_slice(), ff_h263_decode_mb(), ff_mpeg4_decode_mb(), h261_decode_gob(), h261_decode_mb(), mpeg4_decode_partitioned_mb(), and rv10_decode_packet().
#define SLICE_ERROR -1 |
Definition at line 663 of file mpegvideo.h.
Referenced by h261_decode_mb(), and rv10_decode_packet().
#define SLICE_MAX_START_CODE 0x000001af |
Definition at line 85 of file mpegvideo.h.
#define SLICE_MIN_START_CODE 0x00000101 |
Definition at line 84 of file mpegvideo.h.
#define SLICE_NOEND -3 |
no end marker or error found but mb count exceeded
Definition at line 665 of file mpegvideo.h.
Referenced by decode_slice(), and mpeg4_decode_partitioned_mb().
#define SLICE_OK 0 |
Definition at line 662 of file mpegvideo.h.
Referenced by ff_h263_decode_mb(), ff_mpeg4_decode_mb(), h261_decode_mb(), and mpeg4_decode_partitioned_mb().
#define SP_TYPE FF_SP_TYPE |
Switching Predicted.
Definition at line 73 of file mpegvideo.h.
Referenced by av_get_pict_type_char(), decode_mb_cavlc(), and decode_slice_header().
Definition at line 446 of file mpegvideo.h.
Referenced by bit8x8_c(), dct_quantize_refine(), dct_quantize_trellis_c(), init_uni_ac_vlc(), and rd8x8_c().
#define USER_START_CODE 0x000001b2 |
Definition at line 87 of file mpegvideo.h.
#define USES_LIST | ( | a, | |||
list | ) | ((a) & ((MB_TYPE_P0L0|MB_TYPE_P1L0)<<(2*(list)))) |
does this mb use listX, note does not work if subMBs
Definition at line 136 of file mpegvideo.h.
Referenced by check_input_motion(), ff_h263_decode_mb(), ff_mpeg4_decode_mb(), ff_print_debug_info(), fill_caches(), hl_decode_mb_internal(), mpeg_decode_mb(), and write_back_motion().
#define VP_START 1 |
current MB is the first after a resync marker
Definition at line 492 of file mpegvideo.h.
Referenced by ff_er_add_slice(), ff_er_frame_end(), and ff_er_frame_start().
enum OutputFormat |
Definition at line 38 of file mpegvideo.h.
void ff_clean_h263_qscales | ( | MpegEncContext * | s | ) |
Referenced by estimate_qp().
void ff_clean_intra_table_entries | ( | MpegEncContext * | s | ) |
cleans dc, ac, coded_block for the current non intra MB
Definition at line 1818 of file mpegvideo.c.
Referenced by encode_thread(), mpeg4_decode_partition_a(), and MPV_decode_mb_internal().
void ff_clean_mpeg4_qscales | ( | MpegEncContext * | s | ) |
Referenced by estimate_qp().
void ff_convert_matrix | ( | DSPContext * | dsp, | |
int(*) | qmat[64], | |||
uint16_t(*) | qmat16[2][64], | |||
const uint16_t * | quant_matrix, | |||
int | bias, | |||
int | qmin, | |||
int | qmax, | |||
int | intra | |||
) |
Definition at line 67 of file mpegvideo_enc.c.
Referenced by dnxhd_init_qmat(), encode_picture(), and MPV_encode_init().
int ff_dct_common_init | ( | MpegEncContext * | s | ) |
Definition at line 133 of file mpegvideo.c.
Referenced by dnxhd_encode_init(), and MPV_common_init().
void ff_denoise_dct | ( | MpegEncContext * | s, | |
DCTELEM * | block | |||
) |
void ff_draw_horiz_band | ( | MpegEncContext * | s, | |
int | y, | |||
int | h | |||
) |
h | is the normal height, this will be reduced automatically if needed for the last row |
Definition at line 2108 of file mpegvideo.c.
Referenced by decode_slice(), ff_intrax8_decode_picture(), mpeg_decode_slice(), svq3_decode_frame(), vc1_decode_b_blocks(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_p_blocks(), and vc1_decode_skip_blocks().
void ff_emulated_edge_mc | ( | uint8_t * | buf, | |
uint8_t * | src, | |||
int | linesize, | |||
int | block_w, | |||
int | block_h, | |||
int | src_x, | |||
int | src_y, | |||
int | w, | |||
int | h | |||
) |
Copies a rectangular area of samples to a temporary buffer and replicates the boarder samples.
buf | destination buffer | |
src | source buffer | |
linesize | number of bytes between 2 vertically adjacent samples in both the source and destination buffers | |
block_w | width of block | |
block_h | height of block | |
src_x | x coordinate of the top left sample of the block in the source buffer | |
src_y | y coordinate of the top left sample of the block in the source buffer | |
w | width of the source buffer | |
h | height of the source buffer |
Definition at line 1414 of file mpegvideo.c.
Referenced by chroma_4mv_motion(), chroma_4mv_motion_lowres(), encode_mb_internal(), ff_mspel_motion(), gmc1_motion(), gmc_mmx(), hpel_motion(), hpel_motion_lowres(), mc_dir_part(), mca(), mpeg_motion(), mpeg_motion_lowres(), MPV_motion(), qpel_motion(), render_slice(), rv34_mc(), svq3_mc_dir_part(), vc1_interp_mc(), vc1_mc_1mv(), vc1_mc_4mv_chroma(), vc1_mc_4mv_luma(), and vp56_mc().
int ff_epzs_motion_search | ( | MpegEncContext * | s, | |
int * | mx_ptr, | |||
int * | my_ptr, | |||
int | P[10][2], | |||
int | src_index, | |||
int | ref_index, | |||
int16_t(*) | last_mv[2], | |||
int | ref_mv_scale, | |||
int | size, | |||
int | h | |||
) | [inline] |
Definition at line 1116 of file motion_est_template.c.
Referenced by direct_search(), encode_q_branch(), ff_estimate_motion_b(), ff_estimate_p_frame_motion(), and ff_pre_estimate_p_frame_motion().
void ff_er_add_slice | ( | MpegEncContext * | s, | |
int | startx, | |||
int | starty, | |||
int | endx, | |||
int | endy, | |||
int | status | |||
) |
adds a slice.
endx | x component of the last macroblock, can be -1 for the last of the previous line | |
status | the status at the end (MV_END, AC_ERROR, ...), it is assumed that no earlier end or error of the same type occured |
Definition at line 618 of file error_resilience.c.
Referenced by decode_slice(), ff_intrax8_decode_picture(), ff_mpeg4_decode_partitions(), mpeg_decode_frame(), rv10_decode_packet(), rv34_decode_slice(), slice_decode_thread(), vc1_decode_b_blocks(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_p_blocks(), and vc1_decode_skip_blocks().
void ff_er_frame_end | ( | MpegEncContext * | s | ) |
Definition at line 674 of file error_resilience.c.
Referenced by decode_frame(), ff_h263_decode_frame(), ff_rv34_decode_frame(), rv10_decode_frame(), rv10_decode_packet(), slice_end(), and vc1_decode_frame().
void ff_er_frame_start | ( | MpegEncContext * | s | ) |
Definition at line 605 of file error_resilience.c.
Referenced by ff_h263_decode_frame(), frame_start(), h261_decode_frame(), mpeg_field_start(), rv10_decode_packet(), rv34_decode_slice(), and vc1_decode_frame().
void ff_estimate_b_frame_motion | ( | MpegEncContext * | s, | |
int | mb_x, | |||
int | mb_y | |||
) |
void ff_estimate_p_frame_motion | ( | MpegEncContext * | s, | |
int | mb_x, | |||
int | mb_y | |||
) |
< the variance of the block (sum of squared (p[y][x]-average))
< sum of squared differences with the estimated motion vector
Definition at line 1161 of file motion_est.c.
Referenced by estimate_motion_thread(), and svq1_encode_plane().
int ff_find_unused_picture | ( | MpegEncContext * | s, | |
int | shared | |||
) |
Definition at line 827 of file mpegvideo.c.
Referenced by ff_h263_decode_frame(), h261_decode_frame(), load_input_picture(), MPV_frame_start(), select_input_picture(), and vc1_decode_frame().
void ff_fix_long_mvs | ( | MpegEncContext * | s, | |
uint8_t * | field_select_table, | |||
int | field_select, | |||
int16_t(*) | mv_table[2], | |||
int | f_code, | |||
int | type, | |||
int | truncate | |||
) |
truncate | 1 for truncation, 0 for using intra |
Definition at line 2107 of file motion_est.c.
Referenced by encode_picture(), and svq1_encode_plane().
void ff_fix_long_p_mvs | ( | MpegEncContext * | s | ) |
Definition at line 2056 of file motion_est.c.
Referenced by encode_picture(), and svq1_encode_plane().
void ff_flv_encode_picture_header | ( | MpegEncContext * | s, | |
int | picture_number | |||
) |
Referenced by encode_picture().
int ff_get_best_fcode | ( | MpegEncContext * | s, | |
int16_t(*) | mv_table[2], | |||
int | type | |||
) |
int ff_get_mb_score | ( | MpegEncContext * | s, | |
int | mx, | |||
int | my, | |||
int | src_index, | |||
int | ref_index, | |||
int | size, | |||
int | h, | |||
int | add_rate | |||
) | [inline] |
Definition at line 235 of file motion_est_template.c.
Referenced by direct_search(), encode_q_branch(), ff_estimate_motion_b(), and ff_estimate_p_frame_motion().
void ff_h261_encode_init | ( | MpegEncContext * | s | ) |
void ff_h261_encode_mb | ( | MpegEncContext * | s, | |
DCTELEM | block[6][64], | |||
int | motion_x, | |||
int | motion_y | |||
) |
void ff_h261_encode_picture_header | ( | MpegEncContext * | s, | |
int | picture_number | |||
) |
int ff_h261_get_picture_format | ( | int | width, | |
int | height | |||
) |
Definition at line 39 of file h261enc.c.
Referenced by ff_h261_encode_picture_header(), ff_h261_reorder_mb_index(), h261_encode_gob_header(), and MPV_encode_init().
void ff_h261_loop_filter | ( | MpegEncContext * | s | ) |
void ff_h261_reorder_mb_index | ( | MpegEncContext * | s | ) |
int ff_h263_decode_end | ( | AVCodecContext * | avctx | ) |
int ff_h263_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
const uint8_t * | buf, | |||
int | buf_size | |||
) |
int ff_h263_decode_gob_header | ( | MpegEncContext * | s | ) |
int ff_h263_decode_init | ( | AVCodecContext * | avctx | ) |
int ff_h263_decode_mb | ( | MpegEncContext * | s, | |
DCTELEM | block[6][64] | |||
) |
Definition at line 3886 of file h263.c.
Referenced by ff_h263_decode_init(), and rv10_decode_packet().
int ff_h263_decode_mba | ( | MpegEncContext * | s | ) |
Definition at line 2965 of file h263.c.
Referenced by h263_decode_gob_header(), h263_decode_picture_header(), and rv20_decode_picture_header().
void ff_h263_encode_mba | ( | MpegEncContext * | s | ) |
void ff_h263_encode_motion | ( | MpegEncContext * | s, | |
int | val, | |||
int | f_code | |||
) |
Referenced by svq1_encode_plane().
int ff_h263_get_gob_height | ( | MpegEncContext * | s | ) |
Get the GOB height based on picture height.
Definition at line 2956 of file h263.c.
Referenced by encode_thread(), and ff_h263_decode_frame().
void ff_h263_loop_filter | ( | MpegEncContext * | s | ) |
Definition at line 1465 of file h263.c.
Referenced by decode_slice(), encode_thread(), and rv10_decode_packet().
int ff_h263_resync | ( | MpegEncContext * | s | ) |
decodes the group of blocks / video packet header.
Definition at line 3300 of file h263.c.
Referenced by ff_h263_decode_frame().
static int ff_h263_round_chroma | ( | int | x | ) | [inline, static] |
Definition at line 755 of file mpegvideo.h.
Referenced by chroma_4mv_motion(), chroma_4mv_motion_lowres(), and h263_mv4_search().
void ff_h263_update_motion_val | ( | MpegEncContext * | s | ) |
Definition at line 687 of file h263.c.
Referenced by decode_slice(), encode_thread(), and rv10_decode_packet().
void ff_init_block_index | ( | MpegEncContext * | s | ) |
Definition at line 2147 of file mpegvideo.c.
Referenced by decode_slice(), encode_thread(), estimate_motion_thread(), ff_h261_reorder_mb_index(), h261_decode_mb(), h261_decode_mb_skipped(), mpeg4_decode_partition_a(), mpeg4_decode_partition_b(), mpeg_decode_slice(), rv10_decode_packet(), rv34_decode_slice(), svq1_encode_plane(), vc1_decode_b_blocks(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_p_blocks(), and vc1_decode_skip_blocks().
void ff_init_me | ( | MpegEncContext * | s | ) |
Definition at line 234 of file motion_est.c.
Referenced by encode_frame(), encode_picture(), and svq1_encode_plane().
Definition at line 78 of file mpegvideo.c.
Referenced by common_init(), decode_init(), decode_pic(), decode_vop_header(), dnxhd_init_vlc(), ff_dct_common_init(), ff_intrax8_common_init(), ff_mjpeg_decode_init(), ff_wmv2_common_init(), mpeg_decode_picture_coding_extension(), vp3_decode_init(), and vp56_init().
void ff_mpeg1_clean_buffers | ( | MpegEncContext * | s | ) |
void ff_mpeg1_encode_init | ( | MpegEncContext * | s | ) |
void ff_mpeg1_encode_slice_header | ( | MpegEncContext * | s | ) |
Definition at line 329 of file mpeg12enc.c.
Referenced by encode_thread(), and mpeg1_encode_picture_header().
int ff_mpeg1_find_frame_end | ( | ParseContext * | pc, | |
const uint8_t * | buf, | |||
int | buf_size | |||
) |
finds the end of the current frame in the bitstream.
Definition at line 2180 of file mpeg12.c.
Referenced by mpeg_decode_frame(), and mpegvideo_parse().
void ff_mpeg4_clean_buffers | ( | MpegEncContext * | s | ) |
int ff_mpeg4_decode_mb | ( | MpegEncContext * | s, | |
DCTELEM | block[6][64] | |||
) |
Definition at line 4152 of file h263.c.
Referenced by decode_vop_header(), and ff_h263_decode_init().
int ff_mpeg4_decode_partitions | ( | MpegEncContext * | s | ) |
decodes the first & second partition
Definition at line 3642 of file h263.c.
Referenced by decode_slice().
int ff_mpeg4_decode_picture_header | ( | MpegEncContext * | s, | |
GetBitContext * | gb | |||
) |
decode mpeg4 headers
Definition at line 5997 of file h263.c.
Referenced by av_mpeg4_decode_header(), and ff_h263_decode_frame().
void ff_mpeg4_encode_video_packet_header | ( | MpegEncContext * | s | ) |
Referenced by encode_thread().
int ff_mpeg4_get_video_packet_prefix_length | ( | MpegEncContext * | s | ) |
Definition at line 3095 of file h263.c.
Referenced by mpeg4_decode_video_packet_header(), and mpeg4_is_resync().
void ff_mpeg4_init_direct_mv | ( | MpegEncContext * | s | ) |
Definition at line 593 of file h263.c.
Referenced by decode_vop_header(), and rv20_decode_picture_header().
void ff_mpeg4_init_partitions | ( | MpegEncContext * | s | ) |
Referenced by encode_thread().
void ff_mpeg4_merge_partitions | ( | MpegEncContext * | s | ) |
Referenced by write_slice_end().
int ff_mpeg4_set_direct_mv | ( | MpegEncContext * | s, | |
int | mx, | |||
int | my | |||
) |
Definition at line 636 of file h263.c.
Referenced by encode_thread(), ff_h263_decode_mb(), and ff_mpeg4_decode_mb().
void ff_mpeg4_stuffing | ( | PutBitContext * | pbc | ) |
Referenced by write_slice_end().
void ff_mpeg_flush | ( | AVCodecContext * | avctx | ) |
int ff_msmpeg4_decode_init | ( | MpegEncContext * | s | ) |
void ff_msmpeg4_encode_init | ( | MpegEncContext * | s | ) |
Referenced by MPV_encode_init().
void ff_mspel_motion | ( | MpegEncContext * | s, | |
uint8_t * | dest_y, | |||
uint8_t * | dest_cb, | |||
uint8_t * | dest_cr, | |||
uint8_t ** | ref_picture, | |||
op_pixels_func(*) | pix_op[4], | |||
int | motion_x, | |||
int | motion_y, | |||
int | h | |||
) |
int ff_pre_estimate_p_frame_motion | ( | MpegEncContext * | s, | |
int | mb_x, | |||
int | mb_y | |||
) |
void ff_print_debug_info | ( | MpegEncContext * | s, | |
AVFrame * | pict | |||
) |
prints debuging info for the given picture.
Definition at line 1144 of file mpegvideo.c.
Referenced by decode_frame(), ff_h263_decode_frame(), ff_rv34_decode_frame(), h261_decode_frame(), rv10_decode_frame(), slice_end(), and vc1_decode_frame().
void ff_set_mpeg4_time | ( | MpegEncContext * | s | ) |
Referenced by encode_picture().
void ff_set_qscale | ( | MpegEncContext * | s, | |
int | qscale | |||
) |
set qscale and update qscale dependent variables.
Definition at line 2419 of file mpegvideo.c.
Referenced by decode_slice(), encode_mb_internal(), encode_thread(), ff_h261_encode_mb(), ff_mpeg4_decode_mb(), h261_decode_gob(), h261_decode_mb(), h263_decode_dquant(), mpeg4_decode_partition_a(), mpeg4_decode_partition_b(), mpeg4_decode_partitioned_mb(), and rv10_decode_packet().
static void ff_update_block_index | ( | MpegEncContext * | s | ) | [inline, static] |
Definition at line 732 of file mpegvideo.h.
Referenced by decode_slice(), encode_thread(), ff_h261_reorder_mb_index(), h261_decode_mb(), h261_decode_mb_skipped(), mpeg4_decode_partition_a(), mpeg4_decode_partition_b(), rv10_decode_packet(), rv34_decode_slice(), svq1_encode_plane(), vc1_decode_b_blocks(), vc1_decode_i_blocks(), vc1_decode_i_blocks_adv(), vc1_decode_p_blocks(), and vc1_decode_skip_blocks().
void ff_update_duplicate_context | ( | MpegEncContext * | dst, | |
MpegEncContext * | src | |||
) |
Definition at line 371 of file mpegvideo.c.
Referenced by encode_picture(), and mpeg_decode_frame().
void ff_wmv2_add_mb | ( | MpegEncContext * | s, | |
DCTELEM | block[6][64], | |||
uint8_t * | dest_y, | |||
uint8_t * | dest_cb, | |||
uint8_t * | dest_cr | |||
) |
int ff_wmv2_decode_picture_header | ( | MpegEncContext * | s | ) |
int ff_wmv2_decode_secondary_picture_header | ( | MpegEncContext * | s | ) |
void ff_wmv2_encode_mb | ( | MpegEncContext * | s, | |
DCTELEM | block[6][64], | |||
int | motion_x, | |||
int | motion_y | |||
) |
int ff_wmv2_encode_picture_header | ( | MpegEncContext * | s, | |
int | picture_number | |||
) |
void ff_write_quant_matrix | ( | PutBitContext * | pb, | |
uint16_t * | matrix | |||
) |
int flv_h263_decode_picture_header | ( | MpegEncContext * | s | ) |
static int get_bits_diff | ( | MpegEncContext * | s | ) | [inline, static] |
Definition at line 746 of file mpegvideo.h.
Referenced by mpeg1_encode_mb_internal(), and write_slice_end().
void h263_decode_init_vlc | ( | MpegEncContext * | s | ) |
Definition at line 2903 of file h263.c.
Referenced by ff_h263_decode_init(), and rv10_decode_init().
int h263_decode_picture_header | ( | MpegEncContext * | s | ) |
void h263_encode_gob_header | ( | MpegEncContext * | s, | |
int | mb_line | |||
) |
Referenced by encode_thread().
void h263_encode_init | ( | MpegEncContext * | s | ) |
Referenced by encode_init(), MPV_encode_init(), and svq1_encode_init().
void h263_encode_mb | ( | MpegEncContext * | s, | |
DCTELEM | block[6][64], | |||
int | motion_x, | |||
int | motion_y | |||
) |
Referenced by encode_mb_internal().
void h263_encode_picture_header | ( | MpegEncContext * | s, | |
int | picture_number | |||
) |
Referenced by encode_picture().
int h263_get_picture_format | ( | int | width, | |
int | height | |||
) |
int16_t* h263_pred_motion | ( | MpegEncContext * | s, | |
int | block, | |||
int | dir, | |||
int * | px, | |||
int * | py | |||
) |
Definition at line 1686 of file h263.c.
Referenced by ff_h263_decode_mb(), ff_mpeg4_decode_mb(), ff_wmv2_encode_mb(), mpeg4_decode_partition_a(), msmpeg4v12_decode_mb(), msmpeg4v34_decode_mb(), preview_obmc(), and svq1_encode_plane().
int intel_h263_decode_picture_header | ( | MpegEncContext * | s | ) |
void mpeg1_encode_mb | ( | MpegEncContext * | s, | |
DCTELEM | block[6][64], | |||
int | motion_x, | |||
int | motion_y | |||
) |
void mpeg1_encode_picture_header | ( | MpegEncContext * | s, | |
int | picture_number | |||
) |
void mpeg4_encode_mb | ( | MpegEncContext * | s, | |
DCTELEM | block[6][64], | |||
int | motion_x, | |||
int | motion_y | |||
) |
Referenced by encode_mb_internal().
void mpeg4_encode_picture_header | ( | MpegEncContext * | s, | |
int | picture_number | |||
) |
Referenced by encode_picture().
void mpeg4_pred_ac | ( | MpegEncContext * | s, | |
DCTELEM * | block, | |||
int | n, | |||
int | dir | |||
) |
predicts the ac.
n | block index (0-3 are luma, 4-5 are chroma) | |
dir | the ac prediction direction |
Definition at line 2600 of file h263.c.
Referenced by ff_msmpeg4_decode_block(), and mpeg4_decode_block().
void MPV_common_end | ( | MpegEncContext * | s | ) |
Definition at line 611 of file mpegvideo.c.
Referenced by decode_end(), decode_slice_header(), ff_h263_decode_end(), ff_h263_decode_frame(), ff_rv34_decode_end(), h261_decode_end(), h261_decode_frame(), mpeg_decode_end(), mpeg_decode_postinit(), MPV_common_init(), MPV_encode_end(), rv10_decode_end(), rv20_decode_picture_header(), rv34_decode_slice(), svq1_decode_end(), vc1_decode_end(), and vcr2_init_sequence().
int MPV_common_init | ( | MpegEncContext * | s | ) |
init common structure for both encoder and decoder.
this assumes that some variables like width/height are already set
Definition at line 419 of file mpegvideo.c.
Referenced by decode_pic(), decode_slice_header(), ff_h263_decode_frame(), ff_h263_decode_init(), ff_rv34_decode_init(), h261_decode_frame(), MPV_encode_init(), rv10_decode_init(), rv20_decode_picture_header(), rv34_decode_slice(), svq1_decode_init(), svq3_decode_frame(), and vcr2_init_sequence().
void MPV_common_init_altivec | ( | MpegEncContext * | s | ) |
void MPV_common_init_armv4l | ( | MpegEncContext * | s | ) |
void MPV_common_init_axp | ( | MpegEncContext * | s | ) |
void MPV_common_init_mlib | ( | MpegEncContext * | s | ) |
void MPV_common_init_mmi | ( | MpegEncContext * | s | ) |
void MPV_common_init_mmx | ( | MpegEncContext * | s | ) |
void MPV_decode_defaults | ( | MpegEncContext * | s | ) |
sets the given MpegEncContext to defaults for decoding.
the changed fields will not depend upon the prior state of the MpegEncContext.
Definition at line 411 of file mpegvideo.c.
Referenced by decode_init(), ff_cavs_init(), ff_h263_decode_init(), ff_rv34_decode_init(), h261_decode_init(), mpeg_decode_init(), rv10_decode_init(), and svq1_decode_init().
void MPV_decode_mb | ( | MpegEncContext * | s, | |
DCTELEM | block[12][64] | |||
) |
Definition at line 2099 of file mpegvideo.c.
Referenced by decode_mb(), decode_slice(), encode_mb_hq(), encode_thread(), h261_decode_mb(), h261_decode_mb_skipped(), mpeg_decode_slice(), and rv10_decode_packet().
int MPV_encode_end | ( | AVCodecContext * | avctx | ) |
Definition at line 729 of file mpegvideo_enc.c.
int MPV_encode_init | ( | AVCodecContext * | avctx | ) |
Definition at line 232 of file mpegvideo_enc.c.
Referenced by encode_init(), and wmv2_encode_init().
int MPV_encode_picture | ( | AVCodecContext * | avctx, | |
unsigned char * | buf, | |||
int | buf_size, | |||
void * | data | |||
) |
Definition at line 1194 of file mpegvideo_enc.c.
void MPV_frame_end | ( | MpegEncContext * | s | ) |
Definition at line 1009 of file mpegvideo.c.
Referenced by decode_frame(), ff_h263_decode_frame(), ff_rv34_decode_frame(), h261_decode_frame(), MPV_encode_picture(), rv10_decode_frame(), rv10_decode_packet(), slice_end(), svq1_decode_frame(), svq3_decode_frame(), and vc1_decode_frame().
int MPV_frame_start | ( | MpegEncContext * | s, | |
AVCodecContext * | avctx | |||
) |
generic function for encode/decode called after coding/decoding the header and before a frame is coded/decoded
Definition at line 879 of file mpegvideo.c.
Referenced by ff_h263_decode_frame(), frame_start(), h261_decode_frame(), mpeg_field_start(), MPV_encode_picture(), rv10_decode_packet(), rv34_decode_slice(), svq1_decode_frame(), and vc1_decode_frame().
int msmpeg4_decode_ext_header | ( | MpegEncContext * | s, | |
int | buf_size | |||
) |
Definition at line 1321 of file msmpeg4.c.
Referenced by ff_h263_decode_frame(), and msmpeg4_decode_picture_header().
int msmpeg4_decode_picture_header | ( | MpegEncContext * | s | ) |
void msmpeg4_encode_ext_header | ( | MpegEncContext * | s | ) |
Referenced by encode_thread().
void msmpeg4_encode_mb | ( | MpegEncContext * | s, | |
DCTELEM | block[6][64], | |||
int | motion_x, | |||
int | motion_y | |||
) |
Referenced by encode_mb_internal().
void msmpeg4_encode_picture_header | ( | MpegEncContext * | s, | |
int | picture_number | |||
) |
Referenced by encode_picture().
void rv10_encode_picture_header | ( | MpegEncContext * | s, | |
int | picture_number | |||
) |
Referenced by encode_picture().
void rv20_encode_picture_header | ( | MpegEncContext * | s, | |
int | picture_number | |||
) |
Referenced by encode_picture().
int rv_decode_dc | ( | MpegEncContext * | s, | |
int | n | |||
) |
void(* draw_edges)(uint8_t *buf, int wrap, int width, int height, int w) |
Referenced by frame_start(), MPV_common_init_mmx(), and MPV_frame_end().
const uint8_t ff_aic_dc_scale_table[32] |
Definition at line 282 of file h263data.h.
Referenced by h263_decode_picture_header(), and rv10_decode_packet().
const AVRational ff_frame_rate_tab[] |
Definition at line 308 of file mpeg12data.c.
Referenced by decode_seq_header(), find_frame_rate_index(), fps_tag2avr(), mpeg1_encode_sequence_header(), mpeg_decode_postinit(), and mpegvideo_extract_headers().
const uint8_t ff_h263_chroma_qscale_table[32] |
Definition at line 296 of file h263data.h.
Referenced by h263_decode_picture_header(), MPV_encode_init(), and rv10_decode_packet().
const uint8_t ff_h263_loop_filter_strength[32] |
Definition at line 309 of file h263data.h.
Referenced by h263_h_loop_filter_c(), h263_h_loop_filter_mmx(), h263_v_loop_filter_c(), and h263_v_loop_filter_mmx().
const uint8_t ff_mpeg1_dc_scale_table[128] |
Definition at line 328 of file mpeg12data.c.
Referenced by common_init(), ff_h261_encode_init(), flv_h263_decode_picture_header(), h263_decode_picture_header(), intel_h263_decode_picture_header(), MPV_common_defaults(), and rv10_decode_packet().
const uint16_t ff_mpeg1_default_intra_matrix[64] |
Definition at line 30 of file mpeg12data.c.
Referenced by decode_init(), encode_picture(), mdec_decode_block_intra(), mpeg1_decode_sequence(), MPV_encode_init(), and vcr2_init_sequence().
const uint16_t ff_mpeg1_default_non_intra_matrix[64] |
Definition at line 41 of file mpeg12data.c.
Referenced by mpeg1_decode_sequence(), MPV_encode_init(), and vcr2_init_sequence().
const uint8_t ff_mpeg4_c_dc_scale_table[32] |
const int16_t ff_mpeg4_default_intra_matrix[64] |
Definition at line 393 of file mpeg4data.h.
Referenced by decode_vol_header(), and MPV_encode_init().
const int16_t ff_mpeg4_default_non_intra_matrix[64] |
Definition at line 404 of file mpeg4data.h.
Referenced by decode_vol_header(), and MPV_encode_init().
const uint8_t ff_mpeg4_y_dc_scale_table[32] |