Home
last modified time | relevance | path

Searched refs:num_planes (Results 1 – 25 of 194) sorted by relevance

12345678

/external/libaom/libaom/av1/encoder/
Dtemporal_filter.c299 const int mb_col, const int num_planes, in tf_build_predictor() argument
303 assert(num_planes >= 1 && num_planes <= MAX_MB_PLANE); in tf_build_predictor()
329 for (int plane = 0; plane < num_planes; ++plane) { in tf_build_predictor()
390 const int num_planes, in av1_apply_temporal_filter_self() argument
394 assert(num_planes >= 1 && num_planes <= MAX_MB_PLANE); in av1_apply_temporal_filter_self()
404 for (int plane = 0; plane < num_planes; ++plane) { in av1_apply_temporal_filter_self()
520 const int num_planes, const int strength, const int use_subblock, in av1_apply_temporal_filter_yuv_c() argument
523 assert(num_planes >= 1 && num_planes <= MAX_MB_PLANE); in av1_apply_temporal_filter_yuv_c()
535 aom_memalign(16, num_planes * mb_pels * sizeof(uint32_t)); in av1_apply_temporal_filter_yuv_c()
536 memset(square_diff, 0, num_planes * mb_pels * sizeof(square_diff[0])); in av1_apply_temporal_filter_yuv_c()
[all …]
Dcontext_tree.c28 const int num_planes = av1_num_planes(cm); in alloc_mode_context() local
37 for (i = 0; i < num_planes; ++i) { in alloc_mode_context()
58 const int num_planes) { in free_mode_context() argument
64 for (i = 0; i < num_planes; ++i) { in free_mode_context()
115 static AOM_INLINE void free_tree_contexts(PC_TREE *tree, const int num_planes) { in free_tree_contexts() argument
118 free_mode_context(&tree->horizontala[i], num_planes); in free_tree_contexts()
119 free_mode_context(&tree->horizontalb[i], num_planes); in free_tree_contexts()
120 free_mode_context(&tree->verticala[i], num_planes); in free_tree_contexts()
121 free_mode_context(&tree->verticalb[i], num_planes); in free_tree_contexts()
124 free_mode_context(&tree->horizontal4[i], num_planes); in free_tree_contexts()
[all …]
/external/minigbm/
Dhelpers.c22 size_t num_planes; member
31 .num_planes = 1,
38 .num_planes = 1,
45 .num_planes = 1,
52 .num_planes = 1,
59 .num_planes = 1,
66 .num_planes = 2,
73 .num_planes = 3,
80 .num_planes = 2,
181 return layout ? layout->num_planes : 0; in drv_num_planes_from_format()
[all …]
Ddrv.c228 bo->meta.num_planes = drv_num_planes_from_format(format); in drv_bo_new()
231 if (!bo->meta.num_planes) { in drv_bo_new()
272 for (plane = 0; plane < bo->meta.num_planes; plane++) { in drv_bo_create()
319 for (plane = 0; plane < bo->meta.num_planes; plane++) { in drv_bo_create_with_modifiers()
341 for (plane = 0; plane < bo->meta.num_planes; plane++) in drv_bo_destroy()
344 for (plane = 0; plane < bo->meta.num_planes; plane++) in drv_bo_destroy()
377 for (plane = 0; plane < bo->meta.num_planes; plane++) { in drv_bo_import()
384 for (plane = 0; plane < bo->meta.num_planes; plane++) { in drv_bo_import()
395 if (plane == bo->meta.num_planes - 1 || data->offsets[plane + 1] == 0) in drv_bo_import()
576 return bo->meta.num_planes; in drv_bo_get_num_planes()
[all …]
Ddri.c91 int ret, modifier_upper, modifier_lower, num_planes, i, j; in import_into_minigbm() local
104 if (!dri->image_extension->queryImage(bo->priv, __DRI_IMAGE_ATTRIB_NUM_PLANES, &num_planes)) in import_into_minigbm()
107 bo->meta.num_planes = num_planes; in import_into_minigbm()
108 for (i = 0; i < num_planes; ++i) { in import_into_minigbm()
151 for (i = 0; i < num_planes; ++i) { in import_into_minigbm()
153 for (j = 0; j < num_planes; ++j) { in import_into_minigbm()
354 bo->meta.num_planes, in dri_bo_import()
371 bo->meta.num_planes, in dri_bo_import()
/external/libaom/libaom/av1/common/
Dblockd.c61 const int num_planes) { in av1_reset_entropy_context() argument
63 const int nplanes = 1 + (num_planes - 1) * xd->is_chroma_ref; in av1_reset_entropy_context()
75 void av1_reset_loop_filter_delta(MACROBLOCKD *xd, int num_planes) { in av1_reset_loop_filter_delta() argument
78 num_planes > 1 ? FRAME_LF_COUNT : FRAME_LF_COUNT - 2; in av1_reset_loop_filter_delta()
82 void av1_reset_loop_restoration(MACROBLOCKD *xd, const int num_planes) { in av1_reset_loop_restoration() argument
83 for (int p = 0; p < num_planes; ++p) { in av1_reset_loop_restoration()
90 const int num_planes) { in av1_setup_block_planes() argument
93 for (i = 0; i < num_planes; i++) { in av1_setup_block_planes()
98 for (i = num_planes; i < MAX_MB_PLANE; i++) { in av1_setup_block_planes()
Dalloccommon.c56 const int num_planes = av1_num_planes(cm); in av1_alloc_restoration_buffers() local
57 for (int p = 0; p < num_planes; ++p) in av1_alloc_restoration_buffers()
90 for (int p = 0; p < num_planes; ++p) { in av1_alloc_restoration_buffers()
137 const int num_planes = above_contexts->num_planes; in av1_free_above_context_buffers() local
140 for (i = 0; i < num_planes; i++) { in av1_free_above_context_buffers()
150 for (i = 0; i < num_planes; i++) { in av1_free_above_context_buffers()
162 above_contexts->num_planes = 0; in av1_free_above_context_buffers()
177 int num_planes) { in av1_alloc_above_context_buffers() argument
184 above_contexts->num_planes = num_planes; in av1_alloc_above_context_buffers()
185 for (int plane_idx = 0; plane_idx < num_planes; plane_idx++) { in av1_alloc_above_context_buffers()
[all …]
Dobmc.h18 void *fun_ctxt, const int num_planes);
26 const int num_planes = av1_num_planes(cm); in foreach_overlappable_nb_above() local
52 *above_mi, fun_ctxt, num_planes); in foreach_overlappable_nb_above()
63 const int num_planes = av1_num_planes(cm); in foreach_overlappable_nb_left() local
84 fun_ctxt, num_planes); in foreach_overlappable_nb_left()
Dthread_common.c589 int num_planes, int width) { in loop_restoration_alloc() argument
591 lr_sync->num_planes = num_planes; in loop_restoration_alloc()
596 for (j = 0; j < num_planes; j++) { in loop_restoration_alloc()
639 for (int j = 0; j < num_planes; j++) { in loop_restoration_alloc()
646 aom_malloc(sizeof(*(lr_sync->job_queue)) * num_rows_lr * num_planes)); in loop_restoration_alloc()
703 const int num_planes = av1_num_planes(cm); in enqueue_lr_jobs() local
709 for (int plane = 0; plane < num_planes; plane++) { in enqueue_lr_jobs()
717 for (int plane = 0; plane < num_planes; plane++) { in enqueue_lr_jobs()
857 const int num_planes = av1_num_planes(cm); in foreach_rest_unit_in_planes_mt() local
862 for (int plane = 0; plane < num_planes; plane++) { in foreach_rest_unit_in_planes_mt()
[all …]
/external/crosvm/devices/src/virtio/video/
Dparams.rs45 num_planes,
50 let num_planes = Into::<u32>::into(num_planes); // as usize; localVariable
51 if num_planes as usize > plane_formats.len() {
55 Into::<u32>::into(num_planes)
59 let plane_formats = plane_formats[0..num_planes as usize]
89 let num_planes = Le32::from(plane_formats.len() as u32); in to_virtio_video_params() localVariable
107 num_planes, in to_virtio_video_params()
/external/libaom/libaom/common/
Drawenc.c65 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()
Dy4menc.c99 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()
/external/libaom/libaom/aom_scale/generic/
Dyv12extend.c106 const int num_planes) { in aom_yv12_extend_frame_borders_c() argument
115 for (int plane = 0; plane < num_planes; ++plane) { in aom_yv12_extend_frame_borders_c()
128 for (int plane = 0; plane < num_planes; ++plane) { in aom_yv12_extend_frame_borders_c()
140 const int num_planes) { in extend_frame() argument
151 for (int plane = 0; plane < num_planes; ++plane) { in extend_frame()
165 for (int plane = 0; plane < num_planes; ++plane) { in extend_frame()
177 void aom_extend_frame_borders_c(YV12_BUFFER_CONFIG *ybf, const int num_planes) { in aom_extend_frame_borders_c() argument
178 extend_frame(ybf, ybf->border, num_planes); in aom_extend_frame_borders_c()
182 const int num_planes) { in aom_extend_frame_inner_borders_c() argument
186 extend_frame(ybf, inner_bw, num_planes); in aom_extend_frame_inner_borders_c()
[all …]
/external/libaom/config/x86/config/
Daom_scale_rtcd.h17 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/
Daom_scale_rtcd.h17 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_64/config/
Daom_scale_rtcd.h17 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/
Daom_scale_rtcd.h17 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/libgav1/libgav1/src/
Dfilm_grain.cc530 const dsp::Dsp& dsp, const Plane* planes, int num_planes, in BlendNoiseChromaWorker() argument
536 assert(num_planes > 0); in BlendNoiseChromaWorker()
539 const int total_full_jobs = full_jobs_per_plane * num_planes; in BlendNoiseChromaWorker()
543 total_full_jobs + ((remainder_job_height == 0) ? 0 : num_planes); in BlendNoiseChromaWorker()
552 const Plane plane = planes[job_index % num_planes]; in BlendNoiseChromaWorker()
553 const int slice_index = job_index / num_planes; in BlendNoiseChromaWorker()
710 int num_planes = 0; in AddNoise() local
713 planes_to_blend[num_planes++] = kPlaneU; in AddNoise()
714 planes_to_blend[num_planes++] = kPlaneV; in AddNoise()
726 planes_to_blend[num_planes++] = kPlaneU; in AddNoise()
[all …]
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/
Dformats.rs53 pub num_planes: usize, field
60 num_planes: 1,
67 num_planes: 1,
74 num_planes: 1,
81 num_planes: 1,
88 num_planes: 1,
95 num_planes: 2,
102 num_planes: 3,
259 for plane in 0..layout.num_planes { in canonical_image_requirements()
/external/virglrenderer/src/
Dvrend_winsys_gbm.c47 size_t num_planes; member
59 .num_planes = 1,
66 .num_planes = 1,
73 .num_planes = 1,
80 .num_planes = 1,
87 .num_planes = 2,
94 .num_planes = 3,
459 int num_planes = gbm_bo_get_plane_count(bo); in virgl_gbm_export_query() local
460 if (num_planes < 0 || num_planes > VIRGL_GBM_MAX_PLANES) in virgl_gbm_export_query()
472 for (int plane = 0; plane < num_planes; plane++) { in virgl_gbm_export_query()
/external/igt-gpu-tools/lib/
Digt_fb.c99 int num_planes; member
109 .num_planes = 1, .plane_bpp = { 16, },
117 .num_planes = 1, .plane_bpp = { 8, },
125 .num_planes = 1, .plane_bpp = { 16, },
133 .num_planes = 1, .plane_bpp = { 16, },
141 .num_planes = 1, .plane_bpp = { 16, },
149 .num_planes = 1, .plane_bpp = { 24, },
157 .num_planes = 1, .plane_bpp = { 24, },
163 .num_planes = 1, .plane_bpp = { 32, },
172 .num_planes = 1, .plane_bpp = { 32, },
[all …]
/external/libaom/libaom/test/
Dtemporal_filter_planewise_test.cc43 const int num_planes, const double *noise_level, const int use_subblock,
134 const int num_planes = 1; in RunTest() local
150 params_.ref_func(ref_frame, mbd, block_size, mb_row, mb_col, num_planes, in RunTest()
153 params_.tst_func(ref_frame, mbd, block_size, mb_row, mb_col, num_planes, in RunTest()
160 params_.ref_func(ref_frame, mbd, block_size, mb_row, mb_col, num_planes, in RunTest()
170 params_.tst_func(ref_frame, mbd, block_size, mb_row, mb_col, num_planes, in RunTest()
/external/libkmsxx/kms++util/src/
Dextcpuframebuffer.cpp14 m_num_planes = format_info.num_planes; in ExtCPUFramebuffer()
32 m_num_planes = format_info.num_planes; in ExtCPUFramebuffer()
34 for (unsigned i = 0; i < format_info.num_planes; ++i) { in ExtCPUFramebuffer()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dconvert.cc190 int32_t num_planes = DivideRoundUp(output_channels, kPiohw4ChannelsInPlane); in ConvertToPIOHW4() local
192 for (int p = 0; p < num_planes; ++p) { in ConvertToPIOHW4()
243 int num_planes = DivideRoundUp(shape.c, kPhwc4ChannelsInPlane); in ConvertToPHWC4() local
249 out.data() + b * num_pixels * num_planes * kPhwc4ChannelsInPlane; in ConvertToPHWC4()
263 const int padded_size = num_pixels * num_planes * kPhwc4ChannelsInPlane; in ConvertToPHWC4()
292 int num_planes = DivideRoundUp(shape.c, kPhwc4ChannelsInPlane); in ConvertToPHWC4Half() local
298 out.data() + b * num_pixels * num_planes * kPhwc4ChannelsInPlane; in ConvertToPHWC4Half()
315 const int padded_size = num_pixels * num_planes * kPhwc4ChannelsInPlane; in ConvertToPHWC4Half()
418 int num_planes = DivideRoundUp(shape.c, kPhwc4ChannelsInPlane); in ConvertFromPHWC4() local
420 const int padded_size = num_pixels * num_planes * kPhwc4ChannelsInPlane; in ConvertFromPHWC4()
[all …]
/external/minigbm/cros_gralloc/
Dcros_gralloc_driver.cc148 auto buffer = new cros_gralloc_buffer(hnd->id, bo, hnd, hnd->fds[hnd->num_planes], in emplace_buffer()
160 size_t num_planes; in allocate() local
199 num_planes = drv_bo_get_num_planes(bo); in allocate()
200 num_fds = num_planes; in allocate()
220 hnd->num_planes = num_planes; in allocate()
221 for (size_t plane = 0; plane < num_planes; plane++) { in allocate()
238 hnd->fds[hnd->num_planes] = ret; in allocate()
316 buffer = new cros_gralloc_buffer(id, bo, nullptr, hnd->fds[hnd->num_planes], in retain()

12345678