Lines Matching refs:DCTSIZE
798 static_assert(8 == DCTSIZE, "DCTSIZE (defined in jpeg library) should always be 8."); in is_yuv_supported()
857 sizeInfo->fWidthBytes[i] = comp_info[i].width_in_blocks * DCTSIZE; in onQueryYUV8()
914 JSAMPROW rowptrs[2 * DCTSIZE + DCTSIZE + DCTSIZE]; in onGetYUV8Planes()
916 yuv[1] = &rowptrs[2 * DCTSIZE]; // U rows (DCTSIZE) in onGetYUV8Planes()
917 yuv[2] = &rowptrs[3 * DCTSIZE]; // V rows (DCTSIZE) in onGetYUV8Planes()
920 int numYRowsPerBlock = DCTSIZE * dinfo->comp_info[0].v_samp_factor; in onGetYUV8Planes()
925 for (int i = 0; i < DCTSIZE; i++) { in onGetYUV8Planes()
926 rowptrs[i + 2 * DCTSIZE] = SkTAddOffset<JSAMPLE>(planes[SkYUVSizeInfo::kU], in onGetYUV8Planes()
928 rowptrs[i + 3 * DCTSIZE] = SkTAddOffset<JSAMPLE>(planes[SkYUVSizeInfo::kV], in onGetYUV8Planes()
934 size_t blockIncrementU = DCTSIZE * sizeInfo.fWidthBytes[SkYUVSizeInfo::kU]; in onGetYUV8Planes()
935 size_t blockIncrementV = DCTSIZE * sizeInfo.fWidthBytes[SkYUVSizeInfo::kV]; in onGetYUV8Planes()
954 for (int i = 0; i < DCTSIZE; i++) { in onGetYUV8Planes()
955 rowptrs[i + 2 * DCTSIZE] += blockIncrementU; in onGetYUV8Planes()
956 rowptrs[i + 3 * DCTSIZE] += blockIncrementV; in onGetYUV8Planes()
972 int remainingUVRows = dinfo->comp_info[1].downsampled_height - DCTSIZE * numIters; in onGetYUV8Planes()
973 for (int i = remainingUVRows; i < DCTSIZE; i++) { in onGetYUV8Planes()
974 rowptrs[i + 2 * DCTSIZE] = dummyRow.get(); in onGetYUV8Planes()
975 rowptrs[i + 3 * DCTSIZE] = dummyRow.get(); in onGetYUV8Planes()