/third_party/ffmpeg/tests/ref/fate/ |
D | imgutils | 57 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/ffmpeg/tests/checkasm/ |
D | llviddspenc.c | 39 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/third_party/externals/dng_sdk/source/ |
D | dng_bottlenecks.h | 57 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 …]
|
D | dng_pixel_buffer.cpp | 366 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 …]
|
D | dng_reference.h | 46 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 …]
|
D | dng_pixel_buffer.h | 180 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/skia/gm/ |
D | wacky_yuv_formats.cpp | 384 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 …]
|
D | imagefromyuvtextures.cpp | 69 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/ |
D | panvk_vX_meta_blit.c | 39 .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/ |
D | YUVImage.java | 147 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/ |
D | YUVImage.java | 147 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/ |
D | gstv4l2allocator.c | 259 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/ |
D | GrYUVProvider.cpp | 34 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/ |
D | gstquark.c | 107 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/ffmpeg/libavcodec/ |
D | ivi.c | 266 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 …]
|
D | 8bps.c | 49 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/ |
D | pattern.c | 681 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/flutter/skia/gm/ |
D | wacky_yuv_formats.cpp | 463 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/mesa3d/src/intel/vulkan/ |
D | anv_image.c | 460 assert(image->planes[plane].aux_usage != ISL_AUX_USAGE_NONE && in add_aux_state_tracking_buffer() 472 if (image->planes[plane].aux_usage == ISL_AUX_USAGE_CCS_E) { in add_aux_state_tracking_buffer() 492 &image->planes[plane].fast_clear_memory_range); in add_aux_state_tracking_buffer() 519 assert(!anv_surface_is_valid(&image->planes[plane].aux_surface)); in add_aux_surface_if_supported() 558 &image->planes[plane].primary_surface.isl, in add_aux_surface_if_supported() 559 &image->planes[plane].aux_surface.isl); in add_aux_surface_if_supported() 564 &image->planes[plane].primary_surface.isl, in add_aux_surface_if_supported() 565 &image->planes[plane].aux_surface.isl)) { in add_aux_surface_if_supported() 566 image->planes[plane].aux_usage = ISL_AUX_USAGE_HIZ; in add_aux_surface_if_supported() 579 image->planes[plane].aux_usage = ISL_AUX_USAGE_HIZ_CCS_WT; in add_aux_surface_if_supported() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | audio-buffer.c | 35 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/flutter/skia/src/core/ |
D | SkYUVASizeInfo.cpp | 11 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()
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLIOSurfaceClientBufferTest.cpp | 81 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_bad/gst/dvdspu/ |
D | gstspu-vobsub-render.c | 211 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/skia/third_party/externals/opengl-registry/extensions/IMG/ |
D | IMG_user_clip_plane.txt | 35 The OpenGL ES 1.0 Specification does not support user clip planes. This extension 36 adds the support for clip planes. This extension was superceded by OpenGL ES 1.1 78 In the presence of IMG_user_clip_plane a number of 6 clip planes will be 79 exported to the user. The clip planes will restrict the view volume by defining 101 Clip planes need to be enabled in order to be used and this is done using 105 where p is one of the clip planes enumerants, CLIP_PLANEi. If geometry is drawn 114 where p is one of the clip planes enumerants, CLIP_PLANEi. 116 Even though this extension specifies a number of 6 clip planes more can be exported 117 by different implementations. To find the maximum number of clip planes exported 123 the number of clip planes exported by that particular extension. [all …]
|
/third_party/openGLES/extensions/IMG/ |
D | IMG_user_clip_plane.txt | 35 The OpenGL ES 1.0 Specification does not support user clip planes. This extension 36 adds the support for clip planes. This extension was superceded by OpenGL ES 1.1 78 In the presence of IMG_user_clip_plane a number of 6 clip planes will be 79 exported to the user. The clip planes will restrict the view volume by defining 101 Clip planes need to be enabled in order to be used and this is done using 105 where p is one of the clip planes enumerants, CLIP_PLANEi. If geometry is drawn 114 where p is one of the clip planes enumerants, CLIP_PLANEi. 116 Even though this extension specifies a number of 6 clip planes more can be exported 117 by different implementations. To find the maximum number of clip planes exported 123 the number of clip planes exported by that particular extension. [all …]
|