HomeSort by relevance Sort by last modified time
    Searched refs:image_height (Results 1 - 25 of 88) sorted by null

1 2 3 4

  /external/libyuv/files/util/
ssim.h 30 const int image_height);
yuvconvert.cc 31 int image_width = 0, image_height = 0; // original width and height variable
95 image_height = atoi(argv[++c]); // NOLINT
135 if (image_width == 0 || image_height == 0) {
138 image_height = org_height;
141 image_height = rec_height;
153 dst_height = Abs(image_height);
224 int org_size = Abs(image_width) * Abs(image_height) * 4; // ARGB
227 const int y_size = Abs(image_width) * Abs(image_height);
229 ((Abs(image_width) + 1) / 2) * ((Abs(image_height) + 1) / 2);
262 printf("Size: %dx%d to %dx%d\n", image_width, image_height, dst_width
    [all...]
psnr_main.cc 56 int image_width = 0, image_height = 0; variable
177 image_height = atoi(argv[++c]); // NOLINT
210 if (image_width == 0 || image_height == 0) {
221 image_height = org_height;
228 image_height = org_height;
232 image_height = rec_height;
278 distorted_frame->y = CalcSSIM(ch_org, ch_rec, image_width, image_height);
280 CalcSSIM(u_org, u_rec, (image_width + 1) / 2, (image_height + 1) / 2);
282 CalcSSIM(v_org, v_rec, (image_width + 1) / 2, (image_height + 1) / 2);
355 const int y_size = image_width * image_height;
    [all...]
ssim.cc 298 const int image_height) {
300 const int KERNEL_Y = (image_height < KERNEL) ? image_height : KERNEL;
303 const int start_y = start_max(image_height - KERNEL_Y, KERNEL_Y);
308 SSIM += GetSSIM(org, rec, i, j, image_width, image_height, stride);
315 for (int j = KERNEL_Y; j < image_height - KERNEL_Y; ++j) {
317 SSIM += GetSSIM(org, rec, i, j, image_width, image_height, stride);
347 for (int j = start_y; j < image_height; ++j) {
349 SSIM += GetSSIM(org, rec, i, j, image_width, image_height, stride);
  /packages/services/BuiltInPrintService/jni/plugins/genPCLm/inc/
genPCLm.h 27 extern void write_JPEG_Buff(ubyte *outBuff, int quality, int image_width, int image_height,
  /packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
genJPEGStrips.cpp 51 write_JPEG_Buff(ubyte *buffPtr, int quality, int image_width, int image_height,
67 .free_in_buffer = (size_t) image_width * image_height * 3
74 cinfo.image_height = (JDIMENSION) image_height;
100 cinfo.MCU_rows_in_scan = (JDIMENSION) image_height;
111 while (cinfo.next_scanline < cinfo.image_height) {
126 LOGD("write_JPEG_Buff: w=%d, h=%d, r=%d, q=%d compressed to %d", image_width, image_height,
  /external/libjpeg-turbo/
jpegcomp.h 30 #define _jpeg_height image_height
jcapistd.c 68 * or if more than image_height scanlines are passed in.
85 if (cinfo->next_scanline >= cinfo->image_height)
91 cinfo->progress->pass_limit = (long) cinfo->image_height;
104 rows_left = cinfo->image_height - cinfo->next_scanline;
128 if (cinfo->next_scanline >= cinfo->image_height) {
136 cinfo->progress->pass_limit = (long) cinfo->image_height;
example.c 62 extern int image_height; /* Number of rows in image */
126 cinfo.image_height = image_height;
156 while (cinfo.next_scanline < cinfo.image_height) {
jdmaster.c 118 jdiv_round_up((long) cinfo->image_height, (long) DCTSIZE);
126 jdiv_round_up((long) cinfo->image_height * 2L, (long) DCTSIZE);
134 jdiv_round_up((long) cinfo->image_height * 3L, (long) DCTSIZE);
142 jdiv_round_up((long) cinfo->image_height * 4L, (long) DCTSIZE);
150 jdiv_round_up((long) cinfo->image_height * 5L, (long) DCTSIZE);
158 jdiv_round_up((long) cinfo->image_height * 6L, (long) DCTSIZE);
166 jdiv_round_up((long) cinfo->image_height * 7L, (long) DCTSIZE);
174 jdiv_round_up((long) cinfo->image_height * 8L, (long) DCTSIZE);
182 jdiv_round_up((long) cinfo->image_height * 9L, (long) DCTSIZE);
190 jdiv_round_up((long) cinfo->image_height * 10L, (long) DCTSIZE)
    [all...]
rdrle.c 124 cinfo->image_height = height;
266 progress->pub.pass_limit = cinfo->image_height;
276 for (row = 0; row < cinfo->image_height; row++) {
291 for (row = 0; row < cinfo->image_height; row++) {
314 for (row = 0; row < cinfo->image_height; row++) {
350 source->row = cinfo->image_height;
transupp.h 176 (JDIMENSION image_width, JDIMENSION image_height, int MCU_width,
jdinput.c 51 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION ||
107 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor,
123 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor,
133 jdiv_round_up((long) cinfo->image_height,
190 jdiv_round_up((long) cinfo->image_height,
  /external/pdfium/third_party/libjpeg/
fpdfapi_jcapistd.c 67 * or if more than image_height scanlines are passed in.
84 if (cinfo->next_scanline >= cinfo->image_height)
90 cinfo->progress->pass_limit = (long) cinfo->image_height;
103 rows_left = cinfo->image_height - cinfo->next_scanline;
127 if (cinfo->next_scanline >= cinfo->image_height) {
135 cinfo->progress->pass_limit = (long) cinfo->image_height;
fpdfapi_jdinput.c 46 if ((long) cinfo->image_height > (long) JPEG_MAX_DIMENSION ||
88 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor,
99 jdiv_round_up((long) cinfo->image_height * (long) compptr->v_samp_factor,
109 jdiv_round_up((long) cinfo->image_height,
166 jdiv_round_up((long) cinfo->image_height,
fpdfapi_jdmaster.c 104 jdiv_round_up((long) cinfo->image_height, 8L);
111 jdiv_round_up((long) cinfo->image_height, 4L);
118 jdiv_round_up((long) cinfo->image_height, 2L);
123 cinfo->output_height = cinfo->image_height;
155 jdiv_round_up((long) cinfo->image_height *
164 cinfo->output_height = cinfo->image_height;
  /external/mesa3d/src/mesa/drivers/common/
meta_tex_subimage.c 151 int image_height = packing->ImageHeight == 0 ? height : packing->ImageHeight; local
152 int full_height = image_height * (depth - 1) + height;
185 int image_height; local
215 image_height = packing->ImageHeight == 0 ? height : packing->ImageHeight;
245 image_height = 1;
286 0, z * image_height,
287 width, z * image_height + height,
318 int image_height; local
367 image_height = packing->ImageHeight == 0 ? height : packing->ImageHeight;
399 image_height = 1
    [all...]
  /external/libpng/contrib/gregbook/
rpng-win.c 151 static ulg image_width, image_height, image_rowbytes; variable
342 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) {
500 wimage_rowbytes*image_height)))
516 bmih->biHeight = -((long)image_height);
526 for (j = 0; j < image_height; ++j) {
566 image_height+extra_height, NULL, NULL, hInst, NULL);
599 for (lastrow = row = 0; row < image_height; ++row) {
649 if (lastrow < image_height) {
653 rect.bottom = (LONG)image_height; /* possibly off by one? */
702 rc = StretchDIBits(hdc, 0, 0, image_width, image_height,
    [all...]
rpng-x.c 135 static ulg image_width, image_height, image_rowbytes; variable
303 if ((rc = readpng_init(infile, &image_width, &image_height)) != 0) {
557 window = XCreateWindow(display, root, 0, 0, image_width, image_height, 0,
580 size_hints->min_height = size_hints->max_height = (int)image_height;
634 XFillRectangle(display, window, gc, 0, 0, image_width, image_height);
651 xdata = (uch *)malloc(4*image_width*image_height);
654 xdata = (uch *)malloc(2*image_width*image_height);
657 xdata = (uch *)malloc(image_width*image_height);
667 (char *)xdata, image_width, image_height, pad, 0);
714 for (lastrow = row = 0; row < image_height; ++row)
    [all...]
  /frameworks/av/services/camera/libcameraservice/api1/client2/
JpegCompressor.cpp 103 mCInfo.image_height = mAuxBuffer->height;
107 ALOGV("%s: image_width = %d, image_height = %d", __FUNCTION__, mCInfo.image_width, mCInfo.image_height);
118 while (mCInfo.next_scanline < mCInfo.image_height) {
  /external/autotest/client/site_tests/firmware_TouchMTB/
report_html.py 22 def __init__(self, image_width, image_height, score_colors):
49 ''' % (image_width, image_height))
139 self.image_height = self.image_width / touch_width * touch_height
140 self.doc = TemplateHtml(self.image_width, self.image_height,
  /external/mesa3d/src/mesa/state_tracker/
st_pbo.h 42 unsigned image_height; member in struct:st_pbo_addresses
  /frameworks/base/core/jni/android/graphics/
YuvToJpegEncoder.cpp 55 cinfo->image_height = height;
85 int height = cinfo->image_height;
93 while (cinfo->next_scanline < cinfo->image_height) {
161 int height = cinfo->image_height;
169 while (cinfo->next_scanline < cinfo->image_height) {
  /external/mesa3d/src/gallium/state_trackers/clover/api/
memory.cpp 170 if (!desc->image_width || !desc->image_height)
176 desc->image_height > max);
181 desc->image_width, desc->image_height,
185 if (!desc->image_width || !desc->image_height || !desc->image_depth)
191 desc->image_height > max ||
197 desc->image_width, desc->image_height,
  /packages/apps/Gallery2/jni_jpegstream/src/
jpeg_writer.cpp 74 mInfo.image_height = height;
133 while (mInfo.next_scanline < mInfo.image_height) {

Completed in 571 milliseconds

1 2 3 4