/external/deqp/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderOutput.cpp | 503 unsigned int height, unsigned int pixel_size) const in verifyResult() 510 if (false == comparePixel(result_image, x, y, width, height, pixel_size)) in verifyResult() 551 unsigned int height, unsigned int pixel_size) const in verifyResult() 560 …if ((true == comparePixel(result_image, left, bottom, width, height, pixel_size, 255, 255, 255, 25… in verifyResult() 561 (true == comparePixel(result_image, left, top, width, height, pixel_size, 255, 255, 255, 255)) && in verifyResult() 562 (true == comparePixel(result_image, right, top, width, height, pixel_size, 255, 255, 255, 255)) && in verifyResult() 563 (true == comparePixel(result_image, right, bottom, width, height, pixel_size, 0, 0, 0, 0))) in verifyResult() 618 unsigned int pixel_size) const in verifyResult() 627 …if ((true == comparePixel(result_image, left, bottom, width, height, pixel_size, 255, 255, 255, 25… in verifyResult() 628 (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 | 69 int pixel_size; /* Bytes per Targa pixel (1 to 4) */ member 133 for (i = 0; i < sinfo->pixel_size; i++) { in read_non_rle_pixel() 163 for (i = 0; i < sinfo->pixel_size; i++) { in read_rle_pixel() 363 source->pixel_size = UCH(targaheader[16]) >> 3; in start_input_tga() 370 source->pixel_size < 1 || source->pixel_size > 4 || in start_input_tga() 392 if (source->pixel_size == 1 && cmaptype == 1) in start_input_tga() 399 switch (source->pixel_size) { in start_input_tga() 418 if (source->pixel_size == 1) in start_input_tga()
|
/external/u-boot/tools/easylogo/ |
D | easylogo.c | 53 int width, height, pixels, bpp, pixel_size, size, palette_size, yuyv; member 186 image->pixel_size = ((image->bpp - 1) / 8) + 1; in image_load_tga() 188 image->size = image->pixels * image->pixel_size; in image_load_tga() 211 int linesize = image->pixel_size * image->width; in image_load_tga() 249 yuyv_image->pixel_size = 2; in image_rgb_to_yuyv() 255 yuyv_image->size = yuyv_image->pixels * yuyv_image->pixel_size; in image_rgb_to_yuyv() 285 rgb565_image->pixel_size = 2; in image_rgb888_to_rgb565() 291 rgb565_image->size = rgb565_image->pixels * rgb565_image->pixel_size; in image_rgb888_to_rgb565() 426 image->pixel_size); in image_save_header()
|
/external/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 715 uint32_t *pixel, pixel_size; in test_gem_map() local 737 pixel_size = sizeof(*pixel); in test_gem_map() 739 pixel[(height / 2) * (stride / pixel_size) + width / 2] = 0xABBAABBA; in test_gem_map() 754 CHECK(pixel[(height / 2) * (stride / pixel_size) + width / 2] == 0xABBAABBA); in test_gem_map() 772 uint32_t pixel_size, stride, stride_pixels, length; in test_dmabuf_map() local 789 pixel_size = sizeof(*pixel); in test_dmabuf_map() 790 stride_pixels = stride / pixel_size; in test_dmabuf_map() 860 uint32_t *pixel, pixel_size; in test_gem_map_tiling() local 883 pixel_size = sizeof(*pixel); in test_gem_map_tiling() 884 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 …]
|
/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 | 502 auto dst_pitch = pitch(region, {{ img.pixel_size(), in clEnqueueReadImage() 505 auto src_pitch = pitch(region, {{ img.pixel_size(), in clEnqueueReadImage() 540 auto dst_pitch = pitch(region, {{ img.pixel_size(), in clEnqueueWriteImage() 542 auto src_pitch = pitch(region, {{ img.pixel_size(), in clEnqueueWriteImage() 611 auto dst_pitch = pitch(region, {{ src_img.pixel_size() }}); in clEnqueueCopyImageToBuffer() 613 auto src_pitch = pitch(region, {{ src_img.pixel_size(), in clEnqueueCopyImageToBuffer() 647 auto dst_pitch = pitch(region, {{ dst_img.pixel_size(), in clEnqueueCopyBufferToImage() 651 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/minigbm/ |
D | rockchip.c | 36 const uint32_t pixel_size = 4; in afbc_bo_from_format() local 51 const uint32_t body_block_size = block_width * block_height * pixel_size; in afbc_bo_from_format() 66 bo->strides[0] = width_in_blocks * block_width * pixel_size; in afbc_bo_from_format()
|
/external/u-boot/include/ |
D | video_easylogo.h | 22 int pixel_size; member
|
/external/deqp/external/openglcts/modules/common/ |
D | glcRobustnessTests.cpp | 574 static const GLuint pixel_size = 4 * sizeof(GLuint); in verifyResults() local 579 const GLint bufSizeValid = width * height * pixel_size; in verifyResults() 588 const size_t offset = i * pixel_size; in verifyResults() 600 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/libjpeg-turbo/simd/mips/ |
D | jsimd_dspr2.S | 146 .macro GENERATE_JSIMD_RGB_YCC_CONVERT_DSPR2 colorid, pixel_size, \ 153 addiu \inptr, \pixel_size 250 .macro GENERATE_JSIMD_YCC_RGB_CONVERT_DSPR2 colorid, pixel_size, \ 257 .if (\pixel_size == 4) 261 addiu \outptr, \pixel_size 365 .macro GENERATE_JSIMD_RGB_GRAY_CONVERT_DSPR2 colorid, pixel_size, \ 372 addiu \inptr, \pixel_size 492 .macro GENERATE_H2V2_MERGED_UPSAMPLE_DSPR2 colorid, pixel_size, \ 506 .if (\pixel_size == 8) 511 addiu \outptr, \pixel_size [all …]
|