Home
last modified time | relevance | path

Searched refs:sizeInfo (Results 1 – 15 of 15) sorted by relevance

/external/skia/tests/
DImageGeneratorTest.cpp47 SkYUVSizeInfo sizeInfo; in DEF_TEST() local
48 sizeInfo.fSizes[SkYUVSizeInfo::kY] = SkISize::Make(200, 200); in DEF_TEST()
49 sizeInfo.fSizes[SkYUVSizeInfo::kU] = SkISize::Make(100, 100); in DEF_TEST()
50 sizeInfo.fSizes[SkYUVSizeInfo::kV] = SkISize::Make( 50, 50); in DEF_TEST()
51 sizeInfo.fWidthBytes[SkYUVSizeInfo::kY] = 0; in DEF_TEST()
52 sizeInfo.fWidthBytes[SkYUVSizeInfo::kU] = 0; in DEF_TEST()
53 sizeInfo.fWidthBytes[SkYUVSizeInfo::kV] = 0; in DEF_TEST()
58 ig.queryYUV8(&sizeInfo, nullptr); in DEF_TEST()
59 ig.queryYUV8(&sizeInfo, &colorSpace); in DEF_TEST()
60 sizeInfo.fWidthBytes[SkYUVSizeInfo::kY] = 250; in DEF_TEST()
[all …]
/external/skia/src/core/
DSkImageGenerator.cpp56 bool SkImageGenerator::queryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in queryYUV8() argument
57 SkASSERT(sizeInfo); in queryYUV8()
59 return this->onQueryYUV8(sizeInfo, colorSpace); in queryYUV8()
62 bool SkImageGenerator::getYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) { in getYUV8Planes() argument
63 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kY].fWidth >= 0); in getYUV8Planes()
64 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kY].fHeight >= 0); in getYUV8Planes()
65 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kU].fWidth >= 0); in getYUV8Planes()
66 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kU].fHeight >= 0); in getYUV8Planes()
67 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kV].fWidth >= 0); in getYUV8Planes()
68 SkASSERT(sizeInfo.fSizes[SkYUVSizeInfo::kV].fHeight >= 0); in getYUV8Planes()
[all …]
DSkImageCacherator.cpp483 bool onQueryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const override { in onQueryYUV8() argument
484 return fGen->queryYUV8(sizeInfo, colorSpace); in onQueryYUV8()
486 bool onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) override { in onGetYUV8Planes() argument
487 return fGen->getYUV8Planes(sizeInfo, planes); in onGetYUV8Planes()
/external/skia/src/codec/
DSkJpegCodec.cpp830 bool SkJpegCodec::onQueryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in onQueryYUV8() argument
836 sizeInfo->fSizes[SkYUVSizeInfo::kY].set(dinfo->comp_info[0].downsampled_width, in onQueryYUV8()
838 sizeInfo->fSizes[SkYUVSizeInfo::kU].set(dinfo->comp_info[1].downsampled_width, in onQueryYUV8()
840 sizeInfo->fSizes[SkYUVSizeInfo::kV].set(dinfo->comp_info[2].downsampled_width, in onQueryYUV8()
842 sizeInfo->fWidthBytes[SkYUVSizeInfo::kY] = dinfo->comp_info[0].width_in_blocks * DCTSIZE; in onQueryYUV8()
843 sizeInfo->fWidthBytes[SkYUVSizeInfo::kU] = dinfo->comp_info[1].width_in_blocks * DCTSIZE; in onQueryYUV8()
844 sizeInfo->fWidthBytes[SkYUVSizeInfo::kV] = dinfo->comp_info[2].width_in_blocks * DCTSIZE; in onQueryYUV8()
853 SkCodec::Result SkJpegCodec::onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) { in onGetYUV8Planes() argument
859 sizeInfo.fSizes[SkYUVSizeInfo::kY] != defaultInfo.fSizes[SkYUVSizeInfo::kY] || in onGetYUV8Planes()
860 sizeInfo.fSizes[SkYUVSizeInfo::kU] != defaultInfo.fSizes[SkYUVSizeInfo::kU] || in onGetYUV8Planes()
[all …]
DSkCodecImageGenerator.cpp51 bool SkCodecImageGenerator::onQueryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const in onQueryYUV8() argument
53 return fCodec->queryYUV8(sizeInfo, colorSpace); in onQueryYUV8()
56 bool SkCodecImageGenerator::onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) { in onGetYUV8Planes() argument
57 SkCodec::Result result = fCodec->getYUV8Planes(sizeInfo, planes); in onGetYUV8Planes()
DSkJpegCodec.h50 bool onQueryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const override;
52 Result onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) override;
/external/skia/src/gpu/
DGrYUVProvider.h53 virtual bool onQueryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const = 0;
65 virtual bool onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) = 0;
/external/skia/include/codec/
DSkCodec.h366 bool queryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in queryYUV8() argument
367 if (nullptr == sizeInfo) { in queryYUV8()
371 return this->onQueryYUV8(sizeInfo, colorSpace); in queryYUV8()
384 Result getYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) { in getYUV8Planes() argument
394 return this->onGetYUV8Planes(sizeInfo, planes); in getYUV8Planes()
/external/skia/include/core/
DSkImageGenerator.h101 bool queryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const;
113 bool getYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]);
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...