/external/libaom/libaom/av1/encoder/ |
D | context_tree.c | 28 const int num_planes = av1_num_planes(cm); in alloc_mode_context() local 34 for (i = 0; i < num_planes; ++i) { in alloc_mode_context() 54 static void free_mode_context(PICK_MODE_CONTEXT *ctx, const int num_planes) { in free_mode_context() argument 58 for (i = 0; i < num_planes; ++i) { in free_mode_context() 109 static void free_tree_contexts(PC_TREE *tree, const int num_planes) { in free_tree_contexts() argument 112 free_mode_context(&tree->horizontala[i], num_planes); in free_tree_contexts() 113 free_mode_context(&tree->horizontalb[i], num_planes); in free_tree_contexts() 114 free_mode_context(&tree->verticala[i], num_planes); in free_tree_contexts() 115 free_mode_context(&tree->verticalb[i], num_planes); in free_tree_contexts() 118 free_mode_context(&tree->horizontal4[i], num_planes); in free_tree_contexts() [all …]
|
D | partition_strategy.h | 83 const int num_planes = av1_num_planes(cm); in set_offsets_for_motion_search() local 92 num_planes); in set_offsets_for_motion_search() 102 set_plane_n4(xd, mi_width, mi_height, num_planes); in set_offsets_for_motion_search() 112 av1_setup_src_planes(x, cpi->source, mi_row, mi_col, num_planes, bsize); in set_offsets_for_motion_search()
|
/external/libaom/libaom/av1/common/ |
D | blockd.c | 60 BLOCK_SIZE bsize, const int num_planes) { in av1_reset_skip_context() argument 67 nplanes = 1 + (num_planes - 1) * chroma_ref; in av1_reset_skip_context() 79 void av1_reset_loop_filter_delta(MACROBLOCKD *xd, int num_planes) { in av1_reset_loop_filter_delta() argument 82 num_planes > 1 ? FRAME_LF_COUNT : FRAME_LF_COUNT - 2; in av1_reset_loop_filter_delta() 86 void av1_reset_loop_restoration(MACROBLOCKD *xd, const int num_planes) { in av1_reset_loop_restoration() argument 87 for (int p = 0; p < num_planes; ++p) { in av1_reset_loop_restoration() 94 const int num_planes) { in av1_setup_block_planes() argument 97 for (i = 0; i < num_planes; i++) { in av1_setup_block_planes() 102 for (i = num_planes; i < MAX_MB_PLANE; i++) { in av1_setup_block_planes()
|
D | obmc.h | 18 const int num_planes); 25 const int num_planes = av1_num_planes(cm); in foreach_overlappable_nb_above() local 53 fun_ctxt, num_planes); in foreach_overlappable_nb_above() 63 const int num_planes = av1_num_planes(cm); in foreach_overlappable_nb_left() local 86 fun_ctxt, num_planes); in foreach_overlappable_nb_left()
|
D | alloccommon.c | 110 const int num_planes = av1_num_planes(cm); in av1_alloc_restoration_buffers() local 111 for (int p = 0; p < num_planes; ++p) in av1_alloc_restoration_buffers() 144 for (int p = 0; p < num_planes; ++p) { in av1_alloc_restoration_buffers() 192 const int num_planes = cm->num_allocated_above_context_planes; in av1_free_above_context_buffers() local 195 for (i = 0; i < num_planes; i++) { in av1_free_above_context_buffers() 205 for (i = 0; i < num_planes; i++) { in av1_free_above_context_buffers() 232 const int num_planes = av1_num_planes(cm); in av1_alloc_above_context_buffers() local 240 cm->num_allocated_above_context_planes = num_planes; in av1_alloc_above_context_buffers() 241 for (plane_idx = 0; plane_idx < num_planes; plane_idx++) { in av1_alloc_above_context_buffers() 256 for (plane_idx = 0; plane_idx < num_planes; plane_idx++) { in av1_alloc_above_context_buffers()
|
D | thread_common.c | 582 int num_planes, int width) { in loop_restoration_alloc() argument 584 lr_sync->num_planes = num_planes; in loop_restoration_alloc() 589 for (j = 0; j < num_planes; j++) { in loop_restoration_alloc() 632 for (int j = 0; j < num_planes; j++) { in loop_restoration_alloc() 639 aom_malloc(sizeof(*(lr_sync->job_queue)) * num_rows_lr * num_planes)); in loop_restoration_alloc() 696 const int num_planes = av1_num_planes(cm); in enqueue_lr_jobs() local 702 for (int plane = 0; plane < num_planes; plane++) { in enqueue_lr_jobs() 710 for (int plane = 0; plane < num_planes; plane++) { in enqueue_lr_jobs() 850 const int num_planes = av1_num_planes(cm); in foreach_rest_unit_in_planes_mt() local 855 for (int plane = 0; plane < num_planes; plane++) { in foreach_rest_unit_in_planes_mt() [all …]
|
/external/minigbm/ |
D | helpers.c | 22 size_t num_planes; member 31 .num_planes = 1, 38 .num_planes = 1, 45 .num_planes = 1, 52 .num_planes = 1, 59 .num_planes = 2, 66 .num_planes = 3, 157 return layout ? layout->num_planes : 0; in drv_num_planes_from_format() 164 assert(plane < layout->num_planes); in drv_height_from_format() 173 assert(plane < layout->num_planes); in drv_bytes_per_pixel_from_format() [all …]
|
D | drv.c | 240 bo->num_planes = drv_num_planes_from_format(format); in drv_bo_new() 242 if (!bo->num_planes) { in drv_bo_new() 271 for (plane = 0; plane < bo->num_planes; plane++) { in drv_bo_create() 309 for (plane = 0; plane < bo->num_planes; plane++) { in drv_bo_create_with_modifiers() 329 for (plane = 0; plane < bo->num_planes; plane++) in drv_bo_destroy() 332 for (plane = 0; plane < bo->num_planes; plane++) in drv_bo_destroy() 363 for (plane = 0; plane < bo->num_planes; plane++) { in drv_bo_import() 375 if (plane == bo->num_planes - 1 || data->offsets[plane + 1] == 0) in drv_bo_import() 544 return bo->num_planes; in drv_bo_get_num_planes() 560 assert(plane < bo->num_planes); in drv_bo_get_plane_fd() [all …]
|
/external/libaom/libaom/common/ |
D | rawenc.c | 65 const int *planes, const int num_planes, in raw_write_image_file_or_md5() argument 69 for (int i = 0; i < num_planes; ++i) { in raw_write_image_file_or_md5() 89 const int num_planes, FILE *file) { in raw_write_image_file() argument 90 raw_write_image_file_or_md5(img, planes, num_planes, file, write_file); in raw_write_image_file() 94 const int num_planes, MD5Context *md5) { in raw_update_image_md5() argument 95 raw_write_image_file_or_md5(img, planes, num_planes, md5, write_md5); in raw_update_image_md5()
|
D | y4menc.c | 99 int num_planes = img->monochrome ? 1 : 3; in y4m_write_image_file() local 100 raw_write_image_file(img, planes, num_planes, file); in y4m_write_image_file() 105 int num_planes = img->monochrome ? 1 : 3; in y4m_update_image_md5() local 106 raw_update_image_md5(img, planes, num_planes, md5); in y4m_update_image_md5()
|
D | rawenc.h | 24 const int num_planes, FILE *file); 26 const int num_planes, MD5Context *md5);
|
/external/libaom/libaom/aom_scale/generic/ |
D | yv12extend.c | 104 const int num_planes) { in aom_yv12_extend_frame_borders_c() argument 112 for (int plane = 0; plane < num_planes; ++plane) { in aom_yv12_extend_frame_borders_c() 123 for (int plane = 0; plane < num_planes; ++plane) { in aom_yv12_extend_frame_borders_c() 135 const int num_planes) { in extend_frame() argument 145 for (int plane = 0; plane < num_planes; ++plane) { in extend_frame() 157 for (int plane = 0; plane < num_planes; ++plane) { in extend_frame() 169 void aom_extend_frame_borders_c(YV12_BUFFER_CONFIG *ybf, const int num_planes) { in aom_extend_frame_borders_c() argument 170 extend_frame(ybf, ybf->border, num_planes); in aom_extend_frame_borders_c() 174 const int num_planes) { in aom_extend_frame_inner_borders_c() argument 178 extend_frame(ybf, inner_bw, num_planes); in aom_extend_frame_inner_borders_c() [all …]
|
/external/libaom/config/x86_64/config/ |
D | aom_scale_rtcd.h | 17 void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 23 void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 47 …(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, const int num_planes); 59 void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 80 …h_new_border_c(struct yv12_buffer_config *ybf, int new_border, int byte_alignment, int num_planes);
|
/external/libaom/config/x86/config/ |
D | aom_scale_rtcd.h | 17 void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 23 void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 47 …(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, const int num_planes); 59 void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 80 …h_new_border_c(struct yv12_buffer_config *ybf, int new_border, int byte_alignment, int num_planes);
|
/external/libaom/config/arm/config/ |
D | aom_scale_rtcd.h | 17 void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 23 void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 47 …(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, const int num_planes); 59 void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 80 …h_new_border_c(struct yv12_buffer_config *ybf, int new_border, int byte_alignment, int num_planes);
|
/external/libaom/config/arm64/config/ |
D | aom_scale_rtcd.h | 17 void aom_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 23 void aom_extend_frame_inner_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 47 …(const struct yv12_buffer_config *src_bc, struct yv12_buffer_config *dst_bc, const int num_planes); 59 void aom_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf, const int num_planes); 80 …h_new_border_c(struct yv12_buffer_config *ybf, int new_border, int byte_alignment, int num_planes);
|
/external/libkmsxx/kms++util/src/ |
D | videodevice.cpp | 55 mp.num_planes = pfi.num_planes; in v4l2_set_format() 57 for (unsigned i = 0; i < pfi.num_planes; ++i) { in v4l2_set_format() 72 ASSERT(mp.num_planes == pfi.num_planes); in v4l2_set_format() 74 for (unsigned i = 0; i < pfi.num_planes; ++i) { in v4l2_set_format() 82 ASSERT(pfi.num_planes == 1); in v4l2_set_format() 122 buf.length = pfi.num_planes; in v4l2_queue_dmabuf() 127 for (unsigned i = 0; i < pfi.num_planes; ++i) { in v4l2_queue_dmabuf()
|
D | extcpuframebuffer.cpp | 15 m_num_planes = format_info.num_planes; in ExtCPUFramebuffer() 33 m_num_planes = format_info.num_planes; in ExtCPUFramebuffer() 35 for (unsigned i = 0; i < format_info.num_planes; ++i) { in ExtCPUFramebuffer()
|
D | cpuframebuffer.cpp | 14 m_num_planes = format_info.num_planes; in CPUFramebuffer() 16 for (unsigned i = 0; i < format_info.num_planes; ++i) { in CPUFramebuffer()
|
/external/mesa3d/src/gallium/state_trackers/va/ |
D | image.c | 131 img->num_planes = 2; in vlVaCreateImage() 141 img->num_planes = 2; in vlVaCreateImage() 151 img->num_planes = 3; in vlVaCreateImage() 163 img->num_planes = 1; in vlVaCreateImage() 173 img->num_planes = 1; in vlVaCreateImage() 245 img->num_planes = 1; in vlVaDeriveImage() 255 img->num_planes = 1; in vlVaDeriveImage() 387 for (i = 0; i < vaimage->num_planes; i++) { in vlVaGetImage() 402 for (i = 0; i < vaimage->num_planes; i++) { in vlVaGetImage() 513 for (i = 0; i < vaimage->num_planes; i++) { in vlVaPutImage() [all …]
|
/external/libkmsxx/kms++/src/ |
D | extframebuffer.cpp | 25 m_num_planes = format_info.num_planes; in ExtFramebuffer() 27 for (int i = 0; i < format_info.num_planes; ++i) { in ExtFramebuffer() 57 m_num_planes = format_info.num_planes; in ExtFramebuffer() 59 for (int i = 0; i < format_info.num_planes; ++i) { in ExtFramebuffer()
|
/external/libaom/libaom/aom_scale/mips/dspr2/ |
D | yv12extend_dspr2.c | 131 const int num_planes) { in aom_extend_frame_borders_dspr2() argument 132 extend_frame(ybf, ybf->border, num_planes); in aom_extend_frame_borders_dspr2() 136 const int num_planes) { in aom_extend_frame_inner_borders_dspr2() argument 140 extend_frame(ybf, inner_bw, num_planes); in aom_extend_frame_inner_borders_dspr2()
|
/external/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 112 int num_planes; member 197 size_t num_planes, plane; in check_bo() local 212 num_planes = gbm_bo_get_plane_count(bo); in check_bo() 214 CHECK(num_planes == 2); in check_bo() 216 CHECK(num_planes == 3); in check_bo() 218 CHECK(num_planes == 1); in check_bo() 227 for (plane = 0; plane < num_planes; plane++) { in check_bo() 663 size_t num_planes, p; in test_import_modifier() local 672 num_planes = gbm_bo_get_plane_count(bo1); in test_import_modifier() 673 fd_data.num_fds = num_planes; in test_import_modifier() [all …]
|
/external/libdrm/tests/planetest/ |
D | dev.c | 207 dev->crtcs[i].num_planes = 0; in create_sp_dev() 228 dev->num_planes = pr->count_planes; in create_sp_dev() 229 dev->planes = calloc(dev->num_planes, sizeof(struct sp_plane)); in create_sp_dev() 230 for(i = 0; i < dev->num_planes; i++) { in create_sp_dev() 251 dev->crtcs[j].num_planes++; in create_sp_dev() 333 for (i = 0; i< dev->num_planes; i++) { in destroy_sp_dev()
|
/external/minigbm/cros_gralloc/ |
D | cros_gralloc_driver.cc | 91 size_t num_planes; in allocate() local 128 num_planes = drv_bo_get_num_planes(bo); in allocate() 131 hnd->base.numFds = num_planes; in allocate() 132 hnd->base.numInts = handle_data_size - num_planes; in allocate() 134 for (size_t plane = 0; plane < num_planes; plane++) { in allocate()
|