Home
last modified time | relevance | path

Searched refs:tjPixelSize (Results 1 – 5 of 5) sorted by relevance

/external/libjpeg-turbo/
Dturbojpeg-jni.c235 actualPitch = (pitch == 0) ? width * tjPixelSize[pf] : pitch; in TJCompressor_compress()
236 arraySize = (y + height - 1) * actualPitch + (x + width) * tjPixelSize[pf]; in TJCompressor_compress()
248 if (tjCompress2(handle, &srcBuf[y * actualPitch + x * tjPixelSize[pf]], in TJCompressor_compress()
290 if (tjPixelSize[pf] != sizeof(jint)) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII()
309 if (tjPixelSize[pf] != sizeof(jint)) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIII_3BIII()
434 actualPitch = (pitch == 0) ? width * tjPixelSize[pf] : pitch; in TJCompressor_encodeYUV()
435 arraySize = (y + height - 1) * actualPitch + (x + width) * tjPixelSize[pf]; in TJCompressor_encodeYUV()
473 if (tjEncodeYUVPlanes(handle, &srcBuf[y * actualPitch + x * tjPixelSize[pf]], in TJCompressor_encodeYUV()
502 if (tjPixelSize[pf] != sizeof(jint)) in Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIIIII_3_3B_3I_3III()
529 arraySize = (pitch == 0) ? width * tjPixelSize[pf] * height : pitch * height; in TJCompressor_encodeYUV_12()
[all …]
Dtjunittest.c108 int ps = tjPixelSize[pf]; in initBuf()
190 int ps = tjPixelSize[pf]; in checkBuf()
384 if ((srcBuf = (unsigned char *)malloc(w * h * tjPixelSize[pf])) == NULL) in compTest()
448 dstSize = scaledWidth * scaledHeight * tjPixelSize[pf]; in _decompTest()
698 int ps = tjPixelSize[pf]; in initBitmap()
733 int ps = tjPixelSize[pf]; in cmpBitmap()
782 int ps = tjPixelSize[pf], pitch = PAD(width * ps, align), loadWidth = 0, in doBmpTest()
830 pitch = PAD(width * tjPixelSize[pf], align); in doBmpTest()
841 pitch = PAD(width * tjPixelSize[pf], align); in doBmpTest()
Dturbojpeg.c277 cinfo->input_components = tjPixelSize[pixelFormat]; in setCompDefaults()
685 if (pitch == 0) pitch = width * tjPixelSize[pixelFormat]; in tjCompress2()
790 if (pitch == 0) pitch = width * tjPixelSize[pixelFormat]; in tjEncodeYUVPlanes()
1337 if (pitch == 0) pitch = dinfo->output_width * tjPixelSize[pixelFormat]; in tjDecompress2()
1468 if (pitch == 0) pitch = width * tjPixelSize[pixelFormat]; in tjDecodeYUVPlanes()
1502 if (pitch == 0) pitch = dinfo->output_width * tjPixelSize[pixelFormat]; in tjDecodeYUVPlanes()
2115 pitch = PAD((*width) * tjPixelSize[*pixelFormat], align); in tjLoadImage()
2136 memcpy(dstptr, src->buffer[i], (*width) * tjPixelSize[*pixelFormat]); in tjLoadImage()
2201 if (pitch == 0) pitch = width * tjPixelSize[pixelFormat]; in tjSaveImage()
2210 memcpy(dst->buffer[0], rowptr, width * tjPixelSize[pixelFormat]); in tjSaveImage()
Dtjbench.c152 int ps = tjPixelSize[pf]; in decomp()
330 int ps = tjPixelSize[pf]; in fullTest()
538 int ps = tjPixelSize[pf], tile, row, col, i, iter, retval = 0, decompsrc = 0; in decompTest()
570 pf = TJPF_CMYK; ps = tjPixelSize[pf]; in decompTest()
Dturbojpeg.h303 static const int tjPixelSize[TJ_NUMPF] = { variable