/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderOutput.cpp | 504 unsigned int height, unsigned int pixel_size) const in verifyResult() 511 if (false == comparePixel(result_image, x, y, width, height, pixel_size)) in verifyResult() 552 unsigned int height, unsigned int pixel_size) const in verifyResult() 561 …if ((true == comparePixel(result_image, left, bottom, width, height, pixel_size, 255, 255, 255, 25… in verifyResult() 562 (true == comparePixel(result_image, left, top, width, height, pixel_size, 255, 255, 255, 255)) && in verifyResult() 563 (true == comparePixel(result_image, right, top, width, height, pixel_size, 255, 255, 255, 255)) && in verifyResult() 564 (true == comparePixel(result_image, right, bottom, width, height, pixel_size, 0, 0, 0, 0))) in verifyResult() 619 unsigned int pixel_size) const in verifyResult() 628 …if ((true == comparePixel(result_image, left, bottom, width, height, pixel_size, 255, 255, 255, 25… in verifyResult() 629 (true == comparePixel(result_image, left, top, width, height, pixel_size, 0, 0, 0, 0)) && in verifyResult() [all …]
|
D | esextcGeometryShaderOutput.hpp | 124 unsigned int pixel_size) const = 0; 191 unsigned int pixel_size) const; 224 unsigned int pixel_size) const; 263 unsigned int pixel_size) const;
|
D | esextcGeometryShaderLayeredFramebuffer.cpp | 327 const unsigned int pixel_size = N_TEXTURE_COMPONENTS; in iterate() local 328 const unsigned char* ref_row = ref_buffer + y * pixel_size; in iterate() 329 const unsigned char* row = buffer + y * pixel_size; in iterate() 335 const unsigned char* data = row + x * pixel_size; in iterate() 336 const unsigned char* ref_data = ref_row + x * pixel_size; in iterate() 581 int pixel_size = 0; in iterate() local 597 pixel_size = N_TEXTURE_COMPONENTS; in iterate() 613 pixel_size = N_TEXTURE_COMPONENTS * sizeof(int); in iterate() 629 pixel_size = N_TEXTURE_COMPONENTS * sizeof(unsigned int); in iterate() 720 const int row_size = TEXTURE_WIDTH * pixel_size; in iterate() [all …]
|
D | esextcGeometryShaderRendering.cpp | 5732 const int pixel_size = 4 /* components */; in verify() local 5733 const int row_width = single_rt_width * pixel_size; in verify() 5735 data + row_width * ref_sample_xy_int[1] + ref_sample_xy_int[0] * pixel_size; in verify() 5802 const int pixel_size = 4 /* components */; in verify() local 5803 const int row_width = single_rt_width * pixel_size; in verify() 5804 const unsigned char* rendered_data = data + row_width * position[1] + position[0] * pixel_size; in verify() 6169 const unsigned int pixel_size = 4 /* components */; in verify() local 6170 const unsigned int row_width = single_rt_width * pixel_size; in verify() 6172 data + row_width * sample_location_int[1] + sample_location_int[0] * pixel_size; in verify()
|
/external/libjpeg-turbo/ |
D | rdtarga.c | 67 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/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 714 uint32_t *pixel, pixel_size; in test_gem_map() local 736 pixel_size = sizeof(*pixel); in test_gem_map() 738 pixel[(height / 2) * (stride / pixel_size) + width / 2] = 0xABBAABBA; in test_gem_map() 753 CHECK(pixel[(height / 2) * (stride / pixel_size) + width / 2] == 0xABBAABBA); in test_gem_map() 771 uint32_t pixel_size, stride, stride_pixels, length; in test_dmabuf_map() local 788 pixel_size = sizeof(*pixel); in test_dmabuf_map() 789 stride_pixels = stride / pixel_size; in test_dmabuf_map() 859 uint32_t *pixel, pixel_size; in test_gem_map_tiling() local 882 pixel_size = sizeof(*pixel); in test_gem_map_tiling() 883 stride_pixels = stride / pixel_size; in test_gem_map_tiling() [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cStencilTexturingTests.cpp | 818 GLuint pixel_size = 0; in prepareDestinationTexture() local 829 pixel_size = 1; in prepareDestinationTexture() 836 pixel_size = 4; in prepareDestinationTexture() 841 texture_size = pixel_size * n_pixels; in prepareDestinationTexture() 1013 GLuint pixel_size = 0; in prepareSourceTextureData() local 1021 pixel_size = 4; in prepareSourceTextureData() 1024 pixel_size = 8; in prepareSourceTextureData() 1031 line_size = pixel_size * m_width; in prepareSourceTextureData() 1032 texture_size = pixel_size * n_pixels; in prepareSourceTextureData() 1049 const GLuint pixel_offset = pixel_size * x; in prepareSourceTextureData() [all …]
|
D | gl4cCopyImageTests.cpp | 495 …const GLuint pixel_size = (left_pixel_size >= right_pixel_size) ? left_pixel_size : right_pixel_si… in comparePixels() local 497 return 0 == memcmp(left_pixel_data, right_pixel_data, pixel_size); in comparePixels() 1096 const GLuint pixel_size = Utils::getPixelSizeForFormat(internal_format); in getPixelString() local 1101 for (GLint i = pixel_size - 1; i >= 0; --i) in getPixelString() 3090 const GLuint pixel_size = Utils::getPixelSizeForFormat(desc.m_internal_format); in prepareDstPxls() local 3109 const GLuint req_memory_per_layer = pixel_size * widths[i] * heights[i]; in prepareDstPxls() 3131 GLubyte* pixel_data = ptr + j * pixel_size; in prepareDstPxls() 3150 const GLuint pixel_size = Utils::getPixelSizeForFormat(desc.m_internal_format); in prepareSrcPxls() local 3169 const GLuint req_memory_per_layer = pixel_size * widths[i] * heights[i]; in prepareSrcPxls() 3185 const GLuint line_size = pixel_size * widths[lvl]; in prepareSrcPxls() [all …]
|
D | gl4cBufferStorageTests.cpp | 3429 static const GLuint pixel_size = 4 * sizeof(GLubyte); in iterate() local 3434 static const GLuint line_size = width * pixel_size; in iterate() 3435 static const GLuint pixel_offset = 8 * line_size + 7 * pixel_size; in iterate() 3610 if (0 != memcmp(texture_data + pixel_offset, &expected_pixel, pixel_size)) in iterate() 3663 if (0 != memcmp(texture_data + pixel_offset, &expected_pixel, pixel_size)) in iterate()
|
/external/pdfium/third_party/libtiff/ |
D | tif_luv.c | 164 int pixel_size; /* bytes per pixel */ member 201 npixels = occ / sp->pixel_size; in LogL16Decode() 274 npixels = occ / sp->pixel_size; in LogLuvDecode24() 335 npixels = occ / sp->pixel_size; in LogLuvDecode32() 454 npixels = cc / sp->pixel_size; in LogL16Encode() 547 npixels = cc / sp->pixel_size; in LogLuvEncode24() 605 npixels = cc / sp->pixel_size; in LogLuvEncode32() 1302 sp->pixel_size = sizeof (float); in LogL16InitState() 1305 sp->pixel_size = sizeof (int16); in LogL16InitState() 1308 sp->pixel_size = sizeof (uint8); in LogL16InitState() [all …]
|
/external/libxcam/modules/soft/ |
D | soft_copy_task.cpp | 47 uint32_t luma_size = in_luma->get_width () * in_luma->pixel_size (); in work_range() 48 uint32_t uv_size = in_uv->get_width () * in_uv->pixel_size (); in work_range()
|
D | soft_image.h | 72 uint32_t pixel_size () const { in pixel_size() function 324 uint32_t line_bytes = buf->get_width () * buf->pixel_size (); in read_buf() 349 uint32_t line_bytes = buf->get_width () * buf->pixel_size (); in write_buf()
|
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
D | transfer.cpp | 490 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/ |
D | svga3d_surfacedefs.h | 964 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/deqp/external/openglcts/modules/common/ |
D | glcRobustnessTests.cpp | 631 static const GLuint pixel_size = 4 * sizeof(GLuint); in verifyResults() local 636 const GLint bufSizeValid = width * height * pixel_size; in verifyResults() 645 const size_t offset = i * pixel_size; in verifyResults() 657 const GLint bufSizeInvalid = width * height * pixel_size - 1; in verifyResults()
|
/external/deqp/external/openglcts/modules/glesext/ |
D | esextcTestCaseBase.cpp | 697 unsigned int height, unsigned int pixel_size, unsigned char expected_red, in comparePixel() argument 701 const unsigned int line_size = width * pixel_size; in comparePixel() 703 const unsigned int texel_offset = y * line_size + x * pixel_size; in comparePixel() 718 switch (pixel_size) in comparePixel()
|
D | esextcTestCaseBase.hpp | 153 unsigned int height, unsigned int pixel_size, unsigned char expected_red = 0,
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderPoints.cpp | 557 const unsigned int pixel_size = 4; /* components, GL_UNSIGNED_BYTE */ in iterate() local 566 const unsigned int row_size = pixel_size * m_rt_width; in iterate() 579 const unsigned char* rendered_color_ubyte_ptr = buffer + row_size * y + x * pixel_size; in iterate()
|
/external/mesa3d/src/gallium/state_trackers/clover/core/ |
D | memory.hpp | 122 size_t pixel_size() const;
|
D | memory.cpp | 174 image::pixel_size() const { in pixel_size() function in image
|
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArrayGenerateMipMap.cpp | 172 const unsigned int pixel_size = m_n_components; in generateTestData() local 173 unsigned char* result_ptr = data + ((y * width + x) * pixel_size + n_component); in generateTestData()
|
/external/deqp/external/openglcts/modules/gles31/ |
D | es31cTextureStorageMultisampleFunctionalTests.cpp | 665 const int pixel_size = 4; /* components */ in iterate() local 666 const int row_width = 64 /* width */ * pixel_size; in iterate() 671 float* data_ptr = row_ptr + x * pixel_size; in iterate() 1045 int pixel_size = sizeof(unsigned int) * 4 /* components */; in iterate() local 1046 int row_width = pixel_size * 16 /* width */; in iterate() 1058 const unsigned int* data_ptr = (unsigned int*)((char*)row_ptr + x * pixel_size); in iterate()
|
/external/deqp/external/openglcts/modules/gles32/ |
D | es32cRobustBufferAccessBehaviorTests.cpp | 123 static const GLuint pixel_size = 4 * sizeof(GLuint); in verifyResults() local 127 const GLint buf_size = width * height * pixel_size; in verifyResults() 139 for (GLuint i = 0; i < buf_size; i += pixel_size) in verifyResults()
|
/external/libjpeg-turbo/simd/ |
D | jsimd_mips_dspr2.S | 144 .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/ |
D | pngvalid.c | 4032 unsigned int pixel_size, png_uint_32 w, int pass, int littleendian) in interlace_row() argument 4048 pixel_copy(buffer, xout, imageRow, xin, pixel_size, littleendian); in interlace_row() 4056 unsigned int pixel_size, png_uint_32 w, int pass, int littleendian) in deinterlace_row() argument 4070 pixel_copy(buffer, xout, row, xin, pixel_size, littleendian); in deinterlace_row() 4337 unsigned int pixel_size; in make_size_image() local 4390 pixel_size = bit_size(pp, colour_type, bit_depth); in make_size_image() 4391 if (png_get_rowbytes(pp, pi) != ((w * pixel_size) + 7) / 8) in make_size_image() 4412 size_row(image[y], w * pixel_size, y); in make_size_image() 4446 interlace_row(tempRow, row, pixel_size, w, pass, in make_size_image() 4950 png_uint_32 pixel_size; /* Width of one pixel in bits */ member [all …]
|