Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkCodecImageGenerator.cpp59 SkCodec::YUVSizeInfo sizeInfo; in onGetYUV8Planes() local
63 bool result = fCodec->queryYUV8(&sizeInfo, colorSpace); in onGetYUV8Planes()
66 fYWidth = sizeInfo.fYSize.width(); in onGetYUV8Planes()
67 fUWidth = sizeInfo.fUSize.width(); in onGetYUV8Planes()
68 fVWidth = sizeInfo.fVSize.width(); in onGetYUV8Planes()
71 sizes[0].fWidth = (int) sizeInfo.fYWidthBytes; in onGetYUV8Planes()
72 sizes[0].fHeight = sizeInfo.fYSize.height(); in onGetYUV8Planes()
73 sizes[1].fWidth = (int) sizeInfo.fUWidthBytes; in onGetYUV8Planes()
74 sizes[1].fHeight = sizeInfo.fUSize.height(); in onGetYUV8Planes()
75 sizes[2].fWidth = (int) sizeInfo.fVWidthBytes; in onGetYUV8Planes()
[all …]
DSkJpegCodec.cpp597 bool SkJpegCodec::onQueryYUV8(YUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in onQueryYUV8() argument
603 sizeInfo->fYSize.set(dinfo->comp_info[0].downsampled_width, in onQueryYUV8()
605 sizeInfo->fUSize.set(dinfo->comp_info[1].downsampled_width, in onQueryYUV8()
607 sizeInfo->fVSize.set(dinfo->comp_info[2].downsampled_width, in onQueryYUV8()
609 sizeInfo->fYWidthBytes = dinfo->comp_info[0].width_in_blocks * DCTSIZE; in onQueryYUV8()
610 sizeInfo->fUWidthBytes = dinfo->comp_info[1].width_in_blocks * DCTSIZE; in onQueryYUV8()
611 sizeInfo->fVWidthBytes = dinfo->comp_info[2].width_in_blocks * DCTSIZE; in onQueryYUV8()
620 SkCodec::Result SkJpegCodec::onGetYUV8Planes(const YUVSizeInfo& sizeInfo, void* pixels[3]) { in onGetYUV8Planes() argument
625 if (!supportsYUV || sizeInfo.fYSize != defaultInfo.fYSize || in onGetYUV8Planes()
626 sizeInfo.fUSize != defaultInfo.fUSize || in onGetYUV8Planes()
[all …]
DSkJpegCodec.h48 bool onQueryYUV8(YUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const override;
50 Result onGetYUV8Planes(const YUVSizeInfo& sizeInfo, void* pixels[3]) override;
/external/skia/include/codec/
DSkCodec.h311 bool queryYUV8(YUVSizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const { in queryYUV8() argument
312 if (nullptr == sizeInfo) { in queryYUV8()
316 return this->onQueryYUV8(sizeInfo, colorSpace); in queryYUV8()
329 Result getYUV8Planes(const YUVSizeInfo& sizeInfo, void* planes[3]) { in getYUV8Planes() argument
339 return this->onGetYUV8Planes(sizeInfo, planes); in getYUV8Planes()