#include "typedefs.h"
#include "types.h"
Go to the source code of this file.
Defines | |
#define | TRACE 0 |
#define | JM "16 (FRExt)" |
#define | VERSION "16.0" |
#define | EXT_VERSION "(FRExt)" |
#define | GET_METIME 1 |
#define | DUMP_DPB 0 |
#define | IMGTYPE 1 |
#define | ENABLE_FIELD_CTX 1 |
#define | ENABLE_HIGH444_CTX 1 |
#define | DEBUG_BITDEPTH 0 |
#define | ALLOW_GRAYSCALE 1 |
#define | ZEROSNR 1 |
#define | PAD_AFTER 0 |
#define | USE_RND_COST 0 |
#define | JM_INT_DIVIDE 1 |
#define | JM_MEM_DISTORTION 0 |
#define | JCOST_CALC_SCALEUP 0 |
#define | INTRA_RDCOSTCALC_EARLY_TERMINATE 1 |
#define | INTRA_RDCOSTCALC_NNZ 1 |
#define | EPZSREF 1 |
#define | MAX_RC_MODE 3 |
#define | RC_MAX_TEMPORAL_LEVELS 5 |
#define | SSE_MEMORY_ALIGNMENT 16 |
#define | FILE_NAME_SIZE 255 |
#define | INPUT_TEXT_SIZE 1024 |
#define | CAVLC_LEVEL_LIMIT 2063 |
#define | NUM_BLOCK_TYPES 22 |
#define | _LEAKYBUCKET_ |
#define | _LUMA_COEFF_COST_ 4 |
#define | _CHROMA_COEFF_COST_ 4 |
#define | _LUMA_MB_COEFF_COST_ 5 |
#define | _LUMA_8x8_COEFF_COST_ 5 |
#define | IMG_PAD_SIZE 20 |
#define | IMG_PAD_SIZE_TIMES4 80 |
#define | MAX_VALUE 999999 |
#define | INVALIDINDEX (-135792468) |
#define | DUMMY 14 |
#define | ET_SIZE 300 |
#define | LAMBDA_ACCURACY_BITS 16 |
#define | LAMBDA_FACTOR(lambda) ((int)((double)(1 << LAMBDA_ACCURACY_BITS) * lambda + 0.5)) |
#define | WEIGHTED_COST(factor, bits) (((factor) * (bits)) >> LAMBDA_ACCURACY_BITS) |
#define | MAXSLICEPERPICTURE 100 |
#define | MAX_REFERENCE_PICTURES 32 |
#define | BLOCK_SHIFT 2 |
#define | BLOCK_SIZE 4 |
#define | BLOCK_SIZE_8x8 8 |
#define | SMB_BLOCK_SIZE 8 |
#define | BLOCK_PIXELS 16 |
#define | MB_BLOCK_SIZE 16 |
#define | MB_PIXELS 256 |
#define | MB_PIXELS_SHIFT 8 |
#define | MB_BLOCK_SHIFT 4 |
#define | BLOCK_MULTIPLE 4 |
#define | MB_BLOCK_PARTITIONS 16 |
#define | BLOCK_CONTEXT 64 |
#define | BLOCK_SIZE_SP 16 |
#define | BLOCK_SIZE_8x8_SP 32 |
#define | MAX_PREC_COEFF 25 |
#define | NO_INTRA_PMODE 9 |
#define | IS_INTRA(MB) ((MB)->mb_type==I4MB || (MB)->mb_type==I16MB || (MB)->mb_type==I8MB || (MB)->mb_type==IPCM) |
#define | LEVEL_NUM 6 |
#define | TOTRUN_NUM 15 |
#define | RUNBEFORE_NUM 7 |
#define | RUNBEFORE_NUM_M1 6 |
#define | MIN_QP 0 |
#define | MAX_QP 51 |
#define | SHIFT_QP 12 |
#define | INIT_FRAME_RATE 30 |
#define | MAX_SYMBOLS_PER_MB 1200 |
#define | MAX_PART_NR 3 |
#define | ZEROBYTES_SHORTSTARTCODE 2 |
#define | Q_BITS 15 |
#define | DQ_BITS 6 |
#define | Q_BITS_8 16 |
#define | DQ_BITS_8 6 |
#define | CALM_MF_FACTOR_THRESHOLD 512.0 |
#define | MAX_PLANE 3 |
#define | IS_INDEPENDENT(IMG) ((IMG)->separate_colour_plane_flag) |
#define | IS_FREXT_PROFILE(profile_idc) ( profile_idc>=FREXT_HP || profile_idc == FREXT_CAVLC444 ) |
#define | MAXSLICEGROUPIDS 8 |
#define | NUM_MB_TYPE_CTX 11 |
#define | NUM_B8_TYPE_CTX 9 |
#define | NUM_MV_RES_CTX 10 |
#define | NUM_REF_NO_CTX 6 |
#define | NUM_DELTA_QP_CTX 4 |
#define | NUM_MB_AFF_CTX 4 |
#define | NUM_TRANSFORM_SIZE_CTX 3 |
#define | NUM_IPR_CTX 2 |
#define | NUM_CIPR_CTX 4 |
#define | NUM_CBP_CTX 4 |
#define | NUM_BCBP_CTX 4 |
#define | NUM_MAP_CTX 15 |
#define | NUM_LAST_CTX 15 |
#define | NUM_ONE_CTX 5 |
#define | NUM_ABS_CTX 5 |
Typedefs | |
typedef uint16 | imgpel |
typedef uint32 | distpel |
Enumerations | |
enum | { FREXT_CAVLC444 = 44, BASELINE = 66, MAIN = 77, EXTENDED = 88, FREXT_HP = 100, FREXT_Hi10P = 110, FREXT_Hi422 = 122, FREXT_Hi444 = 244 } |
enum | { PSKIP = 0, BSKIP_DIRECT = 0, P16x16 = 1, P16x8 = 2, P8x16 = 3, SMB8x8 = 4, SMB8x4 = 5, SMB4x8 = 6, SMB4x4 = 7, P8x8 = 8, I4MB = 9, I16MB = 10, IBLOCK = 11, SI4MB = 12, I8MB = 13, IPCM = 14, MAXMODE = 15 } |
enum | { DIR_TEMPORAL = 0, DIR_SPATIAL = 1 } |
enum | { LUMA = 0, LUMA_INTRA16x16DC = 1, LUMA_INTRA16x16AC = 2, CB = 3, CB_INTRA16x16DC = 4, CB_INTRA16x16AC = 5, CR = 8, CR_INTRA16x16DC = 9, CR_INTRA16x16AC = 10 } |
enum | { LUMA_16DC = 0, LUMA_16AC = 1, LUMA_8x8 = 2, LUMA_8x4 = 3, LUMA_4x8 = 4, LUMA_4x4 = 5, CHROMA_DC = 6, CHROMA_AC = 7, CHROMA_DC_2x4 = 8, CHROMA_DC_4x4 = 9, CB_16DC = 10, CB_16AC = 11, CB_8x8 = 12, CB_8x4 = 13, CB_4x8 = 14, CB_4x4 = 15, CR_16DC = 16, CR_16AC = 17, CR_8x8 = 18, CR_8x4 = 19, CR_4x8 = 20, CR_4x4 = 21 } |
enum | { VERT_PRED = 0, HOR_PRED = 1, DC_PRED = 2, DIAG_DOWN_LEFT_PRED = 3, DIAG_DOWN_RIGHT_PRED = 4, VERT_RIGHT_PRED = 5, HOR_DOWN_PRED = 6, VERT_LEFT_PRED = 7, HOR_UP_PRED = 8 } |
enum | { VERT_PRED_16 = 0, HOR_PRED_16 = 1, DC_PRED_16 = 2, PLANE_16 = 3 } |
enum | { DC_PRED_8 = 0, HOR_PRED_8 = 1, VERT_PRED_8 = 2, PLANE_8 = 3 } |
enum | { EOS = 1, SOP = 2, SOS = 3 } |
enum | { MVPRED_MEDIAN = 0, MVPRED_L = 1, MVPRED_U = 2, MVPRED_UR = 3 } |
Variables | |
enum { ... } | ProfileIDC |
enum { ... } | MBModeTypes |
enum { ... } | DirectModes |
enum { ... } | CAVLCBlockTypes |
enum { ... } | CABACBlockTypes |
enum { ... } | I4x4PredModes |
enum { ... } | I16x16PredModes |
enum { ... } | I8x8PredModes |
enum { ... } | MVPredTypes |
Definition in file defines.h.
#define _CHROMA_COEFF_COST_ 4 |
threshold for chroma coeffs, used to be 7
Definition at line 94 of file defines.h.
Referenced by dct_chroma(), and dct_chroma_sp().
#define _LUMA_8x8_COEFF_COST_ 5 |
threshold for luma coeffs of 8x8 Inter Partition
Definition at line 96 of file defines.h.
Referenced by SetCoeffAndReconstruction8x8().
#define _LUMA_COEFF_COST_ 4 |
threshold for luma coeffs
Definition at line 93 of file defines.h.
Referenced by luma_residual_coding_16x16(), luma_residual_coding_8x8(), luma_residual_coding_p444_16x16(), and luma_residual_coding_p444_8x8().
#define _LUMA_MB_COEFF_COST_ 5 |
threshold for luma coeffs of inter Macroblocks
Definition at line 95 of file defines.h.
Referenced by luma_residual_coding(), and luma_residual_coding_p444().
#define DEBUG_BITDEPTH 0 |
#define ENABLE_FIELD_CTX 1 |
#define ENABLE_HIGH444_CTX 1 |
#define ET_SIZE 300 |
size of error text buffer
Definition at line 106 of file defines.h.
Referenced by arienco_delete_encoding_environment(), Configure(), encode_one_slice(), encode_one_slice_MBAFF(), end_macroblock(), GetConfigFileContent(), interpret_gop_structure(), LevelCheck(), no_mem_exit(), OpenFiles(), ParseContent(), ParseMatrix(), ParseQOffsetMatrix(), PatchInp(), ProfileCheck(), read_slice_group_info(), ReadFrameConcatenated(), report(), report_frame_statistic(), report_log_mode(), report_stats(), start_sequence(), terminate_sequence(), and TestEncoderParams().
#define GET_METIME 1 |
#define IMG_PAD_SIZE 20 |
Number of pixels padded around the reference frame (>=4).
Definition at line 98 of file defines.h.
Referenced by alloc_storable_picture(), chroma_mc_setup(), getSubImageInteger(), init_global_buffers(), and init_img().
#define IMG_PAD_SIZE_TIMES4 80 |
Number of pixels padded around the reference frame in subpel units(>=16).
Definition at line 99 of file defines.h.
Referenced by chroma_prediction(), FastLine4X(), FastLine8X_chroma(), luma_prediction(), luma_prediction_bi(), OneComponentChromaPrediction4x4_retrieve(), UMVLine4X(), UMVLine4Xcr(), and UMVLine8X_chroma().
#define IMGTYPE 1 |
#define JCOST_CALC_SCALEUP 0 |
#define MAX_PART_NR 3 |
Maximum number of different data partitions. Some reasonable number which should reflect what is currently defined in the SE2Partition map (elements.h)
#define MAX_SYMBOLS_PER_MB 1200 |
#define MAX_VALUE 999999 |
used for start value for some variables
Definition at line 102 of file defines.h.
Referenced by dct_4x4_ls(), dct_4x4_sp(), dct_4x4_sp2(), dct_chroma_ls(), dct_chroma_sp2(), quant_4x4_around(), quant_4x4_normal(), quant_4x4_trellis(), quant_8x8_around(), quant_8x8_normal(), quant_8x8_trellis(), quant_8x8cavlc_around(), quant_8x8cavlc_normal(), quant_8x8cavlc_trellis(), and quant_ac4x4_trellis().
#define TRACE 0 |
#define USE_RND_COST 0 |
anonymous enum |
anonymous enum |
anonymous enum |