Home
last modified time | relevance | path

Searched refs:roi_map (Results 1 – 6 of 6) 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 …]
Ddatarate_test.cc466 roi_.roi_map = in TEST_P()
467 (uint8_t *)calloc(roi_.rows * roi_.cols, sizeof(*roi_.roi_map)); in TEST_P()
472 roi_.roi_map[i * roi_.cols + j] = 1; in TEST_P()
484 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.c201 roi->roi_map = in vp8_set_roi_map()
202 (uint8_t *)calloc(roi->rows * roi->cols, sizeof(*roi->roi_map)); in vp8_set_roi_map()
207 roi->roi_map[i * roi->cols + j] = 1; in vp8_set_roi_map()
/external/libvpx/libvpx/vpx/
Dvp8cx.h647 unsigned char *roi_map; member
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c1098 if (!vp8_set_roimap(ctx->cpi, roi->roi_map, roi->rows, roi->cols, in vp8e_set_roi_map()