Home
last modified time | relevance | path

Searched refs:quant_table (Results 1 – 13 of 13) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dffv1_template.c40 if (p->quant_table[3][127] || p->quant_table[4][127]) { in RENAME()
43 return p->quant_table[0][(L - LT) & 0xFF] + in RENAME()
44 p->quant_table[1][(LT - T) & 0xFF] + in RENAME()
45 p->quant_table[2][(T - RT) & 0xFF] + in RENAME()
46 p->quant_table[3][(LL - L) & 0xFF] + in RENAME()
47 p->quant_table[4][(TT - T) & 0xFF]; in RENAME()
49 return p->quant_table[0][(L - LT) & 0xFF] + in RENAME()
50 p->quant_table[1][(LT - T) & 0xFF] + in RENAME()
51 p->quant_table[2][(T - RT) & 0xFF]; in RENAME()
Dffv1dec.c208 memcpy(p->quant_table, f->quant_tables[idx], sizeof(p->quant_table)); in decode_slice_header()
380 static int read_quant_table(RangeCoder *c, int16_t *quant_table, int scale) in read_quant_table() argument
395 quant_table[i] = scale * v; in read_quant_table()
401 quant_table[256 - i] = -quant_table[i]; in read_quant_table()
402 quant_table[128] = -quant_table[127]; in read_quant_table()
408 int16_t quant_table[MAX_CONTEXT_INPUTS][256]) in read_quant_tables()
414 int ret = read_quant_table(c, quant_table[i], context_count); in read_quant_tables()
754 context_count = read_quant_tables(c, f->quant_table); in read_header()
819 memcpy(p->quant_table, f->quant_tables[idx], in read_header()
820 sizeof(p->quant_table)); in read_header()
[all …]
Dffv1.h63 int16_t quant_table[MAX_CONTEXT_INPUTS][256]; member
98 int16_t quant_table[MAX_CONTEXT_INPUTS][256]; member
Dffv1enc.c311 static void write_quant_table(RangeCoder *c, int16_t *quant_table) in write_quant_table() argument
319 if (quant_table[i] != quant_table[i - 1]) { in write_quant_table()
327 int16_t quant_table[MAX_CONTEXT_INPUTS][256]) in write_quant_tables()
331 write_quant_table(c, quant_table[i]); in write_quant_tables()
370 write_quant_tables(c, f->quant_table); in write_header()
734 memcpy(s->quant_table, s->quant_tables[s->context_model], in encode_init()
735 sizeof(s->quant_table)); in encode_init()
740 memcpy(p->quant_table, s->quant_table, sizeof(p->quant_table)); in encode_init()
Dbinkaudio.c64 float quant_table[96]; member
125 s->quant_table[i] = expf(i * 0.15289164787221953823f) * s->root; in decode_init()
203 quant[i] = s->quant_table[FFMIN(value, 95)]; in decode_block()
Dintrax8.c522 static const int16_t quant_table[64] = { variable
603 level = (level * quant_table[pos]) >> 8; in x8_decode_intra_mb()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djdinput.c130 compptr->quant_table = NULL; in initial_setup()
256 if (compptr->quant_table != NULL) in latch_quant_tables()
268 compptr->quant_table = qtbl; in latch_quant_tables()
Djddctmgr.c238 qtbl = compptr->quant_table; in start_pass()
Djctrans.c130 c_quant = incomp->quant_table; in jpeg_copy_critical_parameters()
Djdcoefct.c385 if ((qtable = compptr->quant_table) == NULL) in smoothing_ok()
525 quanttbl = compptr->quant_table; in decompress_smooth_data()
Dtransupp.c102 qtblptr = compptr->quant_table; in dequant_comp()
133 qtblptr = compptr->quant_table; in requant_comp()
203 qtblptr1 = compptr1->quant_table; in adjust_quant()
204 qtblptr2 = compptr2->quant_table; in adjust_quant()
Djpeglib.h189 JQUANT_TBL *quant_table; member
/third_party/ffmpeg/doc/
Dsnow.txt86 quant_table[plane][0][0] s header_state
88 quant_table[plane][level][1]s header_state
89 quant_table[plane][level][3]s header_state
253 quant_table