Home
last modified time | relevance | path

Searched refs:cdef_info (Results 1 – 9 of 9) sorted by relevance

/external/libaom/libaom/av1/encoder/
Dpickcdef.c284 CdefInfo *const cdef_info = &cm->cdef_info; in av1_cdef_search() local
479 cdef_info->cdef_strengths[j] = best_lev0[j]; in av1_cdef_search()
480 cdef_info->cdef_uv_strengths[j] = best_lev1[j]; in av1_cdef_search()
486 cdef_info->cdef_bits = nb_strength_bits; in av1_cdef_search()
487 cdef_info->nb_cdef_strengths = nb_strengths; in av1_cdef_search()
493 for (gi = 0; gi < cdef_info->nb_cdef_strengths; gi++) { in av1_cdef_search()
494 uint64_t curr = mse[0][i][cdef_info->cdef_strengths[gi]]; in av1_cdef_search()
495 if (num_planes >= 3) curr += mse[1][i][cdef_info->cdef_uv_strengths[gi]]; in av1_cdef_search()
507 cdef_info->cdef_strengths[j] = in av1_cdef_search()
508 priconv[cm->cdef_info.cdef_strengths[j] / CDEF_SEC_STRENGTHS] * in av1_cdef_search()
[all …]
Dbitstream.c896 aom_write_literal(w, mbmi->cdef_strength, cm->cdef_info.cdef_bits); in write_cdef()
1981 aom_wb_write_literal(wb, cm->cdef_info.cdef_pri_damping - 3, 2); in encode_cdef()
1982 assert(cm->cdef_info.cdef_pri_damping == cm->cdef_info.cdef_sec_damping); in encode_cdef()
1983 aom_wb_write_literal(wb, cm->cdef_info.cdef_bits, 2); in encode_cdef()
1984 for (i = 0; i < cm->cdef_info.nb_cdef_strengths; i++) { in encode_cdef()
1985 aom_wb_write_literal(wb, cm->cdef_info.cdef_strengths[i], in encode_cdef()
1988 aom_wb_write_literal(wb, cm->cdef_info.cdef_uv_strengths[i], in encode_cdef()
Dencoder.c4080 cm->cdef_info.cdef_bits = 0; in loopfilter_frame()
4081 cm->cdef_info.cdef_strengths[0] = 0; in loopfilter_frame()
4082 cm->cdef_info.nb_cdef_strengths = 1; in loopfilter_frame()
4083 cm->cdef_info.cdef_uv_strengths[0] = 0; in loopfilter_frame()
5037 cm->cdef_info.cdef_bits = 0; in encode_frame_to_data_rate()
5038 cm->cdef_info.cdef_strengths[0] = 0; in encode_frame_to_data_rate()
5039 cm->cdef_info.nb_cdef_strengths = 1; in encode_frame_to_data_rate()
5040 cm->cdef_info.cdef_uv_strengths[0] = 0; in encode_frame_to_data_rate()
/external/libaom/libaom/av1/common/
Dcdef.c142 const CdefInfo *const cdef_info = &cm->cdef_info; in av1_cdef_frame() local
235 cdef_info->cdef_strengths[mbmi_cdef_strength] / CDEF_SEC_STRENGTHS; in av1_cdef_frame()
237 cdef_info->cdef_strengths[mbmi_cdef_strength] % CDEF_SEC_STRENGTHS; in av1_cdef_frame()
240 cdef_info->cdef_uv_strengths[mbmi_cdef_strength] / CDEF_SEC_STRENGTHS; in av1_cdef_frame()
242 cdef_info->cdef_uv_strengths[mbmi_cdef_strength] % CDEF_SEC_STRENGTHS; in av1_cdef_frame()
257 int pri_damping = cdef_info->cdef_pri_damping; in av1_cdef_frame()
258 int sec_damping = cdef_info->cdef_sec_damping; in av1_cdef_frame()
Donyxc_int.h523 CdefInfo cdef_info; member
/external/libaom/libaom/av1/decoder/
Dinspection.c125 mi->cdef_level = cm->cdef_info.cdef_strengths[mbmi->cdef_strength] / in ifd_inspect()
127 mi->cdef_strength = cm->cdef_info.cdef_strengths[mbmi->cdef_strength] % in ifd_inspect()
Ddecodeframe.c2202 CdefInfo *const cdef_info = &cm->cdef_info; in setup_cdef() local
2205 cdef_info->cdef_pri_damping = aom_rb_read_literal(rb, 2) + 3; in setup_cdef()
2206 cdef_info->cdef_sec_damping = cdef_info->cdef_pri_damping; in setup_cdef()
2207 cdef_info->cdef_bits = aom_rb_read_literal(rb, 2); in setup_cdef()
2208 cdef_info->nb_cdef_strengths = 1 << cdef_info->cdef_bits; in setup_cdef()
2209 for (int i = 0; i < cdef_info->nb_cdef_strengths; i++) { in setup_cdef()
2210 cdef_info->cdef_strengths[i] = aom_rb_read_literal(rb, CDEF_STRENGTH_BITS); in setup_cdef()
2211 cdef_info->cdef_uv_strengths[i] = in setup_cdef()
2582 const CdefInfo *const cdef_info = &cm->cdef_info; in av1_set_single_tile_decoding_mode() local
2586 const int no_cdef = cdef_info->cdef_bits == 0 && in av1_set_single_tile_decoding_mode()
[all …]
Ddecodemv.c44 assert(cm->cdef_info.cdef_bits == 0); in read_cdef()
62 ? aom_read_literal(r, cm->cdef_info.cdef_bits, ACCT_STR) in read_cdef()
/external/pdfium/third_party/libopenjpeg20/
Djp2.c1408 opj_jp2_cdef_info_t *cdef_info; in opj_jp2_read_cdef() local
1443 cdef_info = (opj_jp2_cdef_info_t*) opj_malloc(l_value * sizeof( in opj_jp2_read_cdef()
1445 if (!cdef_info) { in opj_jp2_read_cdef()
1451 opj_free(cdef_info); in opj_jp2_read_cdef()
1454 jp2->color.jp2_cdef->info = cdef_info; in opj_jp2_read_cdef()
1460 cdef_info[i].cn = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()
1464 cdef_info[i].typ = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()
1468 cdef_info[i].asoc = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()