/third_party/gstreamer/gstplugins_bad/gst/dvdspu/ |
D | gstdvdspu-render.c | 40 gint16 uv_width = sizeof (guint32) * (right - left + 1); in gstspu_clear_comp_buffers() local 42 memset (state->comp_bufs[0] + left, 0, uv_width); in gstspu_clear_comp_buffers() 43 memset (state->comp_bufs[1] + left, 0, uv_width); in gstspu_clear_comp_buffers() 44 memset (state->comp_bufs[2] + left, 0, uv_width); in gstspu_clear_comp_buffers()
|
/third_party/flutter/skia/third_party/externals/libwebp/extras/ |
D | extras.c | 32 int y, width, uv_width; in WebPImportGray() local 37 uv_width = (width + 1) >> 1; in WebPImportGray() 42 memset(pic->u + (y >> 1) * pic->uv_stride, 128, uv_width); in WebPImportGray() 43 memset(pic->v + (y >> 1) * pic->uv_stride, 128, uv_width); in WebPImportGray()
|
/third_party/skia/third_party/externals/libwebp/extras/ |
D | extras.c | 33 int y, width, uv_width; in WebPImportGray() local 38 uv_width = (width + 1) >> 1; in WebPImportGray() 43 memset(pic->u + (y >> 1) * pic->uv_stride, 128, uv_width); in WebPImportGray() 44 memset(pic->v + (y >> 1) * pic->uv_stride, 128, uv_width); in WebPImportGray()
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
D | buffer_dec.c | 50 const int uv_width = (width + 1) / 2; in CheckDecBuffer() local 57 const uint64_t u_size = MIN_BUFFER_SIZE(uv_width, uv_height, u_stride); in CheckDecBuffer() 58 const uint64_t v_size = MIN_BUFFER_SIZE(uv_width, uv_height, v_stride); in CheckDecBuffer() 64 ok &= (u_stride >= uv_width); in CheckDecBuffer() 65 ok &= (v_stride >= uv_width); in CheckDecBuffer()
|
D | io_dec.c | 594 const int uv_width = (io->mb_w + 1) >> 1; in CustomSetup() local 595 p->memory = WebPSafeMalloc(1ULL, (size_t)(io->mb_w + 2 * uv_width)); in CustomSetup() 601 p->tmp_v = p->tmp_u + uv_width; in CustomSetup()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/ |
D | buffer_dec.c | 50 const int uv_width = (width + 1) / 2; in CheckDecBuffer() local 57 const uint64_t u_size = MIN_BUFFER_SIZE(uv_width, uv_height, u_stride); in CheckDecBuffer() 58 const uint64_t v_size = MIN_BUFFER_SIZE(uv_width, uv_height, v_stride); in CheckDecBuffer() 64 ok &= (u_stride >= uv_width); in CheckDecBuffer() 65 ok &= (v_stride >= uv_width); in CheckDecBuffer()
|
D | io_dec.c | 581 const int uv_width = (io->mb_w + 1) >> 1; in CustomSetup() local 582 p->memory = WebPSafeMalloc(1ULL, (size_t)(io->mb_w + 2 * uv_width)); in CustomSetup() 588 p->tmp_v = p->tmp_u + uv_width; in CustomSetup()
|
/third_party/flutter/skia/third_party/externals/libwebp/imageio/ |
D | image_enc.c | 475 const int uv_width = (width + 1) / 2; in WebPWritePGM() local 491 ok &= (fwrite(src_u, uv_width, 1, fout) == 1); in WebPWritePGM() 492 ok &= (fwrite(src_v, uv_width, 1, fout) == 1); in WebPWritePGM() 519 const int uv_width = (width + 1) / 2; in WebPWriteYUV() local 532 ok &= (fwrite(src_u, uv_width, 1, fout) == 1); in WebPWriteYUV() 536 ok &= (fwrite(src_v, uv_width, 1, fout) == 1); in WebPWriteYUV()
|
/third_party/skia/third_party/externals/libwebp/imageio/ |
D | image_enc.c | 475 const int uv_width = (width + 1) / 2; in WebPWritePGM() local 491 ok &= (fwrite(src_u, uv_width, 1, fout) == 1); in WebPWritePGM() 492 ok &= (fwrite(src_v, uv_width, 1, fout) == 1); in WebPWritePGM() 519 const int uv_width = (width + 1) / 2; in WebPWriteYUV() local 532 ok &= (fwrite(src_u, uv_width, 1, fout) == 1); in WebPWriteYUV() 536 ok &= (fwrite(src_v, uv_width, 1, fout) == 1); in WebPWriteYUV()
|
/third_party/flutter/skia/third_party/externals/libwebp/examples/ |
D | cwebp.c | 49 const int uv_width = (pic->width + 1) / 2; in ReadYUV() local 52 const int uv_plane_size = uv_width * uv_height; in ReadYUV() 66 ImgIoUtilCopyPlane(data + y_plane_size, uv_width, in ReadYUV() 67 pic->u, pic->uv_stride, uv_width, uv_height); in ReadYUV() 68 ImgIoUtilCopyPlane(data + y_plane_size + uv_plane_size, uv_width, in ReadYUV() 69 pic->v, pic->uv_stride, uv_width, uv_height); in ReadYUV() 305 const int uv_width = (picture->width + 1) / 2; in DumpPicture() local 324 if (fwrite(src_u, uv_width, 1, f) != 1) return 0; in DumpPicture() 325 if (fwrite(src_v, uv_width, 1, f) != 1) return 0; in DumpPicture()
|
/third_party/skia/third_party/externals/libwebp/examples/ |
D | cwebp.c | 51 const int uv_width = (pic->width + 1) / 2; in ReadYUV() local 54 const int uv_plane_size = uv_width * uv_height; in ReadYUV() 68 ImgIoUtilCopyPlane(data + y_plane_size, uv_width, in ReadYUV() 69 pic->u, pic->uv_stride, uv_width, uv_height); in ReadYUV() 70 ImgIoUtilCopyPlane(data + y_plane_size + uv_plane_size, uv_width, in ReadYUV() 71 pic->v, pic->uv_stride, uv_width, uv_height); in ReadYUV() 308 const int uv_width = (picture->width + 1) / 2; in DumpPicture() local 327 if (fwrite(src_u, uv_width, 1, f) != 1) return 0; in DumpPicture() 328 if (fwrite(src_v, uv_width, 1, f) != 1) return 0; in DumpPicture()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | picture_enc.c | 94 const int uv_width = (int)(((int64_t)width + 1) >> 1); in WebPPictureAllocYUVA() local 96 const int uv_stride = uv_width; in WebPPictureAllocYUVA() 121 uv_width <= 0 || uv_height <= 0) { // u/v param error in WebPPictureAllocYUVA()
|
D | picture_csp_enc.c | 882 const int uv_width = (width + 1) >> 1; in ImportYUVAFromRGBA() local 886 (uint16_t*)WebPSafeMalloc(4 * uv_width, sizeof(*tmp_rgb)); in ImportYUVAFromRGBA() 938 WebPConvertRGBA32ToUV(tmp_rgb, dst_u, dst_v, uv_width); in ImportYUVAFromRGBA() 940 ConvertRowsToUV(tmp_rgb, dst_u, dst_v, uv_width, rg); in ImportYUVAFromRGBA() 973 WebPConvertRGBA32ToUV(tmp_rgb, dst_u, dst_v, uv_width); in ImportYUVAFromRGBA() 975 ConvertRowsToUV(tmp_rgb, dst_u, dst_v, uv_width, rg); in ImportYUVAFromRGBA()
|
D | picture_tools_enc.c | 205 const int uv_width = (pic->width >> 1); // omit last pixel during u/v loop in WebPBlendAlpha() local 228 for (x = 0; x < uv_width; ++x) { in WebPBlendAlpha()
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | picture_enc.c | 94 const int uv_width = (int)(((int64_t)width + 1) >> 1); in WebPPictureAllocYUVA() local 96 const int uv_stride = uv_width; in WebPPictureAllocYUVA() 121 uv_width <= 0 || uv_height <= 0) { // u/v param error in WebPPictureAllocYUVA()
|
D | picture_csp_enc.c | 886 const int uv_width = (width + 1) >> 1; in ImportYUVAFromRGBA() local 890 (uint16_t*)WebPSafeMalloc(4 * uv_width, sizeof(*tmp_rgb)); in ImportYUVAFromRGBA() 942 WebPConvertRGBA32ToUV(tmp_rgb, dst_u, dst_v, uv_width); in ImportYUVAFromRGBA() 944 ConvertRowsToUV(tmp_rgb, dst_u, dst_v, uv_width, rg); in ImportYUVAFromRGBA() 977 WebPConvertRGBA32ToUV(tmp_rgb, dst_u, dst_v, uv_width); in ImportYUVAFromRGBA() 979 ConvertRowsToUV(tmp_rgb, dst_u, dst_v, uv_width, rg); in ImportYUVAFromRGBA()
|
D | picture_tools_enc.c | 200 const int uv_width = (pic->width >> 1); // omit last pixel during u/v loop in WebPBlendAlpha() local 223 for (x = 0; x < uv_width; ++x) { in WebPBlendAlpha()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/ |
D | yuv.c | 131 const int uv_width = src_width >> 1; in WebPConvertARGBToUV_C() local 133 for (i = 0; i < uv_width; ++i) { in WebPConvertARGBToUV_C()
|
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
D | yuv.c | 131 const int uv_width = src_width >> 1; in WebPConvertARGBToUV_C() local 133 for (i = 0; i < uv_width; ++i) { in WebPConvertARGBToUV_C()
|