Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dset_roi.cc59 cpi.segmentation_map = reinterpret_cast<unsigned char *>(vpx_calloc(mbs, 1)); in TEST()
78 const int mapcompare = memcmp(roi_map, cpi.segmentation_map, mbs); in TEST()
178 if (cpi.segmentation_map) in TEST()
179 vpx_free(cpi.segmentation_map); in TEST()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_aq_complexity.c34 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in vp9_setup_in_frame_q_adj()
99 cpi->segmentation_map[mi_offset + y * cm->mi_cols + x] = segment; in vp9_select_in_frame_q_segment()
Dvp9_segmentation.h33 void vp9_set_segmentation_map(VP9_COMP *cpi, unsigned char *segmentation_map);
Dvp9_segmentation.c32 void vp9_set_segmentation_map(VP9_COMP *cpi, unsigned char *segmentation_map) { in vp9_set_segmentation_map() argument
36 vpx_memcpy(cpi->segmentation_map, segmentation_map, in vp9_set_segmentation_map()
Dvp9_aq_cyclicrefresh.c169 cpi->segmentation_map[block_index + y * cm->mi_cols + x] = in vp9_cyclic_refresh_update_segment()
184 unsigned char *const seg_map = cpi->segmentation_map; in vp9_cyclic_refresh_setup()
Dvp9_mbgraph.c353 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 0; in separate_arf_mbs()
355 cpi->segmentation_map[mi_row * cm->mi_cols + mi_col] = 1; in separate_arf_mbs()
Dvp9_onyx_int.h419 unsigned char *segmentation_map; member
Dvp9_onyx_if.c172 vpx_free(cpi->segmentation_map); in dealloc_compressor_data()
173 cpi->segmentation_map = NULL; in dealloc_compressor_data()
274 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
287 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
346 vpx_memset(cpi->segmentation_map, 0, cm->mi_rows * cm->mi_cols); in configure_static_seg_features()
396 fprintf(statsfile, "%10d", cpi->segmentation_map[map_index]); in print_seg_map()
1199 CHECK_MEM_ERROR(cm, cpi->segmentation_map, in vp9_create_compressor()
Dvp9_encodeframe.c255 const uint8_t *const map = seg->update_map ? cpi->segmentation_map in set_offsets()
863 const uint8_t *const map = seg->update_map ? cpi->segmentation_map in update_state()
1043 const uint8_t *const map = cm->seg.update_map ? cpi->segmentation_map in rd_pick_sb_modes()
1068 const uint8_t *const map = cm->seg.update_map ? cpi->segmentation_map in rd_pick_sb_modes()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dethreading.c171 if (cpi->segmentation_map[map_index + mb_col] <= 3) in thread_encoding_proc()
172 … xd->mode_info_context->mbmi.segment_id = cpi->segmentation_map[map_index + mb_col]; in thread_encoding_proc()
222 cpi->segmentation_map[map_index + mb_col] = mbmi->segment_id; in thread_encoding_proc()
Dencodeframe.c488 if (cpi->segmentation_map[map_index+mb_col] <= 3) in encode_mb_row()
489 xd->mode_info_context->mbmi.segment_id = cpi->segmentation_map[map_index+mb_col]; in encode_mb_row()
537 cpi->segmentation_map[map_index+mb_col] = xd->mode_info_context->mbmi.segment_id; in encode_mb_row()
Donyx_int.h501 unsigned char *segmentation_map; member
Donyx_if.c456 vpx_free(cpi->segmentation_map); in dealloc_compressor_data()
457 cpi->segmentation_map = 0; in dealloc_compressor_data()
504 static void set_segmentation_map(VP8_COMP *cpi, unsigned char *segmentation_map) in set_segmentation_map() argument
507 … vpx_memcpy(cpi->segmentation_map, segmentation_map, (cpi->common.mb_rows * cpi->common.mb_cols)); in set_segmentation_map()
571 unsigned char *seg_map = cpi->segmentation_map; in cyclic_background_refresh()
581 vpx_memset(cpi->segmentation_map, 0, mbs_in_frame); in cyclic_background_refresh()
1227 vpx_free(cpi->segmentation_map); in vp8_alloc_compressor_data()
1228 CHECK_MEM_ERROR(cpi->segmentation_map, in vp8_alloc_compressor_data()
1230 sizeof(*cpi->segmentation_map))); in vp8_alloc_compressor_data()