Home
last modified time | relevance | path

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

/external/ImageMagick/coders/
Dpalm.c260 bytes_per_row, in ReadPALMImage() local
319 bytes_per_row=ReadBlobMSBShort(image); in ReadPALMImage()
409 extent=MagickMax(bytes_per_row,2*image->columns); in ReadPALMImage()
417 last_row=(unsigned char *) AcquireQuantumMemory(MagickMax(bytes_per_row, in ReadPALMImage()
424 (void) memset(last_row,0,MagickMax(bytes_per_row,2*image->columns)* in ReadPALMImage()
434 count=ReadBlob(image,bytes_per_row,one_row); in ReadPALMImage()
435 if (count != (ssize_t) bytes_per_row) in ReadPALMImage()
444 for (i=0; i < (ssize_t) bytes_per_row; ) in ReadPALMImage()
449 count=MagickMin(count,(ssize_t) bytes_per_row-i); in ReadPALMImage()
464 for (i=0; i < (ssize_t) bytes_per_row; i+=8) in ReadPALMImage()
[all …]
Djxl.c522 bytes_per_row; in WriteJXLImage() local
592 bytes_per_row=image->columns* in WriteJXLImage()
595 input_buffer=AcquireQuantumMemory(bytes_per_row,image->rows* in WriteJXLImage()
615 bytes_per_row*image->rows); in WriteJXLImage()
Dcin.c301 bytes_per_row; in GetBytesPerRow() local
307 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
314 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
322 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
326 bytes_per_row=4*(((size_t) (32*((samples_per_pixel*columns+2)/3))+31)/32); in GetBytesPerRow()
333 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
337 bytes_per_row=2*(((size_t) (16*samples_per_pixel*columns)+15)/16); in GetBytesPerRow()
342 bytes_per_row=2*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
348 bytes_per_row=4*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
354 bytes_per_row=8*(((size_t) samples_per_pixel*columns* in GetBytesPerRow()
[all …]
Ddpx.c405 bytes_per_row; in GetBytesPerRow() local
411 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
418 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
426 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+ in GetBytesPerRow()
430 bytes_per_row=4*(((size_t) (32*((samples_per_pixel*columns+2)/3))+31)/32); in GetBytesPerRow()
437 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+ in GetBytesPerRow()
441 bytes_per_row=2*(((size_t) (16*samples_per_pixel*columns)+15)/16); in GetBytesPerRow()
448 bytes_per_row=2*(((size_t) samples_per_pixel*columns*bits_per_pixel+ in GetBytesPerRow()
452 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
458 bytes_per_row=4*(((size_t) samples_per_pixel*columns*bits_per_pixel+31)/ in GetBytesPerRow()
[all …]
/external/webrtc/modules/desktop_capture/
Ddesktop_frame_win.cc37 int bytes_per_row = size.width() * kBytesPerPixel; in Create() local
38 int buffer_size = bytes_per_row * size.height(); in Create()
47 bmi.bmiHeader.biSizeImage = bytes_per_row * size.height(); in Create()
69 new DesktopFrameWin(size, bytes_per_row, reinterpret_cast<uint8_t*>(data), in Create()
/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/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/openscreen/cast/standalone_sender/
Dstreaming_encoder_util.cc22 const int bytes_per_row = std::min(src_stride, dst_stride); in CopyPlane() local
24 memcpy(dst, src, bytes_per_row); in CopyPlane()
/external/python/cpython3/Tools/freeze/
Dregen_frozen.py32 bytes_per_row = 13
34 if (i % bytes_per_row) == 0:
/external/tensorflow/tensorflow/lite/examples/ios/simple/
Dios_image_load.mm63 const int bytes_per_row = (width * channels);
64 const int bytes_in_image = (bytes_per_row * height);
69 CGBitmapContextCreate(result.data(), width, height, bits_per_component, bytes_per_row,
/external/linux-kselftest/tools/testing/selftests/kvm/x86_64/
Damx_test.c72 u16 bytes_per_row; member
163 xtile.bytes_per_row = ebx; in enum_xtile_config()
227 cfg->colsb[i] = xtile.bytes_per_row; in set_tilecfg()
270 GUEST_ASSERT(xtile.bytes_per_row == 64); in guest_code()
/external/rust/crates/criterion-plot/src/
Ddata.rs41 let bytes_per_row = ncols * mem::size_of::<f64>(); in new() localVariable
42 let mut bytes = Vec::with_capacity(rows.size_hint().0 * bytes_per_row); in new()
/external/mesa3d/src/mesa/state_tracker/
Dst_pbo.c138 unsigned bytes_per_row = pixels_per_row * addr->bytes_per_pixel; in st_pbo_addresses_pixelstore() local
139 unsigned remainder = bytes_per_row % store->Alignment; in st_pbo_addresses_pixelstore()
143 bytes_per_row += store->Alignment - remainder; in st_pbo_addresses_pixelstore()
145 if (bytes_per_row % addr->bytes_per_pixel) in st_pbo_addresses_pixelstore()
148 addr->pixels_per_row = bytes_per_row / addr->bytes_per_pixel; in st_pbo_addresses_pixelstore()
/external/freetype/include/freetype/
Dftwinfnt.h209 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/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dinference_context.cc494 const size_t bytes_per_row = element_size * shape.b * shape.w * 4; in AllocateMemoryForBuffers() local
496 buffer_size = AlignByN(bytes_per_row, row_bytes_alignment) * height; in AllocateMemoryForBuffers()
501 const size_t bytes_per_row = element_size * shape.b * shape.w * shape.c; in AllocateMemoryForBuffers() local
503 buffer_size = AlignByN(bytes_per_row, row_bytes_alignment) * height; in AllocateMemoryForBuffers()
Dmetal_spatial_tensor.cc392 const size_t bytes_per_row = width * pixel_size; in CreateTensorSharedImage2DBuffer() local
394 AlignByN(bytes_per_row, row_bytes_alignment); in CreateTensorSharedImage2DBuffer()
/external/tensorflow/tensorflow/core/kernels/
Dclustering_ops.cc368 const int64_t bytes_per_row = in Compute() local
386 available_memory_budget / num_threads / bytes_per_row); in Compute()
/external/blktrace/iowatcher/
Dplot.c191 double bytes_per_row = (double)(gdd->max_offset - gdd->min_offset + 1) / gdd->rows; in set_gdd_bit() local
200 double mod = bytes_per_row; in set_gdd_bit()
209 row = (double)(offset - gdd->min_offset) / bytes_per_row; in set_gdd_bit()
/external/freetype/src/winfonts/
Dwinfnt.c171 FT_FRAME_USHORT_LE( bytes_per_row ),
/external/cronet/testing/libfuzzer/proto/
Dskia_image_filter_proto_converter.cc1727 int32_t bytes_per_row = bytes_per_row_64; in ComputeMinByteSize() local
1728 size_t num_bytes = (height - 1) * bytes_per_row + bytes_per_pixel * width; in ComputeMinByteSize()
/external/armnn/third-party/stb/
Dstb_image.h1041 size_t bytes_per_row = (size_t)w * bytes_per_pixel; in stbi__vertical_flip() local
1046 stbi_uc *row0 = bytes + row*bytes_per_row; in stbi__vertical_flip()
1047 stbi_uc *row1 = bytes + (h - row - 1)*bytes_per_row; in stbi__vertical_flip()
1049 size_t bytes_left = bytes_per_row; in stbi__vertical_flip()
/external/ComputeLibrary/include/stb/
Dstb_image.h1052 size_t bytes_per_row = (size_t)w * bytes_per_pixel; in stbi__vertical_flip() local
1057 stbi_uc *row0 = bytes + row*bytes_per_row; in stbi__vertical_flip()
1058 stbi_uc *row1 = bytes + (h - row - 1)*bytes_per_row; in stbi__vertical_flip()
1060 size_t bytes_left = bytes_per_row; in stbi__vertical_flip()