Lines Matching refs:sizeInfo

842 bool SkJpegCodec::onQueryYUV8(SkYUVASizeInfo* sizeInfo, SkYUVColorSpace* colorSpace) const {  in onQueryYUV8()  argument
850 sizeInfo->fSizes[i].set(comp_info[i].downsampled_width, comp_info[i].downsampled_height); in onQueryYUV8()
851 sizeInfo->fWidthBytes[i] = comp_info[i].width_in_blocks * DCTSIZE; in onQueryYUV8()
855 sizeInfo->fSizes[3].fHeight = sizeInfo->fSizes[3].fWidth = sizeInfo->fWidthBytes[3] = 0; in onQueryYUV8()
857 sizeInfo->fOrigin = this->getOrigin(); in onQueryYUV8()
866 SkCodec::Result SkJpegCodec::onGetYUV8Planes(const SkYUVASizeInfo& sizeInfo, in onGetYUV8Planes() argument
873 sizeInfo.fSizes[0] != defaultInfo.fSizes[0] || in onGetYUV8Planes()
874 sizeInfo.fSizes[1] != defaultInfo.fSizes[1] || in onGetYUV8Planes()
875 sizeInfo.fSizes[2] != defaultInfo.fSizes[2] || in onGetYUV8Planes()
876 sizeInfo.fWidthBytes[0] < defaultInfo.fWidthBytes[0] || in onGetYUV8Planes()
877 sizeInfo.fWidthBytes[1] < defaultInfo.fWidthBytes[1] || in onGetYUV8Planes()
878 sizeInfo.fWidthBytes[2] < defaultInfo.fWidthBytes[2]) { in onGetYUV8Planes()
903 SkASSERT(sizeInfo.fSizes[1] == sizeInfo.fSizes[2]); in onGetYUV8Planes()
904 SkASSERT((uint32_t) sizeInfo.fSizes[0].width() == dinfo->output_width && in onGetYUV8Planes()
905 (uint32_t) sizeInfo.fSizes[0].height() == dinfo->output_height); in onGetYUV8Planes()
922 rowptrs[i] = SkTAddOffset<JSAMPLE>(planes[0], i * sizeInfo.fWidthBytes[0]); in onGetYUV8Planes()
926 SkTAddOffset<JSAMPLE>(planes[1], i * sizeInfo.fWidthBytes[1]); in onGetYUV8Planes()
928 SkTAddOffset<JSAMPLE>(planes[2], i * sizeInfo.fWidthBytes[2]); in onGetYUV8Planes()
932 size_t blockIncrementY = numYRowsPerBlock * sizeInfo.fWidthBytes[0]; in onGetYUV8Planes()
933 size_t blockIncrementU = DCTSIZE * sizeInfo.fWidthBytes[1]; in onGetYUV8Planes()
934 size_t blockIncrementV = DCTSIZE * sizeInfo.fWidthBytes[2]; in onGetYUV8Planes()
967 SkAutoTMalloc<JSAMPLE> dummyRow(sizeInfo.fWidthBytes[0]); in onGetYUV8Planes()