Home
last modified time | relevance | path

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

/external/libaom/libaom/av1/encoder/
Dpickcdef.c324 CdefInfo *const cdef_info = &cm->cdef_info; in pick_cdef_from_qp() local
325 cdef_info->cdef_bits = 0; in pick_cdef_from_qp()
326 cdef_info->nb_cdef_strengths = 1; in pick_cdef_from_qp()
327 cdef_info->cdef_damping = 3 + (cm->quant_params.base_qindex >> 6); in pick_cdef_from_qp()
361 cdef_info->cdef_strengths[0] = in pick_cdef_from_qp()
363 cdef_info->cdef_uv_strengths[0] = in pick_cdef_from_qp()
519 CdefInfo *const cdef_info = &cm->cdef_info; in av1_cdef_search() local
541 memcpy(cdef_info->cdef_strengths, best_lev0, in av1_cdef_search()
544 memcpy(cdef_info->cdef_uv_strengths, best_lev1, in av1_cdef_search()
550 cdef_info->cdef_bits = nb_strength_bits; in av1_cdef_search()
[all …]
Dencoder.c4815 cm->cdef_info.cdef_bits = 0; in cdef_restoration_frame()
4816 cm->cdef_info.cdef_strengths[0] = 0; in cdef_restoration_frame()
4817 cm->cdef_info.nb_cdef_strengths = 1; in cdef_restoration_frame()
4818 cm->cdef_info.cdef_uv_strengths[0] = 0; in cdef_restoration_frame()
5724 cm->cdef_info.cdef_bits = 0; in encode_with_recode_loop_and_filter()
5725 cm->cdef_info.cdef_strengths[0] = 0; in encode_with_recode_loop_and_filter()
5726 cm->cdef_info.nb_cdef_strengths = 1; in encode_with_recode_loop_and_filter()
5727 cm->cdef_info.cdef_uv_strengths[0] = 0; in encode_with_recode_loop_and_filter()
5796 cc->cdef_info = cm->cdef_info; in save_extra_coding_context()
5820 cm->cdef_info = cc->cdef_info; in restore_extra_coding_context()
Dbitstream.c897 aom_write_literal(w, mbmi->cdef_strength, cm->cdef_info.cdef_bits); in write_cdef()
2026 aom_wb_write_literal(wb, cm->cdef_info.cdef_damping - 3, 2); in encode_cdef()
2027 aom_wb_write_literal(wb, cm->cdef_info.cdef_bits, 2); in encode_cdef()
2028 for (i = 0; i < cm->cdef_info.nb_cdef_strengths; i++) { in encode_cdef()
2029 aom_wb_write_literal(wb, cm->cdef_info.cdef_strengths[i], in encode_cdef()
2032 aom_wb_write_literal(wb, cm->cdef_info.cdef_uv_strengths[i], in encode_cdef()
Dencoder.h72 CdefInfo cdef_info; member
/external/libaom/libaom/av1/common/
Dcdef.c123 const CdefInfo *const cdef_info = &cm->cdef_info; in av1_cdef_frame() local
219 cdef_info->cdef_strengths[mbmi_cdef_strength] / CDEF_SEC_STRENGTHS; in av1_cdef_frame()
221 cdef_info->cdef_strengths[mbmi_cdef_strength] % CDEF_SEC_STRENGTHS; in av1_cdef_frame()
224 cdef_info->cdef_uv_strengths[mbmi_cdef_strength] / CDEF_SEC_STRENGTHS; in av1_cdef_frame()
226 cdef_info->cdef_uv_strengths[mbmi_cdef_strength] % CDEF_SEC_STRENGTHS; in av1_cdef_frame()
241 int damping = cdef_info->cdef_damping; in av1_cdef_frame()
Dav1_common_int.h656 CdefInfo cdef_info; member
/external/libaom/libaom/av1/decoder/
Dinspection.c136 mi->cdef_level = cm->cdef_info.cdef_strengths[mbmi->cdef_strength] / in ifd_inspect()
138 mi->cdef_strength = cm->cdef_info.cdef_strengths[mbmi->cdef_strength] % in ifd_inspect()
Ddecodeframe.c1802 CdefInfo *const cdef_info = &cm->cdef_info; in setup_cdef() local
1805 cdef_info->cdef_damping = aom_rb_read_literal(rb, 2) + 3; in setup_cdef()
1806 cdef_info->cdef_bits = aom_rb_read_literal(rb, 2); in setup_cdef()
1807 cdef_info->nb_cdef_strengths = 1 << cdef_info->cdef_bits; in setup_cdef()
1808 for (int i = 0; i < cdef_info->nb_cdef_strengths; i++) { in setup_cdef()
1809 cdef_info->cdef_strengths[i] = aom_rb_read_literal(rb, CDEF_STRENGTH_BITS); in setup_cdef()
1810 cdef_info->cdef_uv_strengths[i] = in setup_cdef()
2197 const CdefInfo *const cdef_info = &cm->cdef_info; in av1_set_single_tile_decoding_mode() local
2201 const int no_cdef = cdef_info->cdef_bits == 0 && in av1_set_single_tile_decoding_mode()
2202 cdef_info->cdef_strengths[0] == 0 && in av1_set_single_tile_decoding_mode()
[all …]
Ddecodemv.c43 assert(cm->cdef_info.cdef_bits == 0); in read_cdef()
79 aom_read_literal(r, cm->cdef_info.cdef_bits, ACCT_STR); in read_cdef()
/external/pdfium/third_party/libopenjpeg20/
Djp2.c1407 opj_jp2_cdef_info_t *cdef_info; in opj_jp2_read_cdef() local
1442 cdef_info = (opj_jp2_cdef_info_t*) opj_malloc(l_value * sizeof( in opj_jp2_read_cdef()
1444 if (!cdef_info) { in opj_jp2_read_cdef()
1450 opj_free(cdef_info); in opj_jp2_read_cdef()
1453 jp2->color.jp2_cdef->info = cdef_info; in opj_jp2_read_cdef()
1459 cdef_info[i].cn = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()
1463 cdef_info[i].typ = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()
1467 cdef_info[i].asoc = (OPJ_UINT16) l_value; in opj_jp2_read_cdef()