/external/skia/tests/ |
D | YUVTest.cpp | 30 SkYUVSizeInfo info; in codec_yuv() 40 REPORTER_ASSERT(reporter, info.fWidthBytes[SkYUVSizeInfo::kY] == in codec_yuv() 41 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kY].width())); in codec_yuv() 42 REPORTER_ASSERT(reporter, info.fWidthBytes[SkYUVSizeInfo::kU] == in codec_yuv() 43 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kU].width())); in codec_yuv() 44 REPORTER_ASSERT(reporter, info.fWidthBytes[SkYUVSizeInfo::kV] == in codec_yuv() 45 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kV].width())); in codec_yuv() 50 REPORTER_ASSERT(reporter, info.fWidthBytes[SkYUVSizeInfo::kY] == in codec_yuv() 51 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kY].width())); in codec_yuv() 52 REPORTER_ASSERT(reporter, info.fWidthBytes[SkYUVSizeInfo::kU] == in codec_yuv() [all …]
|
D | ImageGeneratorTest.cpp | 47 SkYUVSizeInfo sizeInfo; in DEF_TEST() 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() 60 sizeInfo.fWidthBytes[SkYUVSizeInfo::kY] = 250; in DEF_TEST() 61 sizeInfo.fWidthBytes[SkYUVSizeInfo::kU] = 250; in DEF_TEST() 62 sizeInfo.fWidthBytes[SkYUVSizeInfo::kV] = 250; in DEF_TEST() [all …]
|
/external/skia/src/core/ |
D | SkImageGenerator.cpp | 56 bool SkImageGenerator::queryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in queryYUV8() 62 bool SkImageGenerator::getYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) { in getYUV8Planes() 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() 69 SkASSERT(sizeInfo.fWidthBytes[SkYUVSizeInfo::kY] >= in getYUV8Planes() 70 (size_t) sizeInfo.fSizes[SkYUVSizeInfo::kY].fWidth); in getYUV8Planes() [all …]
|
D | SkYUVPlanesCache.h | 27 SkYUVSizeInfo fSizeInfo;
|
D | SkImageCacherator.cpp | 483 bool onQueryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const override { in onQueryYUV8() 486 bool onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) override { in onGetYUV8Planes()
|
/external/skia/src/gpu/ |
D | GrYUVProvider.cpp | 47 planes[1] = (uint8_t*)planes[0] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kY] * in init() 48 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kY].fHeight); in init() 49 planes[2] = (uint8_t*)planes[1] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kU] * in init() 50 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kU].fHeight); in init() 69 planes[1] = (uint8_t*)planes[0] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kY] * in init() 70 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kY].fHeight); in init() 71 planes[2] = (uint8_t*)planes[1] + (yuvInfo->fSizeInfo.fWidthBytes[SkYUVSizeInfo::kU] * in init() 72 yuvInfo->fSizeInfo.fSizes[SkYUVSizeInfo::kU].fHeight); in init() 106 (yuvDesc.fWidth != yuvInfo.fSizeInfo.fSizes[SkYUVSizeInfo::kY].fWidth) || in refAsTextureProxy() 107 (yuvDesc.fHeight != yuvInfo.fSizeInfo.fSizes[SkYUVSizeInfo::kY].fHeight) in refAsTextureProxy() [all …]
|
D | GrYUVProvider.h | 53 virtual bool onQueryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const = 0; 65 virtual bool onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) = 0;
|
/external/skia/src/codec/ |
D | SkJpegCodec.cpp | 830 bool SkJpegCodec::onQueryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in onQueryYUV8() 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() 854 SkYUVSizeInfo defaultInfo; in onGetYUV8Planes() 859 sizeInfo.fSizes[SkYUVSizeInfo::kY] != defaultInfo.fSizes[SkYUVSizeInfo::kY] || in onGetYUV8Planes() [all …]
|
D | SkCodecImageGenerator.h | 29 bool onQueryYUV8(SkYUVSizeInfo*, SkYUVColorSpace*) const override; 31 bool onGetYUV8Planes(const SkYUVSizeInfo&, void* planes[3]) override;
|
D | SkCodecImageGenerator.cpp | 51 bool SkCodecImageGenerator::onQueryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const in onQueryYUV8() 56 bool SkCodecImageGenerator::onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) { in onGetYUV8Planes()
|
D | SkJpegCodec.h | 50 bool onQueryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const override; 52 Result onGetYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) override;
|
/external/skia/include/core/ |
D | SkImageGenerator.h | 101 bool queryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const; 113 bool getYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]); 173 virtual bool onQueryYUV8(SkYUVSizeInfo*, SkYUVColorSpace*) const { in onQueryYUV8() argument 176 virtual bool onGetYUV8Planes(const SkYUVSizeInfo&, void*[3] /*planes*/) { in onGetYUV8Planes() argument
|
D | SkYUVSizeInfo.h | 13 struct SkYUVSizeInfo { struct
|
/external/skia/include/codec/ |
D | SkCodec.h | 366 bool queryYUV8(SkYUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in queryYUV8() 384 Result getYUV8Planes(const SkYUVSizeInfo& sizeInfo, void* planes[3]) { in getYUV8Planes() 700 virtual bool onQueryYUV8(SkYUVSizeInfo*, SkYUVColorSpace*) const { in onQueryYUV8() argument 704 virtual Result onGetYUV8Planes(const SkYUVSizeInfo&, void*[3] /*planes*/) { in onGetYUV8Planes() argument
|