/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | audio-buffer.c | 36 g_slice_free1 (buffer->n_planes * sizeof (gpointer), buffer->planes); in gst_audio_buffer_unmap_internal() 38 g_slice_free1 (buffer->n_planes * sizeof (GstMapInfo), buffer->map_infos); in gst_audio_buffer_unmap_internal() 53 gst_audio_buffer_unmap_internal (buffer, buffer->n_planes); in gst_audio_buffer_unmap() 136 buffer->n_planes = 1; in gst_audio_buffer_map() 146 buffer->n_planes = GST_AUDIO_BUFFER_CHANNELS (buffer); in gst_audio_buffer_map() 148 if (G_UNLIKELY (buffer->n_planes > 8)) { in gst_audio_buffer_map() 149 buffer->planes = g_slice_alloc (buffer->n_planes * sizeof (gpointer)); in gst_audio_buffer_map() 151 g_slice_alloc (buffer->n_planes * sizeof (GstMapInfo)); in gst_audio_buffer_map() 159 buffer->n_planes * sizeof (buffer->map_infos[0])); in gst_audio_buffer_map() 160 memset (buffer->planes, 0, buffer->n_planes * sizeof (buffer->planes[0])); in gst_audio_buffer_map() [all …]
|
D | audio-buffer.h | 54 gint n_planes; member 88 #define GST_AUDIO_BUFFER_N_PLANES(b) ((b)->n_planes)
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | video-frame.c | 94 g_return_val_if_fail (info->finfo->n_planes == meta->n_planes, FALSE); in gst_video_frame_map_id() 102 for (i = 0; i < meta->n_planes; i++) { in gst_video_frame_map_id() 125 for (i = 0; i < info->finfo->n_planes; i++) { in gst_video_frame_map_id() 270 for (i = 0; i < frame->info.finfo->n_planes; i++) { in gst_video_frame_unmap() 318 g_return_val_if_fail (finfo->n_planes > plane, FALSE); in gst_video_frame_copy_plane() 409 guint i, n_planes; in gst_video_frame_copy() local 423 n_planes = dinfo->finfo->n_planes; in gst_video_frame_copy() 425 for (i = 0; i < n_planes; i++) in gst_video_frame_copy()
|
D | gstvideometa.c | 64 emeta->width = emeta->height = emeta->n_planes = 0; in gst_video_meta_init() 104 dmeta->n_planes = smeta->n_planes; in gst_video_meta_transform() 105 for (i = 0; i < dmeta->n_planes; i++) { in gst_video_meta_transform() 290 height, info.finfo->n_planes, info.offset, info.stride); in gst_buffer_add_video_meta() 313 guint height, guint n_planes, gsize offset[GST_VIDEO_MAX_PLANES], in gst_buffer_add_video_meta_full() argument 332 meta->n_planes = n_planes; in gst_buffer_add_video_meta_full() 333 for (i = 0; i < n_planes; i++) { in gst_buffer_add_video_meta_full() 365 g_return_val_if_fail (plane < meta->n_planes, FALSE); in gst_video_meta_map() 391 g_return_val_if_fail (plane < meta->n_planes, FALSE); in gst_video_meta_unmap() 517 for (i = 0; i < meta->n_planes; i++) { in gst_video_meta_get_plane_height()
|
D | gstvideometa.h | 89 guint n_planes; member 119 guint n_planes, gsize offset[GST_VIDEO_MAX_PLANES],
|
D | video-info.c | 642 for (i = 0; i < info->finfo->n_planes; i++) { in gst_video_info_is_equal() 1386 gint i, n_planes; in gst_video_info_align_full() local 1395 n_planes = GST_VIDEO_INFO_N_PLANES (info); in gst_video_info_align_full() 1398 n_planes--; in gst_video_info_align_full() 1404 for (i = 0; i < n_planes; i++) { in gst_video_info_align_full() 1441 for (i = 0; i < n_planes; i++) { in gst_video_info_align_full() 1459 for (i = 0; i < n_planes; i++) { in gst_video_info_align_full()
|
D | video-format.h | 574 guint n_planes; member 637 #define GST_VIDEO_FORMAT_INFO_N_PLANES(info) ((info)->n_planes)
|
/third_party/gstreamer/gstplugins_base/gst/rawparse/ |
D | gstrawvideoparse.c | 507 guint n_planes; in gst_raw_video_parse_set_property() local 523 n_planes = GST_VIDEO_INFO_N_PLANES (&(props_cfg->info)); in gst_raw_video_parse_set_property() 526 if (gst_value_array_get_size (value) < n_planes) { in gst_raw_video_parse_set_property() 529 ("expected: %u, got: %u", n_planes, in gst_raw_video_parse_set_property() 536 for (i = 0; i < n_planes; ++i) { in gst_raw_video_parse_set_property() 558 guint n_planes; in gst_raw_video_parse_set_property() local 574 n_planes = GST_VIDEO_INFO_N_PLANES (&(props_cfg->info)); in gst_raw_video_parse_set_property() 577 if (gst_value_array_get_size (value) < n_planes) { in gst_raw_video_parse_set_property() 580 ("expected: %u, got: %u", n_planes, in gst_raw_video_parse_set_property() 587 for (i = 0; i < n_planes; ++i) { in gst_raw_video_parse_set_property() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/applemedia/ |
D | corevideobuffer.c | 145 guint n_planes; in gst_core_video_wrap_pixel_buffer() local 164 n_planes = CVPixelBufferGetPlaneCount (pixel_buf); in gst_core_video_wrap_pixel_buffer() 165 for (i = 0; i < n_planes; i++) { in gst_core_video_wrap_pixel_buffer() 188 n_planes = 1; in gst_core_video_wrap_pixel_buffer() 210 GST_VIDEO_INFO_FORMAT (info), info->width, info->height, n_planes, in gst_core_video_wrap_pixel_buffer()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_formats.c | 59 .n_planes = 1, \ 74 .n_planes = 1, \ 86 .n_planes = 1, \ 102 .n_planes = 2, \ 137 .n_planes = __n_planes, \ 450 for (uint32_t i = 0; i < anv_format->n_planes; ++i) { in anv_format_has_npot_plane() 484 assert(plane < format->n_planes); in anv_get_format_plane() 699 for (unsigned p = 0; p < anv_format->n_planes; p++) { in anv_get_image_format_features2() 707 if (anv_format->n_planes > 1) in anv_get_image_format_features2() 764 if (anv_format->n_planes > 1) { in anv_get_image_format_features2() [all …]
|
D | anv_image.c | 605 if (image->n_planes != 1) { in add_aux_surface_if_supported() 873 for (uint32_t p = 0; p < image->n_planes; ++p) { in check_memory_bindings() 983 for (int i = 0; i < image->n_planes; ++i) { in check_drm_format_mod() 1122 if (image->n_planes == 1) in add_all_surfaces_explicit_layout() 1128 assert(image->n_planes == 1 && mod_plane_count == 2); in add_all_surfaces_explicit_layout() 1130 assert(image->n_planes == mod_plane_count); in add_all_surfaces_explicit_layout() 1306 image->n_planes = anv_get_format_planes(image->vk.format); in anv_image_init() 1313 image->disjoint = image->n_planes > 1 && in anv_image_init() 1362 assert(image->n_planes == 1); in anv_image_finish() 1575 image->n_planes = anv_get_format_planes(image->vk.format); in resolve_ahw_image() [all …]
|
D | genX_state.c | 713 sampler->n_planes = 1; in genX() 750 sampler->n_planes = conversion->format->n_planes; in genX() 803 sampler->n_planes * 32, 32); in genX() 806 for (unsigned p = 0; p < sampler->n_planes; p++) { in genX()
|
/third_party/weston/libweston/ |
D | linux-dmabuf.c | 43 for (i = 0; i < buffer->attributes.n_planes; i++) { in linux_dmabuf_buffer_destroy() 48 buffer->attributes.n_planes = 0; in linux_dmabuf_buffer_destroy() 126 buffer->attributes.n_planes++; in params_add() 233 if (!buffer->attributes.n_planes) { in params_create_common() 241 for (i = 0; i < buffer->attributes.n_planes; i++) { in params_create_common() 262 for (i = 0; i < buffer->attributes.n_planes; i++) { in params_create_common()
|
D | linux-dmabuf.h | 51 int n_planes; member
|
/third_party/ffmpeg/libavformat/ |
D | avisynth.c | 88 int n_planes; member 482 avs->n_planes = 4; in avisynth_create_stream_video() 486 avs->n_planes = 4; in avisynth_create_stream_video() 490 avs->n_planes = 3; in avisynth_create_stream_video() 494 avs->n_planes = 1; in avisynth_create_stream_video() 498 avs->n_planes = 3; in avisynth_create_stream_video() 502 avs->n_planes = 1; in avisynth_create_stream_video() 693 for (i = 0; i < avs->n_planes; i++) { in avisynth_read_packet_video()
|
/third_party/gstreamer/gstplugins_bad/sys/va/ |
D | gstvabasetransform.c | 641 guint i, n_mem, n_planes; in _try_import_dmabuf_unlocked() local 645 n_planes = GST_VIDEO_INFO_N_PLANES (&in_info); in _try_import_dmabuf_unlocked() 654 if (n_mem > n_planes) in _try_import_dmabuf_unlocked() 662 for (i = 0; i < meta->n_planes; i++) { in _try_import_dmabuf_unlocked() 669 for (i = 0; i < n_planes; i++) { in _try_import_dmabuf_unlocked() 696 return gst_va_dmabuf_memories_setup (btrans->display, &in_info, n_planes, in _try_import_dmabuf_unlocked()
|
D | gstvaallocator.h | 50 guint n_planes,
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/ |
D | gstvkformat.h | 116 guint n_planes; member
|
/third_party/gstreamer/gstplugins_bad/sys/kms/ |
D | gstkmsallocator.c | 519 gint n_planes, gsize offsets[GST_VIDEO_MAX_PLANES], GstVideoInfo * vinfo) in gst_kms_allocator_dmabuf_import() argument 526 g_return_val_if_fail (n_planes <= GST_VIDEO_MAX_PLANES, FALSE); in gst_kms_allocator_dmabuf_import() 537 for (i = 0; i < n_planes; i++) { in gst_kms_allocator_dmabuf_import() 547 for (i = 0; i < n_planes; i++) { in gst_kms_allocator_dmabuf_import()
|
D | gstkmsallocator.h | 85 gint n_planes,
|
D | gstkmssink.c | 1342 guint i, n_mem, n_planes; in gst_kms_sink_import_dmabuf() local 1355 n_planes = GST_VIDEO_INFO_N_PLANES (&self->vinfo); in gst_kms_sink_import_dmabuf() 1360 n_planes, n_mem); in gst_kms_sink_import_dmabuf() 1363 if (n_mem > n_planes) in gst_kms_sink_import_dmabuf() 1365 g_assert (n_planes != 0); in gst_kms_sink_import_dmabuf() 1372 for (i = 0; i < meta->n_planes; i++) { in gst_kms_sink_import_dmabuf() 1379 for (i = 0; i < n_planes; i++) { in gst_kms_sink_import_dmabuf() 1407 for (i = 0; i < n_planes; i++) in gst_kms_sink_import_dmabuf() 1414 prime_fds, n_planes, mems_skip, &self->vinfo); in gst_kms_sink_import_dmabuf()
|
/third_party/weston/libweston/backend-drm/ |
D | fb.c | 246 .num_fds = dmabuf->attributes.n_planes, in drm_fb_get_from_dmabuf() 302 dmabuf->attributes.n_planes > 1 || in drm_fb_get_from_dmabuf() 359 fb->num_planes = dmabuf->attributes.n_planes; in drm_fb_get_from_dmabuf() 360 for (i = 0; i < dmabuf->attributes.n_planes; i++) { in drm_fb_get_from_dmabuf()
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | audio.c | 149 fail_unless_equals_int (abuf.n_planes, 1); in GST_START_TEST() 234 fail_unless_equals_int (abuf.n_planes, 2); in GST_START_TEST() 320 fail_unless_equals_int (abuf.n_planes, 2); in GST_START_TEST() 527 fail_unless_equals_int (abuf.n_planes, 2); in GST_START_TEST() 933 fail_unless_equals_int (abuf.n_planes, tests[i].channels); in GST_START_TEST() 936 for (j = 0; j < abuf.n_planes; j++) { in GST_START_TEST() 1428 fail_unless_equals_int (buffer.n_planes, td[i].channels); in GST_START_TEST() 1433 fail_unless_equals_int (buffer.n_planes, 1); in GST_START_TEST() 1440 if (buffer.n_planes <= 8) { in GST_START_TEST()
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstglstereosplit.c | 638 gint i, n_planes; in stereosplit_chain() local 640 n_planes = GST_VIDEO_INFO_N_PLANES (&split->viewconvert->out_info); in stereosplit_chain() 678 for (i = 0; i < n_planes; i++) { in stereosplit_chain() 697 for (i = n_planes; i < n_planes * 2; i++) { in stereosplit_chain()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/egl/ |
D | gsteglimage.c | 867 guint n_planes = GST_VIDEO_INFO_N_PLANES (in_info); in gst_egl_image_from_dmabuf_direct_target() local 889 if (G_UNLIKELY (n_planes > 3)) in gst_egl_image_from_dmabuf_direct_target() 916 if (n_planes >= 2) { in gst_egl_image_from_dmabuf_direct_target() 932 if (n_planes == 3) { in gst_egl_image_from_dmabuf_direct_target()
|