/third_party/mesa3d/src/mesa/main/ |
D | image.c | 154 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 …]
|
/third_party/mesa3d/src/glx/ |
D | compsize.c | 153 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()
|
/third_party/ffmpeg/libavcodec/ |
D | tiffenc.c | 255 int bytes_per_row; in encode_frame() local 332 bytes_per_row = (((s->width - 1) / s->subsampling[0] + 1) * s->bpp * in encode_frame() 334 packet_size = avctx->height * bytes_per_row * 2 + in encode_frame() 369 av_fast_padded_malloc(&s->yuv_line, &s->yuv_line_size, bytes_per_row); in encode_frame() 383 zlen = bytes_per_row * s->rps; in encode_frame() 394 memcpy(zbuf + zn, s->yuv_line, bytes_per_row); in encode_frame() 397 memcpy(zbuf + j * bytes_per_row, in encode_frame() 398 p->data[0] + j * p->linesize[0], bytes_per_row); in encode_frame() 399 zn += bytes_per_row; in encode_frame() 430 ret = encode_strip(s, s->yuv_line, ptr, bytes_per_row, s->compr); in encode_frame() [all …]
|
D | tiff.c | 771 int bytes_per_row = (((s->width - 1) / s->subsampling[0] + 1) * s->bpp * in tiff_unpack_strip() local 773 av_fast_padded_malloc(&s->yuv_line, &s->yuv_line_size, bytes_per_row); in tiff_unpack_strip() 783 av_assert0(width <= bytes_per_row); in tiff_unpack_strip()
|
/third_party/flutter/skia/third_party/externals/wuffs/script/ |
D | bench-c-deflate-fragmentation.c | 126 uint64_t bytes_per_row = 0; variable 259 dst.data.len = bytes_per_row; in decode_once() 282 dst.data.len = bytes_per_row * (i + 1); in decode_once() 369 bytes_per_row = (uint64_t)width * bytes_per_pixel + 1; in main() 370 bytes_per_frame = (uint64_t)height * bytes_per_row; in main()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/ |
D | SDL_mirframebuffer.c | 69 int bytes_per_pixel, bytes_per_row, s_stride, d_stride; in MIR_UpdateWindowFramebuffer() local 114 bytes_per_row = bytes_per_pixel * w; in MIR_UpdateWindowFramebuffer() 116 SDL_memcpy(s_dest, pixels, bytes_per_row); in MIR_UpdateWindowFramebuffer()
|
D | SDL_mirmouse.c | 77 int i, s_w, s_h, r_stride, p_stride, bytes_per_pixel, bytes_per_row; in CopySurfacePixelsToMirStream() local 86 bytes_per_row = bytes_per_pixel * s_w; in CopySurfacePixelsToMirStream() 96 SDL_memcpy(dest, pixels, bytes_per_row); in CopySurfacePixelsToMirStream()
|
/third_party/python/Tools/freeze/ |
D | regen_frozen.py | 32 bytes_per_row = 13 34 if (i % bytes_per_row) == 0:
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_pbo_compute.c | 335 nir_ssa_def *bytes_per_row = nir_imul(b, nir_channel(b, sd->range, 0), sd->blocksize); in get_buffer_offset() local 336 bytes_per_row = nir_bcsel(b, nir_ult(b, sd->alignment, nir_imm_int(b, 2)), in get_buffer_offset() 337 bytes_per_row, in get_buffer_offset() 339 … nir_isub(b, nir_iadd(b, bytes_per_row, sd->alignment), nir_imm_int(b, 1)), in get_buffer_offset() 341 nir_ssa_def *bytes_per_image = nir_imul(b, bytes_per_row, nir_channel(b, sd->range, 1)); in get_buffer_offset() 342 bytes_per_row = nir_bcsel(b, sd->invert, in get_buffer_offset() 343 nir_isub(b, nir_imm_int(b, 0), bytes_per_row), in get_buffer_offset() 344 bytes_per_row); in get_buffer_offset() 348 nir_imul(b, nir_channel(b, coord, 1), bytes_per_row), in get_buffer_offset()
|
D | st_pbo.c | 129 unsigned bytes_per_row = pixels_per_row * addr->bytes_per_pixel; in st_pbo_addresses_pixelstore() local 130 unsigned remainder = bytes_per_row % store->Alignment; in st_pbo_addresses_pixelstore() 134 bytes_per_row += store->Alignment - remainder; in st_pbo_addresses_pixelstore() 136 if (bytes_per_row % addr->bytes_per_pixel) in st_pbo_addresses_pixelstore() 139 addr->pixels_per_row = bytes_per_row / addr->bytes_per_pixel; in st_pbo_addresses_pixelstore()
|
/third_party/flutter/skia/third_party/externals/freetype/include/freetype/ |
D | ftwinfnt.h | 210 FT_UShort bytes_per_row; member
|
/third_party/freetype/include/freetype/ |
D | ftwinfnt.h | 209 FT_UShort bytes_per_row; member
|
/third_party/skia/third_party/externals/freetype/include/freetype/ |
D | ftwinfnt.h | 209 FT_UShort bytes_per_row; member
|
/third_party/flutter/glfw/src/ |
D | mir_window.c | 636 int i, r_stride, bytes_per_pixel, bytes_per_row; in _glfwPlatformCreateCursor() local 643 bytes_per_row = bytes_per_pixel * i_w; in _glfwPlatformCreateCursor() 652 memcpy(dest, pixels, bytes_per_row); in _glfwPlatformCreateCursor()
|
/third_party/mesa3d/src/gallium/targets/haiku-softpipe/ |
D | SoftwareRenderer.cpp | 67 stride = info->bytes_per_row/4; in RasBuf32()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/haiku/ |
D | SDL_BWin.h | 190 _row_bytes = info->bytes_per_row; in DirectConnected()
|
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/ |
D | README.md | 164 int bytes_per_row = width * 4 + padding; // stride 166 rows[i] = bitmap + i * bytes_per_row;
|
/third_party/skia/third_party/externals/freetype/src/winfonts/ |
D | winfnt.c | 171 FT_FRAME_USHORT_LE( bytes_per_row ),
|
/third_party/flutter/skia/third_party/externals/freetype/src/winfonts/ |
D | winfnt.c | 172 FT_FRAME_USHORT_LE( bytes_per_row ),
|
/third_party/freetype/src/winfonts/ |
D | winfnt.c | 171 FT_FRAME_USHORT_LE( bytes_per_row ),
|