Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dturbojpeg-jni.c230 actualPitch = (pitch == 0) ? width * tjPixelSize[pf] : pitch; in TJCompressor_compress()
231 arraySize = (y + height - 1) * actualPitch + (x + width) * tjPixelSize[pf]; in TJCompressor_compress()
243 if (tjCompress2(handle, &srcBuf[y * actualPitch + x * tjPixelSize[pf]], in TJCompressor_compress()
282 if (tjPixelSize[pf] != sizeof(jint)) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIIIII_3BIII()
301 if (tjPixelSize[pf] != sizeof(jint)) in Java_org_libjpegturbo_turbojpeg_TJCompressor_compress___3IIIII_3BIII()
418 actualPitch = (pitch == 0) ? width * tjPixelSize[pf] : pitch; in TJCompressor_encodeYUV()
419 arraySize = (y + height - 1) * actualPitch + (x + width) * tjPixelSize[pf]; in TJCompressor_encodeYUV()
447 if (tjEncodeYUVPlanes(handle, &srcBuf[y * actualPitch + x * tjPixelSize[pf]], in TJCompressor_encodeYUV()
483 if (tjPixelSize[pf] != sizeof(jint)) in Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3IIIIIII_3_3B_3I_3III()
510 arraySize = (pitch == 0) ? width * tjPixelSize[pf] * height : pitch * height; in TJCompressor_encodeYUV_12()
[all …]
Dtjunittest.c104 int ps = tjPixelSize[pf]; in initBuf()
184 int ps = tjPixelSize[pf]; in checkBuf()
370 if ((srcBuf = (unsigned char *)malloc(w * h * tjPixelSize[pf])) == NULL) in compTest()
432 dstSize = scaledWidth * scaledHeight * tjPixelSize[pf]; in _decompTest()
642 int ps = tjPixelSize[pf]; in initBitmap()
677 int ps = tjPixelSize[pf]; in cmpBitmap()
725 int ps = tjPixelSize[pf], pitch = PAD(width * ps, align), loadWidth = 0, in doBmpTest()
767 pitch = PAD(width * tjPixelSize[pf], align); in doBmpTest()
778 pitch = PAD(width * tjPixelSize[pf], align); in doBmpTest()
Dturbojpeg.c243 cinfo->input_components = tjPixelSize[pixelFormat]; in setCompDefaults()
644 if (pitch == 0) pitch = width * tjPixelSize[pixelFormat]; in tjCompress2()
747 if (pitch == 0) pitch = width * tjPixelSize[pixelFormat]; in tjEncodeYUVPlanes()
1283 if (pitch == 0) pitch = dinfo->output_width * tjPixelSize[pixelFormat]; in tjDecompress2()
1414 if (pitch == 0) pitch = width * tjPixelSize[pixelFormat]; in tjDecodeYUVPlanes()
1445 if (pitch == 0) pitch = dinfo->output_width * tjPixelSize[pixelFormat]; in tjDecodeYUVPlanes()
2033 pitch = PAD((*width) * tjPixelSize[*pixelFormat], align); in tjLoadImage()
2054 memcpy(dstptr, src->buffer[i], (*width) * tjPixelSize[*pixelFormat]); in tjLoadImage()
2119 if (pitch == 0) pitch = width * tjPixelSize[pixelFormat]; in tjSaveImage()
2128 memcpy(dst->buffer[0], rowptr, width * tjPixelSize[pixelFormat]); in tjSaveImage()
Dtjbench.c147 int ps = tjPixelSize[pf]; in decomp()
318 int ps = tjPixelSize[pf]; in fullTest()
515 int ps = tjPixelSize[pf], tile, row, col, i, iter, retval = 0, decompsrc = 0; in decompTest()
547 pf = TJPF_CMYK; ps = tjPixelSize[pf]; in decompTest()
Dturbojpeg.h302 static const int tjPixelSize[TJ_NUMPF] = { variable
Dtjexample.c332 tjPixelSize[pixelFormat])) == NULL) in main()