Home
last modified time | relevance | path

Searched refs:seg_map (Results 1 – 14 of 14) sorted by relevance

/external/libaom/libaom/av1/encoder/
Daq_cyclicrefresh.c255 unsigned char *const seg_map = cpi->segmentation_map; in av1_cyclic_refresh_postencode() local
261 if (cyclic_refresh_segment_id(seg_map[mi_row * cm->mi_cols + mi_col]) == in av1_cyclic_refresh_postencode()
265 seg_map[mi_row * cm->mi_cols + mi_col]) == in av1_cyclic_refresh_postencode()
293 unsigned char *const seg_map = cpi->segmentation_map; in cyclic_refresh_update_map() local
296 memset(seg_map, CR_SEGMENT_ID_BASE, cm->mi_rows * cm->mi_cols); in cyclic_refresh_update_map()
346 seg_map[bl_index + y * cm->mi_cols + x] = CR_SEGMENT_ID_BOOST1; in cyclic_refresh_update_map()
445 unsigned char *const seg_map = cpi->segmentation_map; in av1_cyclic_refresh_setup() local
446 memset(seg_map, 0, cm->mi_rows * cm->mi_cols); in av1_cyclic_refresh_setup()
Dencoder.c131 unsigned char *const seg_map = cpi->segmentation_map; in suppress_active_map() local
135 if (seg_map[i] == AM_SEGMENT_ID_INACTIVE) in suppress_active_map()
136 seg_map[i] = AM_SEGMENT_ID_ACTIVE; in suppress_active_map()
141 unsigned char *const seg_map = cpi->segmentation_map; in apply_active_map() local
155 if (seg_map[i] == AM_SEGMENT_ID_ACTIVE) seg_map[i] = active_map[i]; in apply_active_map()
772 uint8_t *cache_ptr = cm->cur_frame->seg_map; in update_reference_segmentation_map()
5086 memcpy(cm->cur_frame->seg_map, cm->last_frame_seg_map, in encode_frame_to_data_rate()
Dbitstream.c471 set_spatial_segment_id(cm, cm->cur_frame->seg_map, mbmi->sb_type, mi_row, in write_segment_id()
484 set_spatial_segment_id(cm, cm->cur_frame->seg_map, mbmi->sb_type, mi_row, in write_segment_id()
929 set_spatial_segment_id(cm, cm->cur_frame->seg_map, mbmi->sb_type, in write_inter_segment_id()
Dencodeframe.c5466 cm->last_frame_seg_map = cm->prev_frame->seg_map; in encode_frame_internal()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_aq_cyclicrefresh.c263 unsigned char *const seg_map = cpi->segmentation_map; in vp9_cyclic_refresh_postencode() local
274 if (cyclic_refresh_segment_id(seg_map[map_index]) == CR_SEGMENT_ID_BOOST1) in vp9_cyclic_refresh_postencode()
276 else if (cyclic_refresh_segment_id(seg_map[map_index]) == in vp9_cyclic_refresh_postencode()
363 unsigned char *const seg_map = cpi->segmentation_map; in cyclic_refresh_update_map() local
370 memset(seg_map, CR_SEGMENT_ID_BASE, cm->mi_rows * cm->mi_cols); in cyclic_refresh_update_map()
456 seg_map[bl_index + y * cm->mi_cols + x] = CR_SEGMENT_ID_BOOST1; in cyclic_refresh_update_map()
590 unsigned char *const seg_map = cpi->segmentation_map; in vp9_cyclic_refresh_setup() local
591 memset(seg_map, 0, cm->mi_rows * cm->mi_cols); in vp9_cyclic_refresh_setup()
Dvp9_encoder.c508 unsigned char *const seg_map = cpi->segmentation_map; in suppress_active_map() local
516 if (seg_map[i] == AM_SEGMENT_ID_INACTIVE) in suppress_active_map()
517 seg_map[i] = AM_SEGMENT_ID_ACTIVE; in suppress_active_map()
523 unsigned char *const seg_map = cpi->segmentation_map; in apply_active_map() local
537 if (seg_map[i] == AM_SEGMENT_ID_ACTIVE) seg_map[i] = active_map[i]; in apply_active_map()
3962 unsigned char *const seg_map = cpi->segmentation_map; local
3963 memset(seg_map, 0, cm->mi_rows * cm->mi_cols);
/external/libaom/libaom/av1/common/
Dpred_common.h51 prev_ul = get_segment_id(cm, cm->cur_frame->seg_map, BLOCK_4X4, mi_row - 1, in av1_get_spatial_seg_pred()
55 prev_u = get_segment_id(cm, cm->cur_frame->seg_map, BLOCK_4X4, mi_row - 1, in av1_get_spatial_seg_pred()
59 prev_l = get_segment_id(cm, cm->cur_frame->seg_map, BLOCK_4X4, mi_row - 0, in av1_get_spatial_seg_pred()
Dalloccommon.c102 aom_free(pool->frame_bufs[i].seg_map); in av1_free_ref_frame_buffers()
103 pool->frame_bufs[i].seg_map = NULL; in av1_free_ref_frame_buffers()
Donyxc_int.h133 uint8_t *seg_map; member
723 aom_free(buf->seg_map); in ensure_mv_buffer()
724 CHECK_MEM_ERROR(cm, buf->seg_map, in ensure_mv_buffer()
726 sizeof(*buf->seg_map))); in ensure_mv_buffer()
Dentropymode.c1089 if (cm->cur_frame->seg_map) in av1_setup_past_independence()
1090 memset(cm->cur_frame->seg_map, 0, (cm->mi_rows * cm->mi_cols)); in av1_setup_past_independence()
/external/libaom/libaom/av1/decoder/
Ddecoder.c523 cm->last_frame_seg_map = cm->prev_frame->seg_map; in av1_receive_compressed_data()
Ddecodemv.c302 cm->cur_frame->seg_map[mi_offset + y * cm->mi_cols + x] = segment_id; in set_segment_id()
358 copy_segment_id(cm, cm->last_frame_seg_map, cm->cur_frame->seg_map, in read_inter_segment_id()
Ddecodeframe.c1891 if (cm->cur_frame->seg_map) in setup_segmentation()
1892 memset(cm->cur_frame->seg_map, 0, (cm->mi_rows * cm->mi_cols)); in setup_segmentation()
1901 cm->last_frame_seg_map = cm->prev_frame->seg_map; in setup_segmentation()
/external/libvpx/libvpx/vp8/encoder/
Donyx_if.c499 unsigned char *seg_map = cpi->segmentation_map; in cyclic_background_refresh() local
545 seg_map[i] = 1; in cyclic_background_refresh()
574 seg_map[i] = (cpi->consec_zero_last[i] > in cyclic_background_refresh()