Home
last modified time | relevance | path

Searched refs:segmentation_map (Results 1 – 13 of 13) 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()
170 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.c207 cpi->segmentation_map[map_offset] = mi->segment_id; in vp9_cyclic_refresh_update_segment()
252 unsigned char *const seg_map = cpi->segmentation_map; in vp9_cyclic_refresh_postencode()
330 unsigned char *const seg_map = cpi->segmentation_map; in cyclic_refresh_update_map()
506 unsigned char *const seg_map = cpi->segmentation_map; in vp9_cyclic_refresh_setup()
Dvp9_mbgraph.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()
Dvp9_encoder.c499 unsigned char *const seg_map = cpi->segmentation_map; in suppress_active_map()
514 unsigned char *const seg_map = cpi->segmentation_map; in apply_active_map()
613 unsigned char *const seg_map_8x8 = cpi->segmentation_map; in vp9_get_active_map()
757 vpx_free(cpi->segmentation_map); in dealloc_compressor_data()
758 cpi->segmentation_map = NULL; in dealloc_compressor_data()
925 memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
938 memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
999 memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
1755 vpx_free(cpi->segmentation_map); in realloc_segmentation_maps()
1756 CHECK_MEM_ERROR(cm, cpi->segmentation_map, in realloc_segmentation_maps()
[all …]
Dvp9_encoder.h542 uint8_t *segmentation_map; member
Dvp9_encodeframe.c250 seg->update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in set_offsets()
1488 seg->update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in update_state()
1710 cm->seg.update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in rd_pick_sb_modes()
1715 const uint8_t *const map = cpi->segmentation_map; in rd_pick_sb_modes()
1724 cm->seg.update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in rd_pick_sb_modes()
1732 cm->seg.update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in rd_pick_sb_modes()
2184 seg->update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in update_state_rt()
3373 seg->update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in encode_rd_sb_row()
4147 seg->update_map ? cpi->segmentation_map : cm->last_frame_seg_map; in encode_nonrd_sb_row()
/external/libvpx/libvpx/vp8/encoder/
Dethreading.c161 if (cpi->segmentation_map[map_index + mb_col] <= 3) { in thread_encoding_proc()
163 cpi->segmentation_map[map_index + mb_col]; in thread_encoding_proc()
230 cpi->segmentation_map[map_index + mb_col] = mbmi->segment_id; in thread_encoding_proc()
Dencodeframe.c442 if (cpi->segmentation_map[map_index + mb_col] <= 3) { in encode_mb_row()
444 cpi->segmentation_map[map_index + mb_col]; in encode_mb_row()
509 cpi->segmentation_map[map_index + mb_col] = in encode_mb_row()
Donyx_int.h474 unsigned char *segmentation_map; member
Donyx_if.c423 vpx_free(cpi->segmentation_map); in dealloc_compressor_data()
424 cpi->segmentation_map = 0; in dealloc_compressor_data()
482 unsigned char *segmentation_map) { in set_segmentation_map() argument
484 memcpy(cpi->segmentation_map, segmentation_map, in set_segmentation_map()
513 unsigned char *seg_map = cpi->segmentation_map; in cyclic_background_refresh()
544 memset(cpi->segmentation_map, 0, mbs_in_frame); in cyclic_background_refresh()
1169 vpx_free(cpi->segmentation_map); in vp8_alloc_compressor_data()
1171 cpi->segmentation_map, in vp8_alloc_compressor_data()
1172 vpx_calloc(cm->mb_rows * cm->mb_cols, sizeof(*cpi->segmentation_map))); in vp8_alloc_compressor_data()