Home
last modified time | relevance | path

Searched refs:segmentation_map (Results 1 – 21 of 21) sorted by relevance

/external/libvpx/libvpx/test/
Dset_roi.cc54 cpi.segmentation_map = reinterpret_cast<unsigned char *>(vpx_calloc(mbs, 1)); in TEST()
73 const int mapcompare = memcmp(roi_map, cpi.segmentation_map, mbs); in TEST()
162 if (cpi.segmentation_map) vpx_free(cpi.segmentation_map); in TEST()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_alt_ref_aq.c25 const struct MATX_8U *segmentation_map) { in vp9_alt_ref_aq_upload_map() argument
27 (void)segmentation_map; in vp9_alt_ref_aq_upload_map()
Dvp9_aq_complexity.c61 memset(cpi->segmentation_map, DEFAULT_AQ2_SEG, cm->mi_rows * cm->mi_cols); in vp9_setup_in_frame_q_adj()
157 cpi->segmentation_map[mi_offset + y * cm->mi_cols + x] = segment; in vp9_caq_select_segment()
Dvp9_alt_ref_aq.h65 const struct MATX_8U *segmentation_map);
Dvp9_aq_cyclicrefresh.c218 cpi->segmentation_map[map_offset] = mi->segment_id; in vp9_cyclic_refresh_update_segment()
263 unsigned char *const seg_map = cpi->segmentation_map; in vp9_cyclic_refresh_postencode()
363 unsigned char *const seg_map = cpi->segmentation_map; in cyclic_refresh_update_map()
590 unsigned char *const seg_map = cpi->segmentation_map; in vp9_cyclic_refresh_setup()
Dvp9_mbgraph.c335 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 0; in separate_arf_mbs()
337 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 1; in separate_arf_mbs()
Dvp9_encoder.c508 unsigned char *const seg_map = cpi->segmentation_map; in suppress_active_map()
523 unsigned char *const seg_map = cpi->segmentation_map; in apply_active_map()
582 memcpy(cpi->segmentation_map, roi->roi_map, (cm->mi_rows * cm->mi_cols)); in apply_roi_map()
754 unsigned char *const seg_map_8x8 = cpi->segmentation_map; in vp9_get_active_map()
914 vpx_free(cpi->segmentation_map); in dealloc_compressor_data()
915 cpi->segmentation_map = NULL; in dealloc_compressor_data()
1097 memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
1110 memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
1171 memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
1844 vpx_free(cpi->segmentation_map); in realloc_segmentation_maps()
[all …]
Dvp9_encoder.h669 uint8_t *segmentation_map; member
Dvp9_encodeframe.c192 seg->update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in set_segment_index()
1760 seg->update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in update_state()
1900 cm->seg.update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in set_segment_rdmult()
2448 seg->update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in update_state_rt()
4257 seg->update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in encode_rd_sb_row()
5300 seg->update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in encode_nonrd_sb_row()
/external/libaom/libaom/av1/encoder/
Daq_complexity.c59 memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in av1_setup_in_frame_q_adj()
73 memset(cpi->segmentation_map, DEFAULT_AQ2_SEG, cm->mi_rows * cm->mi_cols); in av1_setup_in_frame_q_adj()
169 cpi->segmentation_map[mi_offset + y * cm->mi_cols + x] = segment; in av1_caq_select_segment()
Daq_cyclicrefresh.c247 cpi->segmentation_map[map_offset] = mbmi->segment_id; in av1_cyclic_refresh_update_segment()
255 unsigned char *const seg_map = cpi->segmentation_map; in av1_cyclic_refresh_postencode()
293 unsigned char *const seg_map = cpi->segmentation_map; in cyclic_refresh_update_map()
436 memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in av1_cyclic_refresh_setup()
445 unsigned char *const seg_map = cpi->segmentation_map; in av1_cyclic_refresh_setup()
Dmbgraph.c334 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 0; in separate_arf_mbs()
336 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 1; in separate_arf_mbs()
Daq_variance.c60 memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in av1_vaq_frame_setup()
Dencoder.c131 unsigned char *const seg_map = cpi->segmentation_map; in suppress_active_map()
141 unsigned char *const seg_map = cpi->segmentation_map; in apply_active_map()
219 unsigned char *const seg_map_8x8 = cpi->segmentation_map; in av1_get_active_map()
536 aom_free(cpi->segmentation_map); in dealloc_compressor_data()
537 cpi->segmentation_map = NULL; in dealloc_compressor_data()
646 memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
659 memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
730 memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
2364 aom_free(cpi->segmentation_map); in realloc_segmentation_maps()
2365 CHECK_MEM_ERROR(cm, cpi->segmentation_map, in realloc_segmentation_maps()
Dencoder.h834 uint8_t *segmentation_map; member
Dencodeframe.c274 seg->update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in set_offsets()
365 seg->update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in update_state()
4765 seg->update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in encode_sb_row()
5688 uint8_t *map = cpi->segmentation_map; in av1_encode_frame()
Dbitstream.c473 set_spatial_segment_id(cm, cpi->segmentation_map, mbmi->sb_type, mi_row, in write_segment_id()
/external/libvpx/libvpx/vp8/encoder/
Dethreading.c160 if (cpi->segmentation_map[map_index + mb_col] <= 3) { in thread_encoding_proc()
162 cpi->segmentation_map[map_index + mb_col]; in thread_encoding_proc()
229 cpi->segmentation_map[map_index + mb_col] = mbmi->segment_id; in thread_encoding_proc()
Dencodeframe.c437 if (cpi->segmentation_map[map_index + mb_col] <= 3) { in encode_mb_row()
439 cpi->segmentation_map[map_index + mb_col]; in encode_mb_row()
504 cpi->segmentation_map[map_index + mb_col] = in encode_mb_row()
Donyx_int.h480 unsigned char *segmentation_map; member
Donyx_if.c421 vpx_free(cpi->segmentation_map); in dealloc_compressor_data()
422 cpi->segmentation_map = 0; in dealloc_compressor_data()
468 unsigned char *segmentation_map) { in set_segmentation_map() argument
470 memcpy(cpi->segmentation_map, segmentation_map, in set_segmentation_map()
499 unsigned char *seg_map = cpi->segmentation_map; in cyclic_background_refresh()
530 memset(cpi->segmentation_map, 0, mbs_in_frame); in cyclic_background_refresh()
1205 vpx_free(cpi->segmentation_map); in vp8_alloc_compressor_data()
1207 cpi->segmentation_map, in vp8_alloc_compressor_data()
1208 vpx_calloc(cm->mb_rows * cm->mb_cols, sizeof(*cpi->segmentation_map))); in vp8_alloc_compressor_data()