Home
last modified time | relevance | path

Searched refs:planes (Results 1 – 25 of 531) sorted by relevance

12345678910>>...22

/third_party/ffmpeg/tests/ref/fate/
Dimgutils57 yuv420p planes: 3, linesizes: 64 32 32 0, plane_sizes: 3072 768 768 0, plane_…
58 yuyv422 planes: 1, linesizes: 128 0 0 0, plane_sizes: 6144 0 0 0, plane_…
59 rgb24 planes: 1, linesizes: 192 0 0 0, plane_sizes: 9216 0 0 0, plane_…
60 bgr24 planes: 1, linesizes: 192 0 0 0, plane_sizes: 9216 0 0 0, plane_…
61 yuv422p planes: 3, linesizes: 64 32 32 0, plane_sizes: 3072 1536 1536 0, plane_…
62 yuv444p planes: 3, linesizes: 64 64 64 0, plane_sizes: 3072 3072 3072 0, plane_…
63 yuv410p planes: 3, linesizes: 64 16 16 0, plane_sizes: 3072 192 192 0, plane_…
64 yuv411p planes: 3, linesizes: 64 16 16 0, plane_sizes: 3072 768 768 0, plane_…
65 gray planes: 2, linesizes: 64 0 0 0, plane_sizes: 3072 1024 0 0, plane_…
66 monow planes: 1, linesizes: 8 0 0 0, plane_sizes: 384 0 0 0, plane_…
[all …]
/third_party/skia/third_party/externals/dng_sdk/source/
Ddng_bottlenecks.h57 uint32 planes,
67 uint32 planes,
77 uint32 planes,
89 uint32 planes,
102 uint32 planes,
115 uint32 planes,
128 uint32 planes,
141 uint32 planes,
154 uint32 planes,
167 uint32 planes,
[all …]
Ddng_pixel_buffer.cpp366 uint32 planes, in dng_pixel_buffer() argument
373 , fPlanes (planes) in dng_pixel_buffer()
544 uint32 planes, in SetConstant() argument
563 planes, in SetConstant()
577 DoZeroBytes (dPtr, planes); in SetConstant()
588 planes, in SetConstant()
605 DoZeroBytes (dPtr, planes << 1); in SetConstant()
616 planes, in SetConstant()
633 DoZeroBytes (dPtr, planes << 2); in SetConstant()
644 planes, in SetConstant()
[all …]
Ddng_reference.h46 uint32 planes,
55 uint32 planes,
64 uint32 planes,
75 uint32 planes,
87 uint32 planes,
99 uint32 planes,
111 uint32 planes,
123 uint32 planes,
135 uint32 planes,
147 uint32 planes,
[all …]
Ddng_pixel_buffer.h180 dng_pixel_buffer (const dng_rect &area, uint32 plane, uint32 planes,
505 uint32 planes,
516 uint32 planes, in SetConstant_uint8() argument
522 SetConstant (area, plane, planes, (uint32) value); in SetConstant_uint8()
534 uint32 planes, in SetConstant_uint16() argument
540 SetConstant (area, plane, planes, (uint32) value); in SetConstant_uint16()
552 uint32 planes, in SetConstant_int16() argument
558 SetConstant (area, plane, planes, (uint32) (uint16) value); in SetConstant_int16()
570 uint32 planes, in SetConstant_uint32() argument
576 SetConstant (area, plane, planes, value); in SetConstant_uint32()
[all …]
/third_party/ffmpeg/tests/checkasm/
Dllviddspenc.c39 static const struct {uint8_t w, h, s;} planes[] = { variable
68 call_ref(dst0, src0, src2, planes[i].w); in check_diff_bytes()
69 call_new(dst1, src1, src3, planes[i].w); in check_diff_bytes()
70 if (memcmp(dst0, dst1, planes[i].w)) in check_diff_bytes()
73 bench_new(dst1, src0, src2, planes[4].w); in check_diff_bytes()
95 call_ref(dst0, src0, planes[i].s, planes[i].w, planes[i].h); in check_sub_left_pred()
96 call_new(dst1, src1, planes[i].s, planes[i].w, planes[i].h); in check_sub_left_pred()
97 if (memcmp(dst0, dst1, planes[i].w * planes[i].h)) in check_sub_left_pred()
101 bench_new(dst1, src0, planes[4].s, planes[4].w, planes[4].h); in check_sub_left_pred()
/third_party/skia/gm/
Dwacky_yuv_formats.cpp384 PlaneData* planes) { in extract_planes() argument
404 planes->fYFull.allocPixels( in extract_planes()
406 planes->fUFull.allocPixels( in extract_planes()
408 planes->fVFull.allocPixels( in extract_planes()
410 planes->fAFull.allocPixels(SkImageInfo::MakeA8(ii.dimensions())); in extract_planes()
411 planes->fUQuarter.allocPixels(SkImageInfo::Make(ii.width()/2, ii.height()/2, in extract_planes()
413 planes->fVQuarter.allocPixels(SkImageInfo::Make(ii.width()/2, ii.height()/2, in extract_planes()
416 planes->fFull.allocPixels( in extract_planes()
418 planes->fQuarter.allocPixels(SkImageInfo::Make(ii.width()/2, ii.height()/2, in extract_planes()
424 SkColor4f* dst = (SkColor4f *) planes->fFull.getAddr(0, 0); in extract_planes()
[all …]
Dimagefromyuvtextures.cpp69 static_cast<unsigned char*>(pixmaps.planes()[0].writable_addr()), in CreatePlanes()
70 static_cast<unsigned char*>(pixmaps.planes()[1].writable_addr()), in CreatePlanes()
71 static_cast<unsigned char*>(pixmaps.planes()[2].writable_addr()), in CreatePlanes()
72 static_cast<unsigned char*>(pixmaps.planes()[3].writable_addr()), in CreatePlanes()
79 for (int j = 0; j < pixmaps.planes()[0].height(); ++j) { in CreatePlanes()
80 for (int i = 0; i < pixmaps.planes()[0].width(); ++i) { in CreatePlanes()
86 yuvPixels[0][j*pixmaps.planes()[0].width() + i] = SkToU8( in CreatePlanes()
88 yuvPixels[3][j*pixmaps.planes()[0].width() + i] = SkToU8(sk_float_round2int( in CreatePlanes()
92 for (int j = 0; j < pixmaps.planes()[1].height(); ++j) { in CreatePlanes()
93 for (int i = 0; i < pixmaps.planes()[1].width(); ++i) { in CreatePlanes()
[all …]
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_blit.c39 .format = blitinfo->dst.planes[0].format, in panvk_meta_blit()
41 .image = blitinfo->dst.planes[0].image, in panvk_meta_blit()
42 .nr_samples = blitinfo->dst.planes[0].image->layout.nr_samples, in panvk_meta_blit()
50 .width = u_minify(blitinfo->dst.planes[0].image->layout.width, blitinfo->dst.level), in panvk_meta_blit()
51 .height = u_minify(blitinfo->dst.planes[0].image->layout.height, blitinfo->dst.level), in panvk_meta_blit()
58 .nr_samples = blitinfo->dst.planes[0].image->layout.nr_samples, in panvk_meta_blit()
67 util_format_description(blitinfo->dst.planes[0].image->layout.format); in panvk_meta_blit()
73 views[0].format = blitinfo->dst.planes[0].image->layout.format; in panvk_meta_blit()
88 if (blitinfo->dst.planes[1].format != PIPE_FORMAT_NONE) { in panvk_meta_blit()
90 views[1].format = blitinfo->dst.planes[1].format; in panvk_meta_blit()
[all …]
/third_party/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DYUVImage.java147 public YUVImage(byte[][] planes, int[] offsets, int width, int[] strides, in YUVImage() argument
149 setBuf(planes, offsets, width, strides, height, subsamp, false); in YUVImage()
211 public void setBuf(byte[][] planes, int[] offsets, int width, int[] strides, in setBuf() argument
213 setBuf(planes, offsets, width, strides, height, subsamp, false); in setBuf()
216 private void setBuf(byte[][] planes, int[] offsets, int width, int[] strides, in setBuf() argument
218 if ((planes == null && !alloc) || width < 1 || height < 1 || subsamp < 0 || in setBuf()
223 if ((planes != null && planes.length != nc) || in setBuf()
228 if (planes == null) in setBuf()
229 planes = new byte[nc][]; in setBuf()
245 planes[i] = new byte[strides[i] * ph]; in setBuf()
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/
DYUVImage.java147 public YUVImage(byte[][] planes, int[] offsets, int width, int[] strides, in YUVImage() argument
149 setBuf(planes, offsets, width, strides, height, subsamp, false); in YUVImage()
211 public void setBuf(byte[][] planes, int[] offsets, int width, int[] strides, in setBuf() argument
213 setBuf(planes, offsets, width, strides, height, subsamp, false); in setBuf()
216 private void setBuf(byte[][] planes, int[] offsets, int width, int[] strides, in setBuf() argument
218 if ((planes == null && !alloc) || width < 1 || height < 1 || subsamp < 0 || in setBuf()
223 if ((planes != null && planes.length != nc) || in setBuf()
228 if (planes == null) in setBuf()
229 planes = new byte[nc][]; in setBuf()
245 planes[i] = new byte[strides[i] * ph]; in setBuf()
[all …]
/third_party/gstreamer/gstplugins_good/sys/v4l2/
Dgstv4l2allocator.c259 group->buffer.m.planes = group->planes; in gst_v4l2_memory_group_new()
282 buf_size = group->planes[i].length; in gst_v4l2_memory_group_new()
296 group->planes[0].bytesused = group->buffer.bytesused; in gst_v4l2_memory_group_new()
297 group->planes[0].length = group->buffer.length; in gst_v4l2_memory_group_new()
298 group->planes[0].data_offset = 0; in gst_v4l2_memory_group_new()
299 g_assert (sizeof (group->planes[0].m) == sizeof (group->buffer.m)); in gst_v4l2_memory_group_new()
300 memcpy (&group->planes[0].m, &group->buffer.m, sizeof (group->buffer.m)); in gst_v4l2_memory_group_new()
317 group->planes[i].bytesused, group->planes[i].length, in gst_v4l2_memory_group_new()
318 group->planes[i].data_offset); in gst_v4l2_memory_group_new()
320 group->planes[i].m.mem_offset); in gst_v4l2_memory_group_new()
[all …]
/third_party/flutter/skia/src/gpu/
DGrYUVProvider.cpp34 void* planes[SkYUVASizeInfo::kMaxCount]; in getPlanes() local
37 planes[0] = (void*)data->data(); // we should always have at least one plane in getPlanes()
43 planes[i] = nullptr; in getPlanes()
47 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * in getPlanes()
67 planes[0] = data->writable_data(); in getPlanes()
73 planes[i] = nullptr; in getPlanes()
77 planes[i] = (uint8_t*)planes[i-1] + (yuvInfo.fSizeInfo.fWidthBytes[i-1] * in getPlanes()
82 if (!this->onGetYUVA8Planes(yuvInfo.fSizeInfo, yuvInfo.fYUVAIndices, planes)) { in getPlanes()
93 constPlanes[0] = planes[0]; in getPlanes()
94 constPlanes[1] = planes[1]; in getPlanes()
[all …]
/third_party/gstreamer/gstplugins_good/gst/effectv/
Dgstquark.c107 gint planes, current_plane; in gst_quarktv_transform_frame() local
129 planes = filter->planes; in gst_quarktv_transform_frame()
141 rand = planetable[(current_plane + (fastrand () >> 24)) % planes]; in gst_quarktv_transform_frame()
152 filter->current_plane = planes - 1; in gst_quarktv_transform_frame()
166 for (i = 0; i < filter->planes; i++) { in gst_quarktv_planetable_clear()
184 (GstBuffer **) g_malloc0 (filter->planes * sizeof (GstBuffer *)); in gst_quarktv_start()
218 if (new_n_planes != filter->planes) { in gst_quarktv_set_property()
223 for (i = 0; (i < new_n_planes) && (i < filter->planes); i++) { in gst_quarktv_set_property()
226 for (; i < filter->planes; i++) { in gst_quarktv_set_property()
234 filter->planes = new_n_planes; in gst_quarktv_set_property()
[all …]
/third_party/mesa3d/src/intel/vulkan/
Danv_image.c381 if (!isl_aux_usage_has_fast_clears(image->planes[plane].aux_usage)) in can_fast_clear_with_non_zero_color()
392 image->planes[plane].aux_usage == ISL_AUX_USAGE_CCS_E) in can_fast_clear_with_non_zero_color()
404 enum isl_format img_format = image->planes[plane].primary_surface.isl.format; in can_fast_clear_with_non_zero_color()
649 assert(image->planes[plane].aux_usage != ISL_AUX_USAGE_NONE && in add_aux_state_tracking_buffer()
661 if (image->planes[plane].aux_usage == ISL_AUX_USAGE_CCS_E) { in add_aux_state_tracking_buffer()
688 &image->planes[plane].fast_clear_memory_range); in add_aux_state_tracking_buffer()
715 assert(!anv_surface_is_valid(&image->planes[plane].aux_surface)); in add_aux_surface_if_supported()
754 &image->planes[plane].primary_surface.isl, in add_aux_surface_if_supported()
755 &image->planes[plane].aux_surface.isl); in add_aux_surface_if_supported()
760 &image->planes[plane].primary_surface.isl, in add_aux_surface_if_supported()
[all …]
/third_party/ffmpeg/libavcodec/
Divi.c266 static av_cold void ivi_free_buffers(IVIPlaneDesc *planes) in ivi_free_buffers() argument
271 if (planes[p].bands) in ivi_free_buffers()
272 for (b = 0; b < planes[p].num_bands; b++) { in ivi_free_buffers()
273 av_freep(&planes[p].bands[b].bufs[0]); in ivi_free_buffers()
274 av_freep(&planes[p].bands[b].bufs[1]); in ivi_free_buffers()
275 av_freep(&planes[p].bands[b].bufs[2]); in ivi_free_buffers()
276 av_freep(&planes[p].bands[b].bufs[3]); in ivi_free_buffers()
278 if (planes[p].bands[b].blk_vlc.cust_tab.table) in ivi_free_buffers()
279 ff_free_vlc(&planes[p].bands[b].blk_vlc.cust_tab); in ivi_free_buffers()
280 for (t = 0; t < planes[p].bands[b].num_tiles; t++) in ivi_free_buffers()
[all …]
D8bps.c49 unsigned char planes; member
69 unsigned int planes = c->planes; in decode_frame() local
79 dp = encoded + planes * (height << 1); in decode_frame()
81 px_inc = planes + (avctx->pix_fmt == AV_PIX_FMT_0RGB32); in decode_frame()
83 for (p = 0; p < planes; p++) { in decode_frame()
154 c->planes = 1; in decode_init()
159 c->planes = 3; in decode_init()
166 c->planes = 4; in decode_init()
/third_party/libdrm/tests/util/
Dpattern.c681 static void fill_smpte(const struct util_format_info *info, void *planes[3], in fill_smpte()
689 return fill_smpte_c8(planes[0], width, height, stride); in fill_smpte()
694 return fill_smpte_yuv_packed(&info->yuv, planes[0], width, in fill_smpte()
701 u = info->yuv.order & YUV_YCbCr ? planes[1] : planes[1] + 1; in fill_smpte()
702 v = info->yuv.order & YUV_YCrCb ? planes[1] : planes[1] + 1; in fill_smpte()
703 return fill_smpte_yuv_planar(&info->yuv, planes[0], u, v, in fill_smpte()
707 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[1], in fill_smpte()
708 planes[2], width, height, stride); in fill_smpte()
711 return fill_smpte_yuv_planar(&info->yuv, planes[0], planes[2], in fill_smpte()
712 planes[1], width, height, stride); in fill_smpte()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_sdma_copy_image.c77 unsigned bpp = image->planes[0].surface.bpe; in radv_sdma_v4_v5_copy_image_to_buffer()
79 uint64_t src_address = image->bindings[0].bo->va + image->planes[0].surface.u.gfx9.surf_offset; in radv_sdma_v4_v5_copy_image_to_buffer()
80 unsigned src_pitch = image->planes[0].surface.u.gfx9.surf_pitch; in radv_sdma_v4_v5_copy_image_to_buffer()
81 unsigned copy_width = DIV_ROUND_UP(image->info.width, image->planes[0].surface.blk_w); in radv_sdma_v4_v5_copy_image_to_buffer()
82 unsigned copy_height = DIV_ROUND_UP(image->info.height, image->planes[0].surface.blk_h); in radv_sdma_v4_v5_copy_image_to_buffer()
88 if (image->planes[0].surface.is_linear) { in radv_sdma_v4_v5_copy_image_to_buffer()
98 src_address += image->planes[0].surface.u.gfx9.offset[0]; in radv_sdma_v4_v5_copy_image_to_buffer()
143 (uint32_t)tiled_address | (image->planes[0].surface.tile_swizzle << 8)); in radv_sdma_v4_v5_copy_image_to_buffer()
150 util_logbase2(bpp) | image->planes[0].surface.u.gfx9.swizzle_mode << 3 | in radv_sdma_v4_v5_copy_image_to_buffer()
151 image->planes[0].surface.u.gfx9.resource_type << 9 | in radv_sdma_v4_v5_copy_image_to_buffer()
[all …]
Dradv_meta_fmask_copy.c230 assert(src_image->planes[0].surface.cmask_size == dst_image->planes[0].surface.cmask_size && in radv_fixup_copy_dst_metadata()
231 src_image->planes[0].surface.fmask_size == dst_image->planes[0].surface.fmask_size); in radv_fixup_copy_dst_metadata()
232 assert(src_image->planes[0].surface.fmask_offset + src_image->planes[0].surface.fmask_size == in radv_fixup_copy_dst_metadata()
233 src_image->planes[0].surface.cmask_offset && in radv_fixup_copy_dst_metadata()
234 dst_image->planes[0].surface.fmask_offset + dst_image->planes[0].surface.fmask_size == in radv_fixup_copy_dst_metadata()
235 dst_image->planes[0].surface.cmask_offset); in radv_fixup_copy_dst_metadata()
238 size = src_image->planes[0].surface.cmask_size + src_image->planes[0].surface.fmask_size; in radv_fixup_copy_dst_metadata()
239 src_offset = src_image->bindings[0].offset + src_image->planes[0].surface.fmask_offset; in radv_fixup_copy_dst_metadata()
240 dst_offset = dst_image->bindings[0].offset + dst_image->planes[0].surface.fmask_offset; in radv_fixup_copy_dst_metadata()
279 if (src_image->planes[0].surface.fmask_tile_swizzle != in radv_can_use_fmask_copy()
[all …]
/third_party/flutter/skia/gm/
Dwacky_yuv_formats.cpp463 static void extract_planes(const SkBitmap& bm, SkYUVColorSpace yuvColorSpace, PlaneData* planes) { in extract_planes() argument
471 planes->fYFull.allocPixels(SkImageInfo::Make(bm.width(), bm.height(), kGray_8_SkColorType, in extract_planes()
473 planes->fUFull.allocPixels(SkImageInfo::Make(bm.width(), bm.height(), kGray_8_SkColorType, in extract_planes()
475 planes->fVFull.allocPixels(SkImageInfo::Make(bm.width(), bm.height(), kGray_8_SkColorType, in extract_planes()
477 planes->fAFull.allocPixels(SkImageInfo::MakeA8(bm.width(), bm.height())); in extract_planes()
478 planes->fUQuarter.allocPixels(SkImageInfo::Make(bm.width()/2, bm.height()/2, in extract_planes()
480 planes->fVQuarter.allocPixels(SkImageInfo::Make(bm.width()/2, bm.height()/2, in extract_planes()
498 *planes->fYFull.getAddr8(x, y) = yuva[0]; in extract_planes()
499 *planes->fUFull.getAddr8(x, y) = yuva[1]; in extract_planes()
500 *planes->fVFull.getAddr8(x, y) = yuva[2]; in extract_planes()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLIOSurfaceClientBufferTest.cpp81 ScopedIOSurfaceRef CreateIOSurface(int32_t format, const std::vector<IOSurfacePlaneInfo> &planes) in CreateIOSurface() argument
83 EXPECT_GT(planes.size(), 0u); in CreateIOSurface()
87 AddIntegerValue(dict, kIOSurfaceWidth, planes[0].width); in CreateIOSurface()
88 AddIntegerValue(dict, kIOSurfaceHeight, planes[0].height); in CreateIOSurface()
91 if (planes.size() > 1) in CreateIOSurface()
94 CFArrayCreateMutable(kCFAllocatorDefault, planes.size(), &kCFTypeArrayCallBacks); in CreateIOSurface()
95 for (const IOSurfacePlaneInfo &plane : planes) in CreateIOSurface()
113 AddIntegerValue(dict, kIOSurfaceBytesPerElement, planes[0].bytesPerElement); in CreateIOSurface()
128 std::vector<IOSurfacePlaneInfo> planes{{width, height, bytesPerElement}}; in CreateSinglePlaneIOSurface() local
129 return CreateIOSurface(format, planes); in CreateSinglePlaneIOSurface()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-buffer.c35 if (buffer->planes != buffer->priv_planes_arr) in gst_audio_buffer_unmap_internal()
36 g_slice_free1 (buffer->n_planes * sizeof (gpointer), buffer->planes); in gst_audio_buffer_unmap_internal()
137 buffer->planes = buffer->priv_planes_arr; in gst_audio_buffer_map()
143 buffer->planes[0] = buffer->map_infos[0].data; in gst_audio_buffer_map()
149 buffer->planes = g_slice_alloc (buffer->n_planes * sizeof (gpointer)); in gst_audio_buffer_map()
153 buffer->planes = buffer->priv_planes_arr; in gst_audio_buffer_map()
160 memset (buffer->planes, 0, buffer->n_planes * sizeof (buffer->planes[0])); in gst_audio_buffer_map()
171 buffer->planes[i] = buffer->map_infos[i].data + skip; in gst_audio_buffer_map()
/third_party/gstreamer/gstplugins_bad/gst/dvdspu/
Dgstspu-vobsub-render.c211 guint8 * planes[3], guint16 * rle_offset);
215 gstspu_vobsub_render_line (SpuState * state, guint8 * planes[3], in gstspu_vobsub_render_line()
229 return gstspu_vobsub_render_line_with_chgcol (state, planes, in gstspu_vobsub_render_line()
238 state->vobsub.out_Y = planes[0]; in gstspu_vobsub_render_line()
292 gstspu_vobsub_render_line_with_chgcol (SpuState * state, guint8 * planes[3], in gstspu_vobsub_render_line_with_chgcol()
307 state->vobsub.out_Y = planes[0]; in gstspu_vobsub_render_line_with_chgcol()
373 gstspu_vobsub_blend_comp_buffers (SpuState * state, guint8 * planes[3]) in gstspu_vobsub_blend_comp_buffers()
382 gstspu_blend_comp_buffers (state, planes); in gstspu_vobsub_blend_comp_buffers()
425 guint8 *planes[3]; /* YUV frame pointers */ in gstspu_vobsub_render() local
440 planes[0] = GST_VIDEO_FRAME_COMP_DATA (frame, 0); in gstspu_vobsub_render()
[all …]
/third_party/flutter/skia/src/core/
DSkYUVASizeInfo.cpp11 void SkYUVASizeInfo::computePlanes(void* base, void* planes[SkYUVASizeInfo::kMaxCount]) const { in computePlanes()
12 planes[0] = base; in computePlanes()
18 planes[i] = SkTAddOffset<void>(planes[i - 1], fWidthBytes[i - 1] * fSizes[i - 1].height()); in computePlanes()
21 planes[i] = nullptr; in computePlanes()

12345678910>>...22