Home
last modified time | relevance | path

Searched refs:plane_count (Results 1 – 25 of 29) sorted by relevance

12

/third_party/ffmpeg/libswscale/
Dalphablend.c30 int plane_count = isGray(c->srcFormat) ? 1 : 3; in ff_sws_alphablendaway() local
37 for (plane = 0; plane < plane_count; plane++) { in ff_sws_alphablendaway()
47 av_assert0(plane_count == nb_components - 1); in ff_sws_alphablendaway()
49 for (plane = 0; plane < plane_count; plane++) { in ff_sws_alphablendaway()
59 ptrdiff_t alpha_step = srcStride[plane_count] >> 1; in ff_sws_alphablendaway()
61 …const uint16_t *a = (const uint16_t *)(src[plane_count] + (srcStride[plane_count] * ysrc << y_subs… in ff_sws_alphablendaway()
85 ptrdiff_t alpha_step = srcStride[plane_count]; in ff_sws_alphablendaway()
87 … const uint8_t *a = src[plane_count] + (srcStride[plane_count] * ysrc << y_subsample); in ff_sws_alphablendaway()
102 … const uint16_t *a = (const uint16_t *)(src[plane_count] + srcStride[plane_count] * ysrc); in ff_sws_alphablendaway()
118 const uint8_t *a = src[plane_count] + srcStride[plane_count] * ysrc; in ff_sws_alphablendaway()
[all …]
/third_party/ffmpeg/libavcodec/
Dffv1.c70 fs->plane_count = f->plane_count; in ff_ffv1_init_slice_state()
72 for (j = 0; j < f->plane_count; j++) { in ff_ffv1_init_slice_state()
177 for (i = 0; i < f->plane_count; i++) { in ff_ffv1_clear_slice_state()
216 for (i = 0; i < s->plane_count; i++) { in ff_ffv1_close()
Dh264_mb_template.c267 … const int plane_count = (SIMPLE || !CONFIG_GRAY || !(h->flags & AV_CODEC_FLAG_GRAY)) ? 3 : 1; in FUNC() local
269 for (p = 0; p < plane_count; p++) { in FUNC()
312 for (p = 0; p < plane_count; p++) in FUNC()
319 for (p = 0; p < plane_count; p++) in FUNC()
330 for (p = 0; p < plane_count; p++) in FUNC()
348 for (p = 0; p < plane_count; p++) in FUNC()
Dffv1dec.c188 for (i = 0; i < f->plane_count; i++) { in decode_slice_header()
261 av_assert1(fsdst->plane_count == fssrc->plane_count); in decode_slice()
267 for (i = 0; i < f->plane_count; i++) { in decode_slice()
448 f->plane_count = 1 + (f->chroma_planes || f->version<4) + f->transparency; in read_extra_header()
565 if (f->plane_count) { in read_header()
590 f->plane_count = 2 + f->transparency; in read_header()
784 for (i = 0; i < f->plane_count; i++) { in read_header()
990 fsdst->plane_count = fsrc->plane_count; in copy_fields()
Dvideotoolboxenc.c2037 int *plane_count, in get_cv_pixel_info() argument
2076 *plane_count = 2; in get_cv_pixel_info()
2088 *plane_count = 3; in get_cv_pixel_info()
2104 *plane_count = 1; in get_cv_pixel_info()
2112 *plane_count = 2; in get_cv_pixel_info()
2134 for (i = 0; i < *plane_count; i++) { in get_cv_pixel_info()
2135 if (i < *plane_count - 1 && in get_cv_pixel_info()
2155 size_t plane_count; in copy_avframe_to_pixel_buffer() local
2175 plane_count = CVPixelBufferGetPlaneCount(cv_img); in copy_avframe_to_pixel_buffer()
2177 if (i == plane_count) { in copy_avframe_to_pixel_buffer()
[all …]
Dffv1enc.c385 for (j = 0; j < f->plane_count; j++) { in write_header()
569 s->plane_count = 3; in encode_init()
754 for (i = 0; i < s->plane_count; i++) { in encode_init()
772 s->plane_count = 2; in encode_init()
774 s->plane_count--; in encode_init()
873 int plane_count = 1 + 2*s->chroma_planes + s->transparency; in encode_init() local
886 if (maxw * maxh * (int64_t)(s->bits_per_raw_sample+1) * plane_count > 8<<24) in encode_init()
938 for (j=0; j<f->plane_count; j++) { in encode_slice_header()
Dffv1.h99 int plane_count; member
/third_party/mesa3d/src/virtio/vulkan/
Dvn_image.c28 uint32_t plane_count = 1; in vn_image_init_memory_requirements() local
42 plane_count = 2; in vn_image_init_memory_requirements()
56 plane_count = 3; in vn_image_init_memory_requirements()
59 plane_count = 1; in vn_image_init_memory_requirements()
63 assert(plane_count <= ARRAY_SIZE(img->requirements)); in vn_image_init_memory_requirements()
66 for (uint32_t i = 0; i < plane_count; i++) { in vn_image_init_memory_requirements()
77 if (plane_count == 1) { in vn_image_init_memory_requirements()
92 for (uint32_t i = 0; i < plane_count; i++) { in vn_image_init_memory_requirements()
/third_party/libdrm/tests/modetest/
Dmodetest.c1332 struct plane_arg *plane_args, unsigned int plane_count) in atomic_test_page_flip() argument
1342 atomic_set_planes(dev, plane_args, plane_count, true); in atomic_test_page_flip()
2038 unsigned int count = 0, plane_count = 0; in main() local
2085 (plane_count + 1) * sizeof *plane_args); in main()
2090 memset(&plane_args[plane_count], 0, sizeof(*plane_args)); in main()
2092 if (parse_plane(&plane_args[plane_count], optarg) < 0) in main()
2095 plane_count++; in main()
2157 if (set_preferred && plane_count) { in main()
2197 if (set_preferred || (count && plane_count)) { in main()
2209 if (plane_count) in main()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfcapturewinrt.cpp514 INT32 plane_count; in gst_mf_capture_winrt_fill() local
540 hr = bitmap_buffer->GetPlaneCount (&plane_count); in gst_mf_capture_winrt_fill()
546 if (plane_count > GST_VIDEO_MAX_PLANES) { in gst_mf_capture_winrt_fill()
547 GST_ERROR_OBJECT (self, "Invalid plane count %d", plane_count); in gst_mf_capture_winrt_fill()
551 if (plane_count != GST_VIDEO_INFO_N_PLANES (&self->info)) { in gst_mf_capture_winrt_fill()
552 GST_ERROR_OBJECT (self, "Ambiguous plane count %d", plane_count); in gst_mf_capture_winrt_fill()
556 for (i = 0; i < plane_count; i++) { in gst_mf_capture_winrt_fill()
/third_party/mesa3d/src/amd/vulkan/
Dradv_image.c520 for (unsigned plane = 0; plane < image->plane_count; ++plane) { in radv_patch_image_from_extra_info()
1064 assert(image->plane_count == 1); in gfx10_make_texture_descriptor()
1242 assert(image->plane_count == 1); in si_make_texture_descriptor()
1353 assert(image->plane_count == 1); in radv_query_opaque_metadata()
1477 for (unsigned i = 0; i < image->plane_count; ++i) { in radv_image_is_pipe_misaligned()
1611 unsigned plane_count = radv_get_internal_plane_count(pdev, image->vk.format); in radv_image_reset_layout() local
1612 for (unsigned i = 0; i < plane_count; ++i) { in radv_image_reset_layout()
1648 assert(!mod_info || mod_info->drmFormatModifierPlaneCount >= image->plane_count); in radv_image_create_layout()
1652 unsigned plane_count = radv_get_internal_plane_count(device->physical_device, image->vk.format); in radv_image_create_layout() local
1653 for (unsigned plane = 0; plane < plane_count; ++plane) { in radv_image_create_layout()
[all …]
Dradv_nir_lower_ycbcr_textures.c276 const int plane_count = vk_format_get_plane_count(format); in try_lower_tex_ycbcr() local
279 for (int p = 0; p < plane_count; ++p) { in try_lower_tex_ycbcr()
Dradv_meta_copy.c410 src_image->plane_count > 1) { in copy_image()
417 aspect_count = src_image->plane_count; in copy_image()
Dradv_sdma_copy_image.c75 assert(image->plane_count == 1); in radv_sdma_v4_v5_copy_image_to_buffer()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_format.c338 unsigned plane_count = util_format_get_num_planes(resource_format); in d3d12_get_format_info() local
342 } else if (plane_count > 1) { in d3d12_get_format_info()
343 for (plane_slice = 0; plane_slice < plane_count; ++plane_slice) { in d3d12_get_format_info()
347 assert(plane_slice < plane_count); in d3d12_get_format_info()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_resource.c747 uint32_t plane_count = 0; in virgl_resource_from_handle() local
760 plane_count >= VIRGL_MAX_PLANE_COUNT) { in virgl_resource_from_handle()
766 plane_strides[plane_count] = plane->metadata.stride[0]; in virgl_resource_from_handle()
767 plane_offsets[plane_count] = plane->metadata.plane_offset; in virgl_resource_from_handle()
768 plane_count++; in virgl_resource_from_handle()
780 plane_count, in virgl_resource_from_handle()
Dvirgl_winsys.h97 uint32_t plane_count,
/third_party/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c577 uint32_t plane_count, in virgl_drm_winsys_resource_set_type() argument
594 assert(plane_count && plane_count <= VIRGL_MAX_PLANE_COUNT); in virgl_drm_winsys_resource_set_type()
596 …d[0] = VIRGL_CMD0(VIRGL_CCMD_PIPE_RESOURCE_SET_TYPE, 0, VIRGL_PIPE_RES_SET_TYPE_SIZE(plane_count)); in virgl_drm_winsys_resource_set_type()
605 for (uint32_t i = 0; i < plane_count; i++) { in virgl_drm_winsys_resource_set_type()
612 eb.size = (1 + VIRGL_PIPE_RES_SET_TYPE_SIZE(plane_count)) * 4; in virgl_drm_winsys_resource_set_type()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_resource.h107 unsigned plane_count; member
Dzink_resource.c565 for (obj->plane_count = 1; pnext; obj->plane_count++, pnext = pnext->next) { in resource_object_create()
715 idfmeci.drmFormatModifierPlaneCount = obj->plane_count; in resource_object_create()
718 for (unsigned i = 1; i < obj->plane_count; i++, pnext = pnext->next) { in resource_object_create()
/third_party/astc-encoder/Docs/
DTerminology.md14 * `plane_count`
/third_party/mesa3d/src/panfrost/lib/genxml/
Ddecode.c715 int plane_count = temp.levels * temp.array_size; in pandecode_bifrost_texture() local
719 plane_count *= 6; in pandecode_bifrost_texture()
721 for (unsigned i = 0; i < plane_count; ++i) in pandecode_bifrost_texture()
/third_party/mesa3d/src/gbm/backends/dri/
Dgbm_dri.c701 uint64_t plane_count; in gbm_dri_get_format_modifier_plane_count() local
713 __DRI_IMAGE_FORMAT_MODIFIER_ATTRIB_PLANE_COUNT, &plane_count)) in gbm_dri_get_format_modifier_plane_count()
716 return plane_count; in gbm_dri_get_format_modifier_plane_count()
/third_party/ffmpeg/libavdevice/
Davfoundation.m1027 size_t plane_count = CVPixelBufferGetPlaneCount(image_buffer);
1029 for(i = 0; i < plane_count; i++){
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_msl.cpp11636 uint32_t plane_count = 1; in entry_point_args_discrete_descriptors() local
11638 plane_count = constexpr_sampler->planes; in entry_point_args_discrete_descriptors()
11640 for (uint32_t i = 0; i < plane_count; i++) in entry_point_args_discrete_descriptors()
15520 uint32_t plane_count = 1; in analyze_argument_buffers() local
15522 plane_count = constexpr_sampler->planes; in analyze_argument_buffers()
15524 for (uint32_t i = 0; i < plane_count; i++) in analyze_argument_buffers()

12