Home
last modified time | relevance | path

Searched refs:pixel_size (Results 1 – 13 of 13) sorted by relevance

/external/libjpeg-turbo/
Drdtarga.c67 int pixel_size; /* Bytes per Targa pixel (1 to 4) */ member
131 for (i = 0; i < sinfo->pixel_size; i++) { in read_non_rle_pixel()
162 for (i = 0; i < sinfo->pixel_size; i++) { in read_rle_pixel()
359 source->pixel_size = UCH(targaheader[16]) >> 3; in start_input_tga()
366 source->pixel_size < 1 || source->pixel_size > 4 || in start_input_tga()
388 if (source->pixel_size == 1 && cmaptype == 1) in start_input_tga()
395 switch (source->pixel_size) { in start_input_tga()
414 if (source->pixel_size == 1) in start_input_tga()
/external/pdfium/third_party/libtiff/
Dtif_luv.c163 int pixel_size; /* bytes per pixel */ member
200 npixels = occ / sp->pixel_size; in LogL16Decode()
273 npixels = occ / sp->pixel_size; in LogLuvDecode24()
334 npixels = occ / sp->pixel_size; in LogLuvDecode32()
449 npixels = cc / sp->pixel_size; in LogL16Encode()
542 npixels = cc / sp->pixel_size; in LogLuvEncode24()
600 npixels = cc / sp->pixel_size; in LogLuvEncode32()
1284 sp->pixel_size = sizeof (float); in LogL16InitState()
1287 sp->pixel_size = sizeof (int16); in LogL16InitState()
1290 sp->pixel_size = sizeof (uint8); in LogL16InitState()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/api/
Dtransfer.cpp490 auto dst_pitch = pitch(region, {{ img.pixel_size(), in clEnqueueReadImage()
493 auto src_pitch = pitch(region, {{ img.pixel_size(), in clEnqueueReadImage()
525 auto dst_pitch = pitch(region, {{ img.pixel_size(), in clEnqueueWriteImage()
527 auto src_pitch = pitch(region, {{ img.pixel_size(), in clEnqueueWriteImage()
593 auto dst_pitch = pitch(region, {{ src_img.pixel_size() }}); in clEnqueueCopyImageToBuffer()
595 auto src_pitch = pitch(region, {{ src_img.pixel_size(), in clEnqueueCopyImageToBuffer()
629 auto dst_pitch = pitch(region, {{ dst_img.pixel_size(), in clEnqueueCopyBufferToImage()
633 auto src_pitch = pitch(region, {{ dst_img.pixel_size() }}); in clEnqueueCopyBufferToImage()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_surfacedefs.h964 const SVGA3dSize *pixel_size, in svga3dsurface_get_size_in_blocks() argument
967 block_size->width = DIV_ROUND_UP(pixel_size->width, in svga3dsurface_get_size_in_blocks()
969 block_size->height = DIV_ROUND_UP(pixel_size->height, in svga3dsurface_get_size_in_blocks()
971 block_size->depth = DIV_ROUND_UP(pixel_size->depth, in svga3dsurface_get_size_in_blocks()
/external/autotest/client/site_tests/graphics_Gbm/src/
Dgbmtest.c612 uint32_t *pixel, pixel_size; in test_gem_map() local
633 pixel_size = sizeof(*pixel); in test_gem_map()
635 pixel[(height / 2) * (stride / pixel_size) + width / 2] = 0xABBAABBA; in test_gem_map()
650 CHECK(pixel[(height / 2) * (stride / pixel_size) + width / 2] == 0xABBAABBA); in test_gem_map()
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dmemory.hpp122 size_t pixel_size() const;
Dmemory.cpp174 image::pixel_size() const { in pixel_size() function in image
/external/libjpeg-turbo/simd/
Djsimd_mips_dspr2.S144 .macro GENERATE_JSIMD_RGB_YCC_CONVERT_MIPS_DSPR2 colorid, pixel_size, r_offs, g_offs, b_offs
153 addiu \inptr, \pixel_size
250 .macro GENERATE_JSIMD_YCC_RGB_CONVERT_MIPS_DSPR2 colorid, pixel_size, r_offs, g_offs, b_offs, a_offs
259 .if (\pixel_size == 4)
263 addiu \outptr, \pixel_size
367 .macro GENERATE_JSIMD_RGB_GRAY_CONVERT_MIPS_DSPR2 colorid, pixel_size, r_offs, g_offs, b_offs
376 addiu \inptr, \pixel_size
496 pixel_size, \
519 .if (\pixel_size == 8)
524 addiu \outptr, \pixel_size
[all …]
/external/libpng/contrib/libtests/
Dpngvalid.c4030 unsigned int pixel_size, png_uint_32 w, int pass, int littleendian) in interlace_row() argument
4046 pixel_copy(buffer, xout, imageRow, xin, pixel_size, littleendian); in interlace_row()
4054 unsigned int pixel_size, png_uint_32 w, int pass, int littleendian) in deinterlace_row() argument
4068 pixel_copy(buffer, xout, row, xin, pixel_size, littleendian); in deinterlace_row()
4335 unsigned int pixel_size; in make_size_image() local
4388 pixel_size = bit_size(pp, colour_type, bit_depth); in make_size_image()
4389 if (png_get_rowbytes(pp, pi) != ((w * pixel_size) + 7) / 8) in make_size_image()
4410 size_row(image[y], w * pixel_size, y); in make_size_image()
4444 interlace_row(tempRow, row, pixel_size, w, pass, in make_size_image()
4948 png_uint_32 pixel_size; /* Width of one pixel in bits */ member
[all …]
/external/ImageMagick/coders/
Ddds.c2389 int pixel_size,ExceptionInfo *exception) in SkipRGBMipmaps() argument
2422 offset = (MagickOffsetType) w * h * pixel_size; in SkipRGBMipmaps()
/external/syslinux/com32/lib/libpng/
Dlibpng.txt421 if (width > PNG_UINT_32_MAX/pixel_size)
428 width*pixel_size);
/external/skia/third_party/libpng/
Dlibpng-manual.txt1172 if (width > PNG_UINT_32_MAX/pixel_size)
1184 width*pixel_size);
/external/libpng/
Dlibpng-manual.txt1172 if (width > PNG_UINT_32_MAX/pixel_size)
1184 width*pixel_size);