Lines Matching refs:DCTSIZE

547     static_assert(8 == DCTSIZE, "DCTSIZE (defined in jpeg library) should always be 8.");  in is_yuv_supported()
608 sizeInfo->fYWidthBytes = dinfo->comp_info[0].width_in_blocks * DCTSIZE; in onQueryYUV8()
609 sizeInfo->fUWidthBytes = dinfo->comp_info[1].width_in_blocks * DCTSIZE; in onQueryYUV8()
610 sizeInfo->fVWidthBytes = dinfo->comp_info[2].width_in_blocks * DCTSIZE; in onQueryYUV8()
664 JSAMPROW rowptrs[2 * DCTSIZE + DCTSIZE + DCTSIZE]; in onGetYUV8Planes()
666 yuv[1] = &rowptrs[2 * DCTSIZE]; // U rows (DCTSIZE) in onGetYUV8Planes()
667 yuv[2] = &rowptrs[3 * DCTSIZE]; // V rows (DCTSIZE) in onGetYUV8Planes()
670 int numYRowsPerBlock = DCTSIZE * dinfo->comp_info[0].v_samp_factor; in onGetYUV8Planes()
674 for (int i = 0; i < DCTSIZE; i++) { in onGetYUV8Planes()
675 rowptrs[i + 2 * DCTSIZE] = SkTAddOffset<JSAMPLE>(pixels[1], i * sizeInfo.fUWidthBytes); in onGetYUV8Planes()
676 rowptrs[i + 3 * DCTSIZE] = SkTAddOffset<JSAMPLE>(pixels[2], i * sizeInfo.fVWidthBytes); in onGetYUV8Planes()
681 size_t blockIncrementU = DCTSIZE * sizeInfo.fUWidthBytes; in onGetYUV8Planes()
682 size_t blockIncrementV = DCTSIZE * sizeInfo.fVWidthBytes; in onGetYUV8Planes()
701 for (int i = 0; i < DCTSIZE; i++) { in onGetYUV8Planes()
702 rowptrs[i + 2 * DCTSIZE] += blockIncrementU; in onGetYUV8Planes()
703 rowptrs[i + 3 * DCTSIZE] += blockIncrementV; in onGetYUV8Planes()
719 int remainingUVRows = dinfo->comp_info[1].downsampled_height - DCTSIZE * numIters; in onGetYUV8Planes()
720 for (int i = remainingUVRows; i < DCTSIZE; i++) { in onGetYUV8Planes()
721 rowptrs[i + 2 * DCTSIZE] = dummyRow.get(); in onGetYUV8Planes()
722 rowptrs[i + 3 * DCTSIZE] = dummyRow.get(); in onGetYUV8Planes()