Home
last modified time | relevance | path

Searched refs:roi_map (Results 1 – 10 of 10) sorted by relevance

/external/libvpx/libvpx/test/
Dset_roi.cc57 unsigned char *roi_map = in TEST() local
59 memset(&roi_map[mbs >> 2], 1, (mbs >> 2)); in TEST()
60 memset(&roi_map[mbs >> 1], 2, (mbs >> 2)); in TEST()
61 memset(&roi_map[mbs - (mbs >> 2)], 3, (mbs >> 2)); in TEST()
65 vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, cpi.common.mb_cols, in TEST()
73 const int mapcompare = memcmp(roi_map, cpi.segmentation_map, mbs); in TEST()
132 vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, cpi.common.mb_cols, in TEST()
141 vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, cpi.common.mb_cols, in TEST()
151 vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows + 1, in TEST()
156 vp8_set_roimap(&cpi, roi_map, cpi.common.mb_rows, in TEST()
[all …]
Dvp8_datarate_test.cc464 roi_.roi_map = in TEST_P()
465 (uint8_t *)calloc(roi_.rows * roi_.cols, sizeof(*roi_.roi_map)); in TEST_P()
470 roi_.roi_map[i * roi_.cols + j] = 1; in TEST_P()
482 free(roi_.roi_map); in TEST_P()
Dvp9_datarate_test.cc697 roi_.roi_map = reinterpret_cast<uint8_t *>( in TEST_P()
698 calloc(roi_.rows * roi_.cols, sizeof(*roi_.roi_map))); in TEST_P()
699 ASSERT_TRUE(roi_.roi_map != NULL); in TEST_P()
705 roi_.roi_map[i * roi_.cols + j] = 1; in TEST_P()
717 free(roi_.roi_map); in TEST_P()
/external/libvpx/libvpx/examples/
Dset_maps.c87 roi.roi_map = (uint8_t *)malloc(roi.rows * roi.cols); in set_roi_map()
88 for (i = 0; i < roi.rows * roi.cols; ++i) roi.roi_map[i] = i % 4; in set_roi_map()
93 free(roi.roi_map); in set_roi_map()
Dvpx_temporal_svc_encoder.c227 roi->roi_map = in set_roi_map()
228 (uint8_t *)calloc(roi->rows * roi->cols, sizeof(*roi->roi_map)); in set_roi_map()
233 roi->roi_map[i * roi->cols + j] = 1; in set_roi_map()
950 free(roi.roi_map); in main()
/external/libvpx/libvpx/vpx/
Dvp8cx.h727 unsigned char *roi_map; member
/external/libaom/libaom/aom/
Daomcx.h1126 unsigned char *roi_map; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.c582 memcpy(cpi->segmentation_map, roi->roi_map, (cm->mi_rows * cm->mi_cols)); in apply_roi_map()
704 if (roi->roi_map) { in vp9_set_roi_map()
705 vpx_free(roi->roi_map); in vp9_set_roi_map()
706 roi->roi_map = NULL; in vp9_set_roi_map()
708 CHECK_MEM_ERROR(cm, roi->roi_map, vpx_malloc(rows * cols)); in vp9_set_roi_map()
711 memcpy(roi->roi_map, map, rows * cols); in vp9_set_roi_map()
971 vpx_free(cpi->roi.roi_map); in dealloc_compressor_data()
972 cpi->roi.roi_map = NULL; in dealloc_compressor_data()
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c1123 if (!vp8_set_roimap(ctx->cpi, roi->roi_map, roi->rows, roi->cols, in vp8e_set_roi_map()
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c1373 if (!vp9_set_roi_map(ctx->cpi, roi->roi_map, roi->rows, roi->cols, in ctrl_set_roi_map()