Home
last modified time | relevance | path

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

1234

/third_party/weston/libweston/
Dpixel-formats.c282 .num_planes = 1,
288 .num_planes = 1,
295 .num_planes = 1,
302 .num_planes = 1,
310 .num_planes = 2,
317 .num_planes = 2,
325 .num_planes = 2,
332 .num_planes = 2,
340 .num_planes = 2,
345 .num_planes = 2,
[all …]
Dpixel-formats.h45 int num_planes; member
/third_party/weston/clients/
Dsimple-dmabuf-v4l.c99 unsigned num_planes; member
175 if (display->format.num_planes != buf.length) { in queue()
224 return fmt.fmt.pix_mp.num_planes; in set_format()
246 return fmt.fmt.pix_mp.num_planes; in set_format()
258 unsigned int num_planes; in v4l_connect() local
301 num_planes = set_format(display, display->format.format); in v4l_connect()
302 if (num_planes < 1) in v4l_connect()
309 req.count = NUM_BUFFERS * num_planes; in v4l_connect()
321 if (req.count < NUM_BUFFERS * num_planes) { in v4l_connect()
350 for (i = 0; i < buffer->display->format.num_planes; ++i) in create_succeeded()
[all …]
/third_party/ffmpeg/libavcodec/
Dv4l2_buffers.c261 if (plane >= in->num_planes) in v4l2_buf_to_bufref()
281 if (plane >= out->num_planes) in v4l2_bufref_to_buf()
306 for (i = 0; i < avbuf->num_planes; i++) { in v4l2_buffer_buf_to_swframe()
319 if (avbuf->num_planes > 1) in v4l2_buffer_buf_to_swframe()
326 if (avbuf->num_planes > 1) in v4l2_buffer_buf_to_swframe()
397 for (i = 0; i < out->num_planes; i++) { in v4l2_buffer_swframe_to_buf()
513 avbuf->num_planes = 0; in ff_v4l2_buffer_initialize()
517 avbuf->num_planes++; in ff_v4l2_buffer_initialize()
520 avbuf->num_planes = 1; in ff_v4l2_buffer_initialize()
522 for (i = 0; i < avbuf->num_planes; i++) { in ff_v4l2_buffer_initialize()
[all …]
Dproresenc_kostya.c254 int num_planes; member
587 for (i = 0; i < ctx->num_planes; i++) { in encode_slice()
832 for (i = 0; i < ctx->num_planes; i++) { in find_slice_quant()
882 for (i = 1; i < ctx->num_planes - !!ctx->alpha_bits; i++) { /* estimate chroma plane */ in find_slice_quant()
919 for (i = 1; i < ctx->num_planes - !!ctx->alpha_bits; i++) { /* estimate chroma plane */ in find_slice_quant()
1007 int slice_hdr_size = 2 + 2 * (ctx->num_planes - 1); in encode_frame()
1132 slice_size = slice_hdr_size + sizes[ctx->num_planes - 1]; in encode_frame()
1133 for (i = 0; i < ctx->num_planes - 1; i++) { in encode_frame()
1246 ctx->num_planes = 3 + !!ctx->alpha_bits; in encode_init()
1346 (2 + 2 * ctx->num_planes + in encode_init()
Dv4l2_buffers.h57 int num_planes; member
/third_party/mesa3d/src/gallium/auxiliary/vl/
Dvl_video_buffer.c57 unsigned num_planes = util_format_get_num_planes(format); in vl_get_video_buffer_formats() local
60 for (i = 0; i < num_planes; i++) in vl_get_video_buffer_formats()
222 unsigned num_planes = util_format_get_num_planes(buffer->buffer_format); in vl_video_buffer_sampler_view_planes() local
231 for (i = 0; i < num_planes; ++i ) { in vl_video_buffer_sampler_view_planes()
248 for (i = 0; i < num_planes; ++i ) in vl_video_buffer_sampler_view_planes()
271 for (component = 0, i = 0; i < buf->num_planes; ++i ) { in vl_video_buffer_sampler_view_components()
456 buffer->num_planes = 0; in vl_video_buffer_create_ex2()
461 buffer->num_planes++; in vl_video_buffer_create_ex2()
/third_party/mesa3d/src/gallium/frontends/va/
Dimage.c133 img->num_planes = 2; in vlVaCreateImage()
143 img->num_planes = 2; in vlVaCreateImage()
153 img->num_planes = 3; in vlVaCreateImage()
166 img->num_planes = 1; in vlVaCreateImage()
176 img->num_planes = 1; in vlVaCreateImage()
290 img->num_planes = 1; in vlVaDeriveImage()
351 img->num_planes = 2; in vlVaDeriveImage()
514 for (i = 0; i < vaimage->num_planes; i++) { in vlVaGetImage()
529 for (i = 0; i < vaimage->num_planes; i++) { in vlVaGetImage()
648 for (i = 0; i < vaimage->num_planes; i++) { in vlVaPutImage()
[all …]
Dsurface.c594 memory_attribute->num_planes < 1) in surface_from_external_memory()
597 if (memory_attribute->num_planes > VL_NUM_COMPONENTS) in surface_from_external_memory()
618 for (i = 0; i < memory_attribute->num_planes; i++) { in surface_from_external_memory()
619 unsigned num_planes = util_format_get_num_planes(templat->buffer_format); in surface_from_external_memory() local
623 if (i < num_planes) { in surface_from_external_memory()
690 if (desc->layers[i].num_planes == 0 || desc->layers[i].num_planes > 4) in surface_from_prime_2()
693 for (unsigned j = 0; j < desc->layers[i].num_planes; ++j) in surface_from_prime_2()
697 input_planes += desc->layers[i].num_planes; in surface_from_prime_2()
739 if (layer_plane >= desc->layers[layer].num_planes) in surface_from_prime_2()
1301 desc->layers[p].num_planes = 1; in vlVaExportSurfaceHandle()
[all …]
/third_party/libdrm/tests/kms/
Dlibkms-test-device.c147 device->num_planes++; in kms_device_probe_planes()
180 for (i = 0; i < device->num_planes; i++) in kms_device_close()
207 for (i = 0; i < device->num_planes; i++) { in kms_device_find_plane_by_type()
Dkms-universal-planes.c208 printf("Planes: %u\n", device->num_planes); in main()
210 for (i = 0; i < device->num_planes; i++) { in main()
/third_party/gstreamer/gstplugins_bad/sys/v4l2codecs/
Dgstv4l2format.c28 gint num_planes; member
134 if (entry->num_planes != 1) { in gst_v4l2_format_to_video_info()
145 g_return_val_if_fail (pix_mp->num_planes == 1, FALSE); in gst_v4l2_format_to_video_info()
/third_party/skia/third_party/externals/egl-registry/extensions/MESA/
DEGL_MESA_image_dma_buf_export.txt67 int *num_planes,
94 int *num_planes,
99 drm modifiers. <fourcc>, <num_planes> and <modifiers> may be NULL,
104 arrays sized according to the num_planes values retrieved previously.
/third_party/mesa3d/docs/_extra/specs/
DMESA_image_dma_buf_export.txt67 int *num_planes,
94 int *num_planes,
99 drm modifiers. <fourcc>, <num_planes> and <modifiers> may be NULL,
104 arrays sized according to the num_planes values retrieved previously.
/third_party/EGL/extensions/MESA/
DEGL_MESA_image_dma_buf_export.txt67 int *num_planes,
94 int *num_planes,
99 drm modifiers. <fourcc>, <num_planes> and <modifiers> may be NULL,
104 arrays sized according to the num_planes values retrieved previously.
/third_party/mesa3d/src/egl/drivers/dri2/
Dplatform_android.c240 .num_planes = ycbcr.chroma_step == 2 ? 2 : 3, in get_yuv_buffer_info()
276 if (out_buf_info->num_planes == 3) in get_yuv_buffer_info()
279 assert(num_fds == out_buf_info->num_planes); in get_yuv_buffer_info()
293 int num_planes = 0; in native_window_buffer_get_buffer_info() local
316 num_planes = get_native_buffer_fds(buf, fds); in native_window_buffer_get_buffer_info()
317 if (num_planes == 0) in native_window_buffer_get_buffer_info()
320 assert(num_planes == 1); in native_window_buffer_get_buffer_info()
338 .num_planes = num_planes, in native_window_buffer_get_buffer_info()
391 .num_planes = info.num_fds, in cros_get_buffer_info()
399 for (int i = 0; i < out_buf_info->num_planes; i++) { in cros_get_buffer_info()
[all …]
Dplatform_ohos.c113 int num_planes = 0; in native_window_buffer_get_buffer_info() local
122 num_planes = get_native_buffer_fds(buf, fds); in native_window_buffer_get_buffer_info()
123 if (num_planes == 0) in native_window_buffer_get_buffer_info()
126 assert(num_planes == 1); in native_window_buffer_get_buffer_info()
144 .num_planes = num_planes, in native_window_buffer_get_buffer_info()
171 buf_info->num_planes, buf_info->pitches, buf_info->offsets, in ohos_create_image_from_buffer_info()
179 buf_info->drm_fourcc, buf_info->fds, buf_info->num_planes, in ohos_create_image_from_buffer_info()
Dplatform_android_mapper.cpp135 buf_info.num_planes = layouts.size(); in mapper_metadata_get_buffer_info()
137 bool per_plane_unique_fd = buf->handle->numFds == buf_info.num_planes; in mapper_metadata_get_buffer_info()
Dplatform_ohos.h101 int num_planes; member
/third_party/weston/libweston/backend-drm/
Dfb.c158 fb->num_planes = 1; in drm_fb_create_dumb()
359 fb->num_planes = dmabuf->attributes.n_planes; in drm_fb_get_from_dmabuf()
372 fb->num_planes = 1; in drm_fb_get_from_dmabuf()
423 fb->num_planes = gbm_bo_get_plane_count(bo); in drm_fb_get_from_bo()
424 for (i = 0; i < fb->num_planes; i++) { in drm_fb_get_from_bo()
430 fb->num_planes = 1; in drm_fb_get_from_bo()
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_vp3_video.c123 buffer->num_planes = 2; in nouveau_vp3_video_buffer_create()
126 for (i = 1; i < buffer->num_planes; ++i) { in nouveau_vp3_video_buffer_create()
133 for (component = 0, i = 0; i < buffer->num_planes; ++i ) { in nouveau_vp3_video_buffer_create()
153 for (j = 0; j < buffer->num_planes; ++j) { in nouveau_vp3_video_buffer_create()
Dnouveau_video.c654 for (i = 0; i < buf->num_planes; ++i ) { in nouveau_video_buffer_sampler_view_planes()
671 for (i = 0; i < buf->num_planes; ++i ) in nouveau_video_buffer_sampler_view_planes()
689 for (component = 0, i = 0; i < buf->num_planes; ++i ) { in nouveau_video_buffer_sampler_view_components()
728 for (i = 0; i < buf->num_planes; ++i ) { in nouveau_video_buffer_surfaces()
741 for (i = 0; i < buf->num_planes; ++i ) in nouveau_video_buffer_surfaces()
755 for (i = 0; i < buf->num_planes; ++i) { in nouveau_video_buffer_destroy()
801 buffer->num_planes = 2; in nouveau_video_buffer_create()
/third_party/gstreamer/gstplugins_bad/sys/kms/
Dgstkmsallocator.c176 gint num_planes = GST_VIDEO_INFO_N_PLANES (vinfo); in gst_kms_allocator_memory_create() local
202 for (i = 0; i < num_planes; i++) { in gst_kms_allocator_memory_create()
447 gint num_planes = GST_VIDEO_INFO_N_PLANES (vinfo); in gst_kms_allocator_add_fb() local
459 for (i = 0; i < num_planes; i++) { in gst_kms_allocator_add_fb()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_texture.c419 if (tex->buffer.b.is_shared || tex->num_planes > 1) in si_reallocate_texture_inplace()
572 else if (tex->num_planes > 1) in si_resource_get_param()
573 *value = tex->num_planes; in si_resource_get_param()
1247 unsigned num_planes = util_format_get_num_planes(templ->format); in si_texture_create_with_modifier() local
1248 assert(num_planes <= SI_TEXTURE_MAX_PLANES); in si_texture_create_with_modifier()
1251 for (unsigned i = 0; i < num_planes; i++) { in si_texture_create_with_modifier()
1261 if (num_planes > 1) in si_texture_create_with_modifier()
1276 for (unsigned i = 0; i < num_planes; i++) { in si_texture_create_with_modifier()
1286 tex->num_planes = num_planes; in si_texture_create_with_modifier()
1505 tex->num_planes = 1; in si_texture_from_winsys_buffer()
[all …]
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_drm.c389 image->num_planes = modifier_props[j].drmFormatModifierPlaneCount; in wsi_create_native_image()
394 for (uint32_t p = 0; p < image->num_planes; p++) { in wsi_create_native_image()
430 image->num_planes = 1; in wsi_create_native_image()
651 image->num_planes = 1; in wsi_create_prime_image()

1234