Home
last modified time | relevance | path

Searched refs:yuvaInfo (Results 1 – 23 of 23) sorted by relevance

/external/skia/src/core/
DSkYUVAPixmaps.cpp78 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/
DGrYUVABackendTextures.cpp25 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()
DGrYUVATextureProxies.cpp28 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()
DGrYUVATextureProxies.h43 const SkYUVAInfo& yuvaInfo() const { return fYUVAInfo; } in yuvaInfo() function
/external/skia/src/image/
DSkImage_GpuYUVA.cpp39 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 …]
DSkImage_Lazy.cpp342 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/
DYUVCacheTest.cpp36 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()
DImageGeneratorTest.cpp68 SkYUVAInfo yuvaInfo({250, 250}, in DEF_TEST() local
72 yuvaPixmapInfo = SkYUVAPixmapInfo(yuvaInfo, in DEF_TEST()
DYUVTest.cpp47 REPORTER_ASSERT(reporter, *expectedInfo == yuvaPixmapInfo.yuvaInfo()); in codec_yuv()
DImageTest.cpp1402 SkYUVAInfo yuvaInfo({1, 1}, in make_yuva_image() local
1407 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pmaps); in make_yuva_image()
/external/skia/gm/
Dyuvtorgbsubset.cpp55 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()
Dasyncrescaleandread.cpp98 SkYUVAInfo yuvaInfo(size, in do_read_and_scale_yuv() local
107 auto pixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, yuvPMs); in do_read_and_scale_yuv()
Dimagefromyuvtextures.cpp78 SkColorMatrix_RGB2YUV(pixmaps.yuvaInfo().yuvColorSpace(), m); in CreatePlanes()
Dwacky_yuv_formats.cpp1238 SkYUVAInfo yuvaInfo(fOrig->dimensions(), in onDraw() local
1242 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, fPM); in onDraw()
/external/skia/tools/
DDDLPromiseImageHelper.cpp153 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()
DDDLPromiseImageHelper.h148 const SkYUVAInfo& yuvaInfo() const { return fYUVAPixmaps.yuvaInfo(); } in yuvaInfo() function
/external/skia/tools/gpu/
DYUVUtils.cpp52 : 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()
DYUVUtils.h36 SkISize dimensions() const { return fPixmaps.yuvaInfo().dimensions(); } in dimensions()
/external/skia/src/gpu/effects/
DGrYUVtoRGBEffect.cpp23 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/
DGrYUVABackendTextures.h46 const SkYUVAInfo& yuvaInfo() const { return fYUVAInfo; } in yuvaInfo() function
104 const SkYUVAInfo& yuvaInfo() const { return fYUVAInfo; } in yuvaInfo() function
/external/skia/include/core/
DSkYUVAPixmaps.h117 const SkYUVAInfo& yuvaInfo() const { return fYUVAInfo; } in yuvaInfo() function
220 const SkYUVAInfo& yuvaInfo() const { return fYUVAInfo; } in yuvaInfo() function
/external/skia/experimental/ffmpeg/
DSkVideoDecoder.cpp168 SkYUVAInfo yuvaInfo({w, h}, in make_yuv_420() local
178 auto yuvaPixmaps = SkYUVAPixmaps::FromExternalPixmaps(yuvaInfo, pixmaps); in make_yuv_420()
/external/skia/src/codec/
DSkJpegCodec.cpp827 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()