Home
last modified time | relevance | path

Searched refs:bytes_per_row (Results 1 – 23 of 23) sorted by relevance

/external/syslinux/com32/lib/jpeg/
Dyuv420p.c78 p += priv->bytes_per_row[0]; in YCrCB_to_YUV420P_1x1()
91 p += priv->bytes_per_row[1] - 4; in YCrCB_to_YUV420P_1x1()
103 p += priv->bytes_per_row[2] - 4; in YCrCB_to_YUV420P_1x1()
124 p += priv->bytes_per_row[0]; in YCrCB_to_YUV420P_2x1()
136 p += priv->bytes_per_row[1]; in YCrCB_to_YUV420P_2x1()
145 p += priv->bytes_per_row[2]; in YCrCB_to_YUV420P_2x1()
169 p+=priv->bytes_per_row[0]; in YCrCB_to_YUV420P_1x2()
182 pr += priv->bytes_per_row[1]; in YCrCB_to_YUV420P_1x2()
194 pr += priv->bytes_per_row[2] - 4; in YCrCB_to_YUV420P_1x2()
217 p += priv->bytes_per_row[0]; in YCrCB_to_YUV420P_2x2()
[all …]
Dgrey.c57 offset_to_next_row = priv->bytes_per_row[0]; in YCrCB_to_Grey_1xN()
81 offset_to_next_row = priv->bytes_per_row[0]; in YCrCB_to_Grey_2xN()
94 if (!priv->bytes_per_row[0]) in initialize_grey()
95 priv->bytes_per_row[0] = priv->width; in initialize_grey()
97 priv->components[0] = malloc(priv->height * priv->bytes_per_row[0]); in initialize_grey()
99 bytes_per_blocklines[0] = priv->bytes_per_row[0] << 3; in initialize_grey()
Dbgr24.c87 offset_to_next_row = priv->bytes_per_row[0] - 8*3; in YCrCB_to_BGR24_1x1()
143 offset_to_next_row = priv->bytes_per_row[0] - 16*3; in YCrCB_to_BGR24_2x1()
207 p2 = priv->plane[0] + priv->bytes_per_row[0]; in YCrCB_to_BGR24_1x2()
211 offset_to_next_row = 2*priv->bytes_per_row[0] - 8*3; in YCrCB_to_BGR24_1x2()
277 p2 = priv->plane[0] + priv->bytes_per_row[0]; in YCrCB_to_BGR24_2x2()
281 offset_to_next_row = 2*priv->bytes_per_row[0] - 16*3; in YCrCB_to_BGR24_2x2()
350 if (!priv->bytes_per_row[0]) in initialize_bgr24()
351 priv->bytes_per_row[0] = priv->width * 3; in initialize_bgr24()
353 priv->components[0] = malloc(priv->height * priv->bytes_per_row[0]); in initialize_bgr24()
355 bytes_per_blocklines[0] = priv->bytes_per_row[0] << 3; in initialize_bgr24()
Drgb24.c87 offset_to_next_row = priv->bytes_per_row[0] - 8*3; in YCrCB_to_RGB24_1x1()
141 offset_to_next_row = priv->bytes_per_row[0] - 16*3; in YCrCB_to_RGB24_2x1()
207 p2 = priv->plane[0] + priv->bytes_per_row[0]; in YCrCB_to_RGB24_1x2()
211 offset_to_next_row = 2*priv->bytes_per_row[0] - 8*3; in YCrCB_to_RGB24_1x2()
276 p2 = priv->plane[0] + priv->bytes_per_row[0]; in YCrCB_to_RGB24_2x2()
280 offset_to_next_row = 2*priv->bytes_per_row[0] - 16*3; in YCrCB_to_RGB24_2x2()
349 if (!priv->bytes_per_row[0]) in initialize_rgb24()
350 priv->bytes_per_row[0] = priv->width * 3; in initialize_rgb24()
352 priv->components[0] = malloc(priv->height * priv->bytes_per_row[0]); in initialize_rgb24()
354 bytes_per_blocklines[0] = priv->bytes_per_row[0] << 3; in initialize_rgb24()
Drgba32.c87 offset_to_next_row = priv->bytes_per_row[0] - 8*4; in YCrCB_to_RGBA32_1x1()
144 offset_to_next_row = priv->bytes_per_row[0] - 16*4; in YCrCB_to_RGBA32_2x1()
213 p2 = priv->plane[0] + priv->bytes_per_row[0]; in YCrCB_to_RGBA32_1x2()
217 offset_to_next_row = 2*priv->bytes_per_row[0] - 8*4; in YCrCB_to_RGBA32_1x2()
286 p2 = priv->plane[0] + priv->bytes_per_row[0]; in YCrCB_to_RGBA32_2x2()
290 offset_to_next_row = 2*priv->bytes_per_row[0] - 16*4; in YCrCB_to_RGBA32_2x2()
367 if (!priv->bytes_per_row[0]) in initialize_rgba32()
368 priv->bytes_per_row[0] = priv->width * 4; in initialize_rgba32()
370 priv->components[0] = malloc(priv->height * priv->bytes_per_row[0]); in initialize_rgba32()
372 bytes_per_blocklines[0] = priv->bytes_per_row[0] << 3; in initialize_rgba32()
Dbgra32.c87 offset_to_next_row = priv->bytes_per_row[0] - 8*4; in YCrCB_to_BGRA32_1x1()
145 offset_to_next_row = priv->bytes_per_row[0] - 16*4; in YCrCB_to_BGRA32_2x1()
212 p2 = priv->plane[0] + priv->bytes_per_row[0]; in YCrCB_to_BGRA32_1x2()
216 offset_to_next_row = 2*priv->bytes_per_row[0] - 8*4; in YCrCB_to_BGRA32_1x2()
286 p2 = priv->plane[0] + priv->bytes_per_row[0]; in YCrCB_to_BGRA32_2x2()
290 offset_to_next_row = 2*priv->bytes_per_row[0] - 16*4; in YCrCB_to_BGRA32_2x2()
367 if (!priv->bytes_per_row[0]) in initialize_bgra32()
368 priv->bytes_per_row[0] = priv->width * 4; in initialize_bgra32()
370 priv->components[0] = malloc(priv->height * priv->bytes_per_row[0]); in initialize_bgra32()
372 bytes_per_blocklines[0] = priv->bytes_per_row[0] << 3; in initialize_bgra32()
Dtinyjpeg-internal.h89 unsigned int bytes_per_row[COMPONENTS]; member
Dtinyjpeg.c1017 bytes[i] = priv->bytes_per_row[i]; in tinyjpeg_get_bytes_per_row()
1029 priv->bytes_per_row[i] = bytes[i]; in tinyjpeg_set_bytes_per_row()
/external/ImageMagick/coders/
Dpalm.c259 bytes_per_row, in ReadPALMImage() local
317 bytes_per_row=ReadBlobMSBShort(image); in ReadPALMImage()
407 one_row=(unsigned char *) AcquireQuantumMemory(MagickMax(bytes_per_row, in ReadPALMImage()
413 lastrow=(unsigned char *) AcquireQuantumMemory(MagickMax(bytes_per_row, in ReadPALMImage()
425 count=ReadBlob(image,bytes_per_row,one_row); in ReadPALMImage()
426 if (count != (ssize_t) bytes_per_row) in ReadPALMImage()
435 for (i=0; i < (ssize_t) bytes_per_row; ) in ReadPALMImage()
440 count=MagickMin(count,(ssize_t) bytes_per_row-i); in ReadPALMImage()
455 for (i=0; i < (ssize_t) bytes_per_row; i+=8) in ReadPALMImage()
460 byte=(size_t) MagickMin((ssize_t) bytes_per_row-i,8); in ReadPALMImage()
[all …]
Dcin.c300 bytes_per_row; in GetBytesPerRow() local
306 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
313 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
321 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
325 bytes_per_row=4*(((size_t) (32*((samples_per_pixel*columns+2)/3))+31)/32); in GetBytesPerRow()
332 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
336 bytes_per_row=2*(((size_t) (16*samples_per_pixel*columns)+15)/16); in GetBytesPerRow()
341 bytes_per_row=2*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
347 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
353 bytes_per_row=8*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
[all …]
Ddpx.c403 bytes_per_row; in GetBytesPerRow() local
409 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
416 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
424 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+ in GetBytesPerRow()
428 bytes_per_row=4*(((size_t) (32*((samples_per_pixel*columns+2)/3))+31)/32); in GetBytesPerRow()
435 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+ in GetBytesPerRow()
439 bytes_per_row=2*(((size_t) (16*samples_per_pixel*columns)+15)/16); in GetBytesPerRow()
446 bytes_per_row=2*(((size_t) samples_per_pixel*columns*bits_per_pixel+ in GetBytesPerRow()
450 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
456 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
[all …]
/external/mesa3d/src/glx/
Dcompsize.c153 int bytes_per_row; in __glImageSize() local
182 bytes_per_row = (width + 7) >> 3; in __glImageSize()
189 bytes_per_row = __glBytesPerElement(type) * width; in __glImageSize()
192 return bytes_per_row * height * depth * components; in __glImageSize()
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_frame_win.cc35 int bytes_per_row = size.width() * kBytesPerPixel; in Create() local
44 bmi.bmiHeader.biSizeImage = bytes_per_row * size.height(); in Create()
58 return new DesktopFrameWin(size, bytes_per_row, in Create()
Ddiffer.h37 int bytes_per_row() { return bytes_per_row_; } in bytes_per_row() function
Dscreen_capturer_x11.cc267 (differ_->bytes_per_row() != frame->stride()))) { in Capture()
/external/mesa3d/src/mesa/main/
Dimage.c154 GLintptr bytes_per_row; in _mesa_image_offset() local
162 bytes_per_row = alignment in _mesa_image_offset()
165 bytes_per_image = bytes_per_row * rows_per_image; in _mesa_image_offset()
168 + (skiprows + row) * bytes_per_row in _mesa_image_offset()
173 GLintptr bytes_per_pixel, bytes_per_row, remainder, bytes_per_image; in _mesa_image_offset() local
181 bytes_per_row = pixels_per_row * bytes_per_pixel; in _mesa_image_offset()
182 remainder = bytes_per_row % alignment; in _mesa_image_offset()
184 bytes_per_row += (alignment - remainder); in _mesa_image_offset()
186 assert(bytes_per_row % alignment == 0); in _mesa_image_offset()
188 bytes_per_image = bytes_per_row * rows_per_image; in _mesa_image_offset()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.c135 unsigned bytes_per_row = pixels_per_row * addr->bytes_per_pixel; in st_pbo_addresses_pixelstore() local
136 unsigned remainder = bytes_per_row % store->Alignment; in st_pbo_addresses_pixelstore()
140 bytes_per_row += store->Alignment - remainder; in st_pbo_addresses_pixelstore()
142 if (bytes_per_row % addr->bytes_per_pixel) in st_pbo_addresses_pixelstore()
145 addr->pixels_per_row = bytes_per_row / addr->bytes_per_pixel; in st_pbo_addresses_pixelstore()
/external/syslinux/com32/lib/sys/vesa/
Dbackground.c205 unsigned int bytes_per_row[1]; in read_jpeg_file() local
224 bytes_per_row[0] = __vesa_info.mi.h_res << 2; in read_jpeg_file()
225 tinyjpeg_set_bytes_per_row(jdec, bytes_per_row, 1); in read_jpeg_file()
/external/freetype/include/freetype/
Dftwinfnt.h210 FT_UShort bytes_per_row; member
/external/pdfium/third_party/freetype/include/freetype/
Dftwinfnt.h210 FT_UShort bytes_per_row; member
/external/mesa3d/src/gallium/targets/haiku-softpipe/
DSoftwareRenderer.cpp186 * fInfo->bytes_per_row + clip->left * bytesPerPixel; in SwapBuffers()
193 p += fInfo->bytes_per_row; in SwapBuffers()
/external/webrtc/webrtc/modules/desktop_capture/win/
Dscreen_capturer_win_gdi.cc103 (differ_->bytes_per_row() != current_frame->stride())) { in Capture()
Dscreen_capturer_win_magnifier.cc139 (differ_->bytes_per_row() != current_frame->stride())) { in Capture()