Searched refs:roi_map (Results 1 – 10 of 10) sorted by relevance
/external/libvpx/libvpx/test/ |
D | set_roi.cc | 57 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 …]
|
D | vp8_datarate_test.cc | 464 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()
|
D | vp9_datarate_test.cc | 697 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/ |
D | set_maps.c | 87 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()
|
D | vpx_temporal_svc_encoder.c | 227 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/ |
D | vp8cx.h | 727 unsigned char *roi_map; member
|
/external/libaom/libaom/aom/ |
D | aomcx.h | 1126 unsigned char *roi_map; member
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_encoder.c | 582 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/ |
D | vp8_cx_iface.c | 1123 if (!vp8_set_roimap(ctx->cpi, roi->roi_map, roi->rows, roi->cols, in vp8e_set_roi_map()
|
/external/libvpx/libvpx/vp9/ |
D | vp9_cx_iface.c | 1373 if (!vp9_set_roi_map(ctx->cpi, roi->roi_map, roi->rows, roi->cols, in ctrl_set_roi_map()
|