/third_party/ffmpeg/libavcodec/ |
D | qtrleenc.c | 39 int pixel_size; member 94 s->pixel_size = 4; in qtrle_encode_init() 97 s->pixel_size = 2; in qtrle_encode_init() 100 s->pixel_size = 3; in qtrle_encode_init() 103 s->pixel_size = 4; in qtrle_encode_init() 109 avctx->bits_per_coded_sample = avctx->pix_fmt == AV_PIX_FMT_GRAY8 ? 40 : s->pixel_size*8; in qtrle_encode_init() 124 s->max_buf_size = s->logical_width*s->avctx->height*s->pixel_size*2 /* image base material */ in qtrle_encode_init() 158 const uint8_t *this_line = p->data[0] + line * p->linesize[0] + width * s->pixel_size; in qtrle_encode_line() 165 + width * s->pixel_size; in qtrle_encode_line() 176 base_bulk_cost = 1 + s->pixel_size; in qtrle_encode_line() [all …]
|
D | rscc.c | 158 int tiles_nb, packed_size, pixel_size = 0; in rscc_decode_frame() local 237 … if (pixel_size + ctx->tiles[i].w * (int64_t)ctx->tiles[i].h * ctx->component_size > INT_MAX) { in rscc_decode_frame() 243 pixel_size += ctx->tiles[i].w * ctx->tiles[i].h * ctx->component_size; in rscc_decode_frame() 271 if (pixel_size < 0x100) in rscc_decode_frame() 273 else if (pixel_size < 0x10000) in rscc_decode_frame() 275 else if (pixel_size < 0x1000000) in rscc_decode_frame() 280 ff_dlog(avctx, "pixel_size %d packed_size %d.\n", pixel_size, packed_size); in rscc_decode_frame() 289 if (pixel_size == packed_size) { in rscc_decode_frame() 290 if (bytestream2_get_bytes_left(gbc) < pixel_size) { in rscc_decode_frame() 291 av_log(avctx, AV_LOG_ERROR, "Insufficient input for %d\n", pixel_size); in rscc_decode_frame() [all …]
|
D | psd.c | 55 unsigned int pixel_size;/* 1 for 8 bits, 2 for 16 bits */ member 315 s->pixel_size = s->channel_depth >> 3;/* in byte */ in decode_frame() 316 s->line_size = s->width * s->pixel_size; in decode_frame() 452 … index_out = y * picture->linesize[0] + x * s->channel_count * s->pixel_size + c * s->pixel_size; in decode_frame() 453 for (p = 0; p < s->pixel_size; p++) { in decode_frame()
|
D | libopenjpegdec.c | 331 int pixel_size = 0; in libopenjpeg_decode_frame() local 441 pixel_size = desc->comp[0].step; in libopenjpeg_decode_frame() 444 switch (pixel_size) { in libopenjpeg_decode_frame() 472 avpriv_report_missing_feature(avctx, "Pixel size %d", pixel_size); in libopenjpeg_decode_frame()
|
/third_party/vk-gl-cts/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() 580 int pixel_size = 0; in iterate() local 596 pixel_size = N_TEXTURE_COMPONENTS; in iterate() 612 pixel_size = N_TEXTURE_COMPONENTS * sizeof(int); in iterate() 628 pixel_size = N_TEXTURE_COMPONENTS * sizeof(unsigned int); in iterate() 719 const int row_size = TEXTURE_WIDTH * pixel_size; in iterate() [all …]
|
D | esextcGeometryShaderRendering.cpp | 5730 const int pixel_size = 4 /* components */; in verify() local 5731 const int row_width = single_rt_width * pixel_size; in verify() 5733 data + row_width * ref_sample_xy_int[1] + ref_sample_xy_int[0] * pixel_size; in verify() 5800 const int pixel_size = 4 /* components */; in verify() local 5801 const int row_width = single_rt_width * pixel_size; in verify() 5802 const unsigned char* rendered_data = data + row_width * position[1] + position[0] * pixel_size; in verify() 6167 const unsigned int pixel_size = 4 /* components */; in verify() local 6168 const unsigned int row_width = single_rt_width * pixel_size; in verify() 6170 data + row_width * sample_location_int[1] + sample_location_int[0] * pixel_size; in verify()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | rdtarga.c | 68 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() 161 for (i = 0; i < sinfo->pixel_size; i++) { in read_rle_pixel() 358 source->pixel_size = UCH(targaheader[16]) >> 3; in start_input_tga() 365 source->pixel_size < 1 || source->pixel_size > 4 || in start_input_tga() 387 if (source->pixel_size == 1 && cmaptype == 1) in start_input_tga() 394 switch (source->pixel_size) { in start_input_tga() 413 if (source->pixel_size == 1) in start_input_tga()
|
/third_party/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()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | rdtarga.c | 59 int pixel_size; /* Bytes per Targa pixel (1 to 4) */ member 123 for (i = 0; i < sinfo->pixel_size; i++) { in read_non_rle_pixel() 153 for (i = 0; i < sinfo->pixel_size; i++) { in read_rle_pixel() 354 source->pixel_size = UCH(targaheader[16]) >> 3; in start_input_tga() 361 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()
|
/third_party/cef/libcef/browser/osr/ |
D | host_display_client_osr.cc | 43 void OnAllocatedSharedMemory(const gfx::Size& pixel_size, 75 const gfx::Size& pixel_size, in OnAllocatedSharedMemory() argument 80 pixel_size, viz::ResourceFormat::RGBA_8888, &expected_bytes); in OnAllocatedSharedMemory() 84 pixel_size_ = pixel_size; in OnAllocatedSharedMemory()
|
D | render_widget_host_view_osr.cc | 1442 const gfx::Size& pixel_size, in OnPaint() argument 1459 gfx::Rect rect_in_pixels(0, 0, pixel_size.width(), pixel_size.height()); in OnPaint() 1467 rcList, pixels, pixel_size.width(), pixel_size.height()); in OnPaint() 1474 if (pixel_size == expected_size) in OnPaint()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_yadif_cuda.c | 137 int pixel_size, channels; in filter() local 146 pixel_size = (comp->depth + comp->shift) / 8; in filter() 147 channels = comp->step / pixel_size; in filter() 148 if (pixel_size > 2 || channels > 2) { in filter() 152 switch (pixel_size) { in filter() 167 comp->plane, pixel_size, channels); in filter()
|
D | vf_scale_cuda.c | 399 int pixel_size, int bit_depth) in call_resize_kernel() argument 418 .res.pitch2D.format = pixel_size == 1 ? in call_resize_kernel() 430 dst_pitch /= channels * pixel_size; in call_resize_kernel()
|
/third_party/boost/boost/gil/ |
D | locator.hpp | 258 : _p(make_step_iterator(loc.x(),(transpose ? loc.row_size() : loc.pixel_size())*x_step), in memory_based_2d_locator() 259 (transpose ? loc.pixel_size() : loc.row_size())*y_step ) {} in memory_based_2d_locator() 291 …std::ptrdiff_t pixel_size() const { return memunit_step(x()); } … in pixel_size() function in boost::gil::memory_based_2d_locator 293 … is_1d_traversable(x_coord_t width) const { return row_size()-pixel_size()*width==0; } … in is_1d_traversable() 298 std::ptrdiff_t rowDiff = memunit_distance(x(), p2.x()) - pixel_size() * xDiff; in y_distance_to() 305 …::ptrdiff_t offset(x_coord_t x, y_coord_t y) const { return y*row_size() + x*pixel_size(); } in offset()
|
D | deprecated.hpp | 63 #define pix_bytestep pixel_size
|
/third_party/vk-gl-cts/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() 1012 GLuint pixel_size = 0; in prepareSourceTextureData() local 1020 pixel_size = 4; in prepareSourceTextureData() 1023 pixel_size = 8; in prepareSourceTextureData() 1029 line_size = pixel_size * m_width; in prepareSourceTextureData() 1030 texture_size = pixel_size * n_pixels; in prepareSourceTextureData() 1047 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() 1091 const GLuint pixel_size = Utils::getPixelSizeForFormat(internal_format); in getPixelString() local 1096 for (GLint i = pixel_size - 1; i >= 0; --i) in getPixelString() 3077 const GLuint pixel_size = Utils::getPixelSizeForFormat(desc.m_internal_format); in prepareDstPxls() local 3096 const GLuint req_memory_per_layer = pixel_size * widths[i] * heights[i]; in prepareDstPxls() 3118 GLubyte* pixel_data = ptr + j * pixel_size; in prepareDstPxls() 3137 const GLuint pixel_size = Utils::getPixelSizeForFormat(desc.m_internal_format); in prepareSrcPxls() local 3156 const GLuint req_memory_per_layer = pixel_size * widths[i] * heights[i]; in prepareSrcPxls() 3172 const GLuint line_size = pixel_size * widths[lvl]; in prepareSrcPxls() [all …]
|
/third_party/mesa3d/src/gallium/drivers/svga/include/ |
D | svga3d_surfacedefs.h | 967 const SVGA3dSize *pixel_size, in svga3dsurface_get_size_in_blocks() argument 970 block_size->width = DIV_ROUND_UP(pixel_size->width, in svga3dsurface_get_size_in_blocks() 972 block_size->height = DIV_ROUND_UP(pixel_size->height, in svga3dsurface_get_size_in_blocks() 974 block_size->depth = DIV_ROUND_UP(pixel_size->depth, in svga3dsurface_get_size_in_blocks()
|
/third_party/vk-gl-cts/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()
|
/third_party/mesa3d/src/gallium/frontends/clover/api/ |
D | transfer.cpp | 614 auto dst_pitch = pitch(region, {{ img.pixel_size(), in clEnqueueReadImage() 617 auto src_pitch = pitch(region, {{ img.pixel_size(), in clEnqueueReadImage() 652 auto dst_pitch = pitch(region, {{ img.pixel_size(), in clEnqueueWriteImage() 654 auto src_pitch = pitch(region, {{ img.pixel_size(), in clEnqueueWriteImage() 755 auto dst_pitch = pitch(region, {{ src_img.pixel_size() }}); in clEnqueueCopyImageToBuffer() 757 auto src_pitch = pitch(region, {{ src_img.pixel_size(), in clEnqueueCopyImageToBuffer() 791 auto dst_pitch = pitch(region, {{ dst_img.pixel_size(), in clEnqueueCopyBufferToImage() 795 auto src_pitch = pitch(region, {{ dst_img.pixel_size() }}); in clEnqueueCopyBufferToImage()
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/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()
|
/third_party/vk-gl-cts/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()
|