Lines Matching refs:DCTSIZE
792 static_assert(8 == DCTSIZE, "DCTSIZE (defined in jpeg library) should always be 8."); in is_yuv_supported()
851 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()
924 for (int i = 0; i < DCTSIZE; i++) { in onGetYUV8Planes()
925 rowptrs[i + 2 * DCTSIZE] = in onGetYUV8Planes()
927 rowptrs[i + 3 * DCTSIZE] = in onGetYUV8Planes()
933 size_t blockIncrementU = DCTSIZE * sizeInfo.fWidthBytes[1]; in onGetYUV8Planes()
934 size_t blockIncrementV = DCTSIZE * sizeInfo.fWidthBytes[2]; in onGetYUV8Planes()
953 for (int i = 0; i < DCTSIZE; i++) { in onGetYUV8Planes()
954 rowptrs[i + 2 * DCTSIZE] += blockIncrementU; in onGetYUV8Planes()
955 rowptrs[i + 3 * DCTSIZE] += blockIncrementV; in onGetYUV8Planes()
971 int remainingUVRows = dinfo->comp_info[1].downsampled_height - DCTSIZE * numIters; in onGetYUV8Planes()
972 for (int i = remainingUVRows; i < DCTSIZE; i++) { in onGetYUV8Planes()
973 rowptrs[i + 2 * DCTSIZE] = dummyRow.get(); in onGetYUV8Planes()
974 rowptrs[i + 3 * DCTSIZE] = dummyRow.get(); in onGetYUV8Planes()