30 #ifdef ENABLE_ARM_TESTS
36 static inline void dct_unquantize_h263_helper_c(int16_t *
block,
int qmul,
int qadd,
int count)
39 for (i = 0; i <
count; i++) {
43 level = level * qmul - qadd;
45 level = level * qmul + qadd;
54 int16_t *block,
int n,
int qscale)
56 int level, qmul, qadd;
68 qadd = (qscale - 1) | 1;
83 int16_t *block,
int n,
int qscale)
90 qadd = (qscale - 1) | 1;
static void dct_unquantize_h263_inter_armv5te(MpegEncContext *s, int16_t *block, int n, int qscale)
int h263_aic
Advanced INTRA Coding (AIC)
void(* dct_unquantize_h263_intra)(struct MpegEncContext *s, int16_t *block, int n, int qscale)
Macro definitions for various function/variable attributes.
void(* dct_unquantize_h263_inter)(struct MpegEncContext *s, int16_t *block, int n, int qscale)
#define av_assert2(cond)
assert() equivalent, that does lie in speed critical code.
simple assert() macros that are a bit more flexible than ISO C assert().
int block_last_index[12]
last non zero coefficient in block
Libavcodec external API header.
av_cold void ff_mpv_common_init_armv5te(MpegEncContext *s)
void ff_dct_unquantize_h263_armv5te(int16_t *block, int qmul, int qadd, int count)
static void dct_unquantize_h263_intra_armv5te(MpegEncContext *s, int16_t *block, int n, int qscale)
ScanTable inter_scantable
if inter == intra then intra should be used to reduce the cache usage