Home | History | Annotate | Download | only in libjpeg-turbo

Lines Matching defs:dstBuf

873                            unsigned char *dstBuf, int pad, int subsamp,
883 if (width <= 0 || height <= 0 || dstBuf == NULL || pad < 0 || !isPow2(pad) ||
889 dstPlanes[0] = dstBuf;
912 unsigned char *dstBuf, int subsamp, int flags)
915 dstBuf, 4, subsamp, flags);
920 unsigned char *dstBuf, int subsamp, int flags)
923 getPixelFormat(pixelSize, flags), dstBuf, subsamp,
1234 unsigned long jpegSize, unsigned char *dstBuf,
1246 if (jpegBuf == NULL || jpegSize <= 0 || dstBuf == NULL || width < 0 ||
1294 row_pointer[i] = &dstBuf[(dinfo->output_height - i - 1) * pitch];
1296 row_pointer[i] = &dstBuf[i * pitch];
1312 unsigned long jpegSize, unsigned char *dstBuf,
1317 return tjDecompressToYUV(handle, jpegBuf, jpegSize, dstBuf, flags);
1319 return tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, width, pitch,
1377 unsigned char *dstBuf, int width, int pitch,
1400 dstBuf == NULL || width <= 0 || pitch < 0 || height <= 0 ||
1451 row_pointer[i] = &dstBuf[(height - i - 1) * pitch];
1453 row_pointer[i] = &dstBuf[i * pitch];
1520 int pad, int subsamp, unsigned char *dstBuf,
1551 return tjDecodeYUVPlanes(handle, srcPlanes, strides, subsamp, dstBuf, width,
1732 unsigned long jpegSize, unsigned char *dstBuf,
1742 if (jpegBuf == NULL || jpegSize <= 0 || dstBuf == NULL || width < 0 ||
1772 dstPlanes[0] = dstBuf;
1796 unsigned long jpegSize, unsigned char *dstBuf,
1799 return tjDecompressToYUV2(handle, jpegBuf, jpegSize, dstBuf, 0, 4, 0, flags);
1986 unsigned char *dstBuf = NULL;
2036 (dstBuf = (unsigned char *)malloc(pitch * (*height))) == NULL)
2052 if (invert) dstptr = &dstBuf[((*height) - row - 1) * pitch];
2053 else dstptr = &dstBuf[row * pitch];
2064 if (retval < 0 && dstBuf) { free(dstBuf); dstBuf = NULL; }
2065 return dstBuf;