Home
last modified time | relevance | path

Searched refs:last_coded_q_map (Results 1 – 6 of 6) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/
Dvp9_aq_cyclicrefresh.c42 last_coded_q_map_size = mi_rows * mi_cols * sizeof(*cr->last_coded_q_map); in vp9_cyclic_refresh_alloc()
43 cr->last_coded_q_map = vpx_malloc(last_coded_q_map_size); in vp9_cyclic_refresh_alloc()
44 if (cr->last_coded_q_map == NULL) { in vp9_cyclic_refresh_alloc()
49 memset(cr->last_coded_q_map, MAXQ, last_coded_q_map_size); in vp9_cyclic_refresh_alloc()
57 vpx_free(cr->last_coded_q_map); in vp9_cyclic_refresh_free()
243 cr->last_coded_q_map[map_offset] = in vp9_cyclic_refresh_update_sb_postencode()
247 cr->last_coded_q_map[map_offset] = VPXMIN( in vp9_cyclic_refresh_update_sb_postencode()
249 cr->last_coded_q_map[map_offset]); in vp9_cyclic_refresh_update_sb_postencode()
432 if (cr->last_coded_q_map[bl_index2] > qindex_thresh || in cyclic_refresh_update_map()
594 memset(cr->last_coded_q_map, MAXQ, in vp9_cyclic_refresh_setup()
[all …]
Dvp9_svc_layercontext.c167 mi_rows * mi_cols * sizeof(*lc->last_coded_q_map); in vp9_init_layer_context()
168 CHECK_MEM_ERROR(cm, lc->last_coded_q_map, in vp9_init_layer_context()
171 memset(lc->last_coded_q_map, MAXQ, last_coded_q_map_size); in vp9_init_layer_context()
358 swap_ptr(&cr->last_coded_q_map, &lc->last_coded_q_map); in vp9_restore_layer_context()
382 uint8_t *temp2 = lc->last_coded_q_map; in vp9_save_layer_context()
386 lc->last_coded_q_map = cr->last_coded_q_map; in vp9_save_layer_context()
387 cr->last_coded_q_map = temp2; in vp9_save_layer_context()
934 if (lc->last_coded_q_map) vpx_free(lc->last_coded_q_map); in vp9_free_svc_cyclic_refresh()
Dvp9_aq_cyclicrefresh.h54 uint8_t *last_coded_q_map; member
Dvp9_svc_layercontext.h66 uint8_t *last_coded_q_map; member
Dvp9_encoder.c3964 memset(cr->last_coded_q_map, MAXQ,
3965 cm->mi_rows * cm->mi_cols * sizeof(*cr->last_coded_q_map));
/external/libaom/libaom/av1/encoder/
Daq_cyclicrefresh.c44 uint8_t *last_coded_q_map; member
72 last_coded_q_map_size = mi_rows * mi_cols * sizeof(*cr->last_coded_q_map); in av1_cyclic_refresh_alloc()
73 cr->last_coded_q_map = aom_malloc(last_coded_q_map_size); in av1_cyclic_refresh_alloc()
74 if (cr->last_coded_q_map == NULL) { in av1_cyclic_refresh_alloc()
79 memset(cr->last_coded_q_map, MAXQ, last_coded_q_map_size); in av1_cyclic_refresh_alloc()
87 aom_free(cr->last_coded_q_map); in av1_cyclic_refresh_free()
335 if (cr->last_coded_q_map[bl_index2] > qindex_thresh) sum_map++; in cyclic_refresh_update_map()
449 memset(cr->last_coded_q_map, MAXQ, in av1_cyclic_refresh_setup()
450 cm->mi_rows * cm->mi_cols * sizeof(*cr->last_coded_q_map)); in av1_cyclic_refresh_setup()