Home
last modified time | relevance | path

Searched refs:active_map (Results 1 – 21 of 21) sorted by relevance

/external/libvpx/libvpx/test/
Dactive_map_test.cc43 uint8_t active_map[9 * 13] = { in PreEncodeFrameHook() local
59 map.active_map = active_map; in PreEncodeFrameHook()
65 map.active_map = NULL; in PreEncodeFrameHook()
Dactive_map_refresh_test.cc89 uint8_t *active_map = new uint8_t[mb_width * mb_height]; in PreEncodeFrameHook() local
90 GenerateMap(mb_height, mb_width, *current, *previous, active_map); in PreEncodeFrameHook()
93 map.active_map = active_map; in PreEncodeFrameHook()
95 delete[] active_map; in PreEncodeFrameHook()
/external/libaom/libaom/test/
Dactive_map_test.cc45 uint8_t active_map[9 * 13] = { in PreEncodeFrameHook() local
61 map.active_map = active_map; in PreEncodeFrameHook()
67 map.active_map = NULL; in PreEncodeFrameHook()
/external/libvpx/libvpx/vp8/encoder/
Dlookahead.c93 unsigned char *active_map) { in vp8_lookahead_push() argument
108 if (ctx->max_sz == 1 && active_map && !flags) { in vp8_lookahead_push()
115 if (active_map[col]) break; in vp8_lookahead_push()
125 if (!active_map[active_end]) break; in vp8_lookahead_push()
136 active_map += mb_cols; in vp8_lookahead_push()
Dlookahead.h61 unsigned char *active_map);
Donyx_int.h488 unsigned char *active_map; member
Donyx_if.c425 vpx_free(cpi->active_map); in dealloc_compressor_data()
426 cpi->active_map = 0; in dealloc_compressor_data()
1211 vpx_free(cpi->active_map); in vp8_alloc_compressor_data()
1212 CHECK_MEM_ERROR(cpi->active_map, vpx_calloc(cm->mb_rows * cm->mb_cols, in vp8_alloc_compressor_data()
1213 sizeof(*cpi->active_map))); in vp8_alloc_compressor_data()
1214 memset(cpi->active_map, 1, (cm->mb_rows * cm->mb_cols)); in vp8_alloc_compressor_data()
4800 cpi->active_map_enabled ? cpi->active_map : NULL)) { in vp8_receive_raw_frame()
5385 memcpy(cpi->active_map, map, rows * cols); in vp8_set_active_map()
Dethreading.c173 x->active_ptr = cpi->active_map + map_index + mb_col; in thread_encoding_proc()
Dencodeframe.c450 x->active_ptr = cpi->active_map + map_index + mb_col; in encode_mb_row()
/external/libaom/libaom/examples/
Dset_maps.c71 map.active_map = (uint8_t *)malloc(map.rows * map.cols); in set_active_map()
72 for (i = 0; i < map.rows * map.cols; ++i) map.active_map[i] = i % 2; in set_active_map()
77 free(map.active_map); in set_active_map()
86 map.active_map = NULL; in unset_active_map()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_lookahead.c135 if (!new_dimensions && ctx->max_sz == 1 && active_map && !flags) { in vp9_lookahead_push()
142 if (active_map[col]) break; in vp9_lookahead_push()
152 if (!active_map[active_end]) break; in vp9_lookahead_push()
163 active_map += mb_cols; in vp9_lookahead_push()
Dvp9_encoder.c531 if (cpi->active_map.enabled || cpi->active_map.update) { in suppress_active_map()
545 const unsigned char *const active_map = cpi->active_map.map; in apply_active_map() local
551 cpi->active_map.enabled = 0; in apply_active_map()
552 cpi->active_map.update = 1; in apply_active_map()
555 if (cpi->active_map.update) { in apply_active_map()
556 if (cpi->active_map.enabled) { in apply_active_map()
558 if (seg_map[i] == AM_SEGMENT_ID_ACTIVE) seg_map[i] = active_map[i]; in apply_active_map()
574 cpi->active_map.update = 0; in apply_active_map()
747 unsigned char *const active_map_8x8 = cpi->active_map.map; in vp9_set_active_map()
750 cpi->active_map.update = 1; in vp9_set_active_map()
[all …]
Dvp9_encoder.h675 ActiveMap active_map; member
/external/libvpx/libvpx/examples/
Dset_maps.c104 map.active_map = (uint8_t *)malloc(map.rows * map.cols); in set_active_map()
105 for (i = 0; i < map.rows * map.cols; ++i) map.active_map[i] = i % 2; in set_active_map()
110 free(map.active_map); in set_active_map()
119 map.active_map = NULL; in unset_active_map()
/external/libvpx/libvpx/vpx/
Dvp8cx.h751 unsigned char *active_map; member
/external/libaom/libaom/av1/encoder/
Dencoder.c404 if (cpi->active_map.enabled || cpi->active_map.update) in suppress_active_map()
414 const unsigned char *const active_map = cpi->active_map.map; in apply_active_map() local
420 cpi->active_map.enabled = 0; in apply_active_map()
421 cpi->active_map.update = 1; in apply_active_map()
424 if (cpi->active_map.update) { in apply_active_map()
425 if (cpi->active_map.enabled) { in apply_active_map()
429 if (seg_map[i] == AM_SEGMENT_ID_ACTIVE) seg_map[i] = active_map[i]; in apply_active_map()
456 cpi->active_map.update = 0; in apply_active_map()
464 unsigned char *const active_map_8x8 = cpi->active_map.map; in av1_set_active_map()
469 cpi->active_map.update = 1; in av1_set_active_map()
[all …]
Dencoder.h1173 ActiveMap active_map; member
/external/libaom/libaom/aom/
Daomcx.h1307 unsigned char *active_map; member
/external/libvpx/libvpx/vp9/
Dvp9_cx_iface.c1464 if (!vp9_set_active_map(ctx->cpi, map->active_map, (int)map->rows, in ctrl_set_active_map()
1478 if (!vp9_get_active_map(ctx->cpi, map->active_map, (int)map->rows, in ctrl_get_active_map()
/external/libvpx/libvpx/vp8/
Dvp8_cx_iface.c1181 if (!vp8_set_active_map(ctx->cpi, map->active_map, map->rows, map->cols)) { in vp8e_set_activemap()
/external/libaom/libaom/av1/
Dav1_cx_iface.c2423 if (!av1_set_active_map(ctx->cpi, map->active_map, (int)map->rows, in ctrl_set_active_map()
2438 if (!av1_get_active_map(ctx->cpi, map->active_map, (int)map->rows, in ctrl_get_active_map()