/external/skia/src/core/ |
D | SkYUVAPixmaps.cpp | 78 SkYUVAPixmapInfo::SkYUVAPixmapInfo(const SkYUVAInfo& yuvaInfo, in SkYUVAPixmapInfo() argument 81 : fYUVAInfo(yuvaInfo) { in SkYUVAPixmapInfo() 82 if (!yuvaInfo.isValid()) { in SkYUVAPixmapInfo() 88 int n = yuvaInfo.planeDimensions(planeDimensions); in SkYUVAPixmapInfo() 103 int numRequiredChannels = yuvaInfo.numChannelsInPlane(i); in SkYUVAPixmapInfo() 119 SkYUVAPixmapInfo::SkYUVAPixmapInfo(const SkYUVAInfo& yuvaInfo, in SkYUVAPixmapInfo() argument 123 int numPlanes = yuvaInfo.numPlanes(); in SkYUVAPixmapInfo() 125 int numChannels = yuvaInfo.numChannelsInPlane(i); in SkYUVAPixmapInfo() 128 *this = SkYUVAPixmapInfo(yuvaInfo, colorTypes, rowBytes); in SkYUVAPixmapInfo() 237 return SkYUVAPixmaps(yuvaPixmapInfo.yuvaInfo(), yuvaPixmapInfo.dataType(), pixmaps); in FromExternalMemory() [all …]
|
/external/skia/src/gpu/ |
D | GrYUVABackendTextures.cpp | 25 GrYUVABackendTextureInfo::GrYUVABackendTextureInfo(const SkYUVAInfo& yuvaInfo, in GrYUVABackendTextureInfo() argument 29 : fYUVAInfo(yuvaInfo), fMipmapped(mipmapped), fTextureOrigin(origin) { in GrYUVABackendTextureInfo() 30 if (!yuvaInfo.isValid()) { in GrYUVABackendTextureInfo() 35 int n = yuvaInfo.numPlanes(); in GrYUVABackendTextureInfo() 42 int numRequiredChannels = yuvaInfo.numChannelsInPlane(i); in GrYUVABackendTextureInfo() 79 const SkYUVAInfo& yuvaInfo, in GrYUVABackendTextures() argument 82 : fYUVAInfo(yuvaInfo), fTextureOrigin(textureOrigin) { in GrYUVABackendTextures() 87 int numPlanes = yuvaInfo.planeDimensions(planeDimensions); in GrYUVABackendTextures()
|
D | GrYUVATextureProxies.cpp | 28 GrYUVATextureProxies::GrYUVATextureProxies(const SkYUVAInfo& yuvaInfo, in GrYUVATextureProxies() argument 31 : fYUVAInfo(yuvaInfo), fTextureOrigin(textureOrigin) { in GrYUVATextureProxies() 32 int n = yuvaInfo.numPlanes(); in GrYUVATextureProxies() 47 fYUVALocations = yuvaInfo.toYUVALocations(textureChannelMasks); in GrYUVATextureProxies() 69 GrYUVATextureProxies::GrYUVATextureProxies(const SkYUVAInfo& yuvaInfo, in GrYUVATextureProxies() argument 72 : fYUVAInfo(yuvaInfo) { in GrYUVATextureProxies() 74 int n = yuvaInfo.numPlanes(); in GrYUVATextureProxies() 95 fYUVALocations = yuvaInfo.toYUVALocations(pixmapChannelMasks); in GrYUVATextureProxies()
|
D | GrYUVATextureProxies.h | 43 const SkYUVAInfo& yuvaInfo() const { return fYUVAInfo; } in yuvaInfo() function
|
/external/skia/src/image/ |
D | SkImage_GpuYUVA.cpp | 39 SkImageInfo::Make(proxies.yuvaInfo().dimensions(), in SkImage_GpuYUVA() 45 proxies.yuvaInfo().hasAlpha() ? kPremul_SkAlphaType in SkImage_GpuYUVA() 75 int n = fYUVAProxies.yuvaInfo().numPlanes(); in setupMipmapsForPlanes() 90 fYUVAProxies = GrYUVATextureProxies(fYUVAProxies.yuvaInfo(), in setupMipmapsForPlanes() 232 int numPlanes = yuvaTextures.yuvaInfo().numPlanes(); in MakeFromYUVATextures() 244 GrYUVATextureProxies yuvaProxies(yuvaTextures.yuvaInfo(), in MakeFromYUVATextures() 278 int maxDim = std::max(pixmaps.yuvaInfo().width(), pixmaps.yuvaInfo().height()); in MakeFromYUVAPixmaps() 289 std::min(static_cast<int>(pixmaps.yuvaInfo().width() *scale), maxTextureSize), in MakeFromYUVAPixmaps() 290 std::min(static_cast<int>(pixmaps.yuvaInfo().height()*scale), maxTextureSize) in MakeFromYUVAPixmaps() 292 SkYUVAInfo newInfo = pixmaps.yuvaInfo().makeDimensions(newDimensions); in MakeFromYUVAPixmaps() [all …]
|
D | SkImage_Lazy.cpp | 342 GrYUVATextureProxies yuvaProxies(yuvaPixmaps.yuvaInfo(), views, pixmapColorTypes); in textureProxyViewFromPlanes() 380 SkASSERT(yuvaPixmaps->yuvaInfo().dimensions() == this->dimensions()); in getPlanes() 385 yuvaPixmapInfo.yuvaInfo().dimensions() != this->dimensions()) { in getPlanes()
|
/external/skia/tests/ |
D | YUVCacheTest.cpp | 36 SkYUVAInfo yuvaInfo({5, 5}, in DEF_TEST() local 40 SkYUVAPixmapInfo yuvaPixmapInfo(yuvaInfo, in DEF_TEST() 55 yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pmaps); in DEF_TEST() 68 REPORTER_ASSERT(reporter, yuvaPixmapsRead.yuvaInfo() == yuvaPixmaps.yuvaInfo()); in DEF_TEST()
|
D | ImageGeneratorTest.cpp | 68 SkYUVAInfo yuvaInfo({250, 250}, in DEF_TEST() local 72 yuvaPixmapInfo = SkYUVAPixmapInfo(yuvaInfo, in DEF_TEST()
|
D | YUVTest.cpp | 47 REPORTER_ASSERT(reporter, *expectedInfo == yuvaPixmapInfo.yuvaInfo()); in codec_yuv()
|
D | ImageTest.cpp | 1402 SkYUVAInfo yuvaInfo({1, 1}, in make_yuva_image() local 1407 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pmaps); in make_yuva_image()
|
/external/skia/gm/ |
D | yuvtorgbsubset.cpp | 55 SkYUVAInfo yuvaInfo = SkYUVAInfo({8, 8}, in makePixmaps() local 62 SkYUVAPixmapInfo pmapInfo(yuvaInfo, colorTypes, nullptr); in makePixmaps() 105 fProxies = GrYUVATextureProxies(fPixmaps.yuvaInfo(), views, colorTypes); in onGpuSetup() 124 SkRect rect = SkRect::Make(fProxies.yuvaInfo().dimensions()); in onDraw() 125 rect = rect.makeOutset(fProxies.yuvaInfo().width()/2.f, fProxies.yuvaInfo().height()/2.f); in onDraw()
|
D | asyncrescaleandread.cpp | 98 SkYUVAInfo yuvaInfo(size, in do_read_and_scale_yuv() local 107 auto pixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, yuvPMs); in do_read_and_scale_yuv()
|
D | imagefromyuvtextures.cpp | 78 SkColorMatrix_RGB2YUV(pixmaps.yuvaInfo().yuvColorSpace(), m); in CreatePlanes()
|
D | wacky_yuv_formats.cpp | 1238 SkYUVAInfo yuvaInfo(fOrig->dimensions(), in onDraw() local 1242 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, fPM); in onDraw()
|
/external/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 153 int numPixmaps = info->yuvaInfo().numPlanes(); in CreateBETexturesForPromiseImage() 196 int numPixmaps = info->yuvaInfo().numPlanes(); in DeleteBETexturesForPromiseImage() 224 int numPixmaps = info.yuvaInfo().numPlanes(); in createCallbackContexts() 328 const SkYUVAInfo& yuvaInfo = curImage.yuvaInfo(); in CreatePromiseImages() local 330 int textureCount = yuvaInfo.numPlanes(); in CreatePromiseImages() 335 GrYUVABackendTextureInfo yuvaBackendTextures(yuvaInfo, in CreatePromiseImages() 401 SkYUVAPixmapInfo yuvaInfo; in addImage() local 402 if (codec && codec->queryYUVAInfo(fSupportedYUVADataTypes, &yuvaInfo)) { in addImage() 403 auto yuvaPixmaps = SkYUVAPixmaps::Allocate(yuvaInfo); in addImage()
|
D | DDLPromiseImageHelper.h | 148 const SkYUVAInfo& yuvaInfo() const { return fYUVAPixmaps.yuvaInfo(); } in yuvaInfo() function
|
/external/skia/tools/gpu/ |
D | YUVUtils.cpp | 52 : SkImageGenerator(SkImageInfo::Make(pixmaps.yuvaInfo().dimensions(), in Generator() 68 SkColorMatrix_YUV2RGB(fPixmaps.yuvaInfo().yuvColorSpace(), mtx); in onGetPixels() 72 SkMatrix om = fPixmaps.yuvaInfo().originMatrix(); in onGetPixels() 76 if (SkEncodedOriginSwapsWidthHeight(fPixmaps.yuvaInfo().origin())) { in onGetPixels() 118 SkASSERT(pixmaps.yuvaInfo() == fPixmaps.yuvaInfo()); in onGetYUVAPlanes() 260 GrYUVABackendTextures yuvaTextures(fPixmaps.yuvaInfo(), in ensureYUVImage()
|
D | YUVUtils.h | 36 SkISize dimensions() const { return fPixmaps.yuvaInfo().dimensions(); } in dimensions()
|
/external/skia/src/gpu/effects/ |
D | GrYUVtoRGBEffect.cpp | 23 SkColorMatrix_RGB2YUV(yuvaProxies.yuvaInfo().yuvColorSpace(), m); in border_colors() 40 int numPlanes = yuvaProxies.yuvaInfo().numPlanes(); in Make() 56 SkMatrix planeMatrix = yuvaProxies.yuvaInfo().originMatrix(); in Make() 62 auto [ssx, ssy] = yuvaProxies.yuvaInfo().planeSubsamplingFactors(i); in Make() 75 SkASSERT(yuvaProxies.yuvaInfo().sitingX() == SkYUVAInfo::Siting::kCentered); in Make() 76 SkASSERT(yuvaProxies.yuvaInfo().sitingY() == SkYUVAInfo::Siting::kCentered); in Make() 175 yuvaProxies.yuvaInfo().yuvColorSpace())); in Make()
|
/external/skia/include/gpu/ |
D | GrYUVABackendTextures.h | 46 const SkYUVAInfo& yuvaInfo() const { return fYUVAInfo; } in yuvaInfo() function 104 const SkYUVAInfo& yuvaInfo() const { return fYUVAInfo; } in yuvaInfo() function
|
/external/skia/include/core/ |
D | SkYUVAPixmaps.h | 117 const SkYUVAInfo& yuvaInfo() const { return fYUVAInfo; } in yuvaInfo() function 220 const SkYUVAInfo& yuvaInfo() const { return fYUVAInfo; } in yuvaInfo() function
|
/external/skia/experimental/ffmpeg/ |
D | SkVideoDecoder.cpp | 168 SkYUVAInfo yuvaInfo({w, h}, in make_yuv_420() local 178 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pixmaps); in make_yuv_420()
|
/external/skia/src/codec/ |
D | SkJpegCodec.cpp | 827 SkYUVAInfo yuvaInfo(codec.dimensions(), in is_yuv_supported() local 834 *yuvaPixmapInfo = SkYUVAPixmapInfo(yuvaInfo, colorTypes, rowBytes); in is_yuv_supported() 872 SkASSERT(info.yuvaInfo() == yuvaPixmaps.yuvaInfo()); in onGetYUVAPlanes()
|