Home
last modified time | relevance | path

Searched refs:row_stride (Results 1 – 25 of 41) sorted by relevance

12

/external/libjpeg-turbo/
Dexample.c93 int row_stride; /* physical row width in image buffer */ in write_JPEG_file() local
154 row_stride = image_width * 3; /* JSAMPLEs per row in image_buffer */ in write_JPEG_file()
161 row_pointer[0] = & image_buffer[cinfo.next_scanline * row_stride]; in write_JPEG_file()
298 int row_stride; /* physical row width in output buffer */ in read_JPEG_file() local
361 row_stride = cinfo.output_width * cinfo.output_components; in read_JPEG_file()
364 ((j_common_ptr) &cinfo, JPOOL_IMAGE, row_stride, 1); in read_JPEG_file()
379 put_scanline_someplace(buffer[0], row_stride); in read_JPEG_file()
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dbitmaptools.cc95 row_stride = width * bpp; in Read()
98 row_size = row_stride; in Read()
105 if (box.bottom * row_stride > total_size || in Read()
118 total_size = (box.bottom - box.top) * row_stride; in Read()
120 data = pixels + box.top * row_stride + box.left * pixel_stride; in Read()
130 row += row_stride, dst += row_size) { in WriteCroppedPixels()
144 int row_stride; member
181 row += bmp.row_stride) { in Histogram()
215 row += bmp.row_stride, ++y) { in BoundingBox()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c256 uint32_t row_stride[PIPE_MAX_TEXTURE_LEVELS]; in llvmpipe_prepare_vertex_sampling() local
283 row_stride[j] = lp_tex->row_stride[j]; in llvmpipe_prepare_vertex_sampling()
296 row_stride[0] = lp_tex->row_stride[0]; in llvmpipe_prepare_vertex_sampling()
305 row_stride, img_stride, data); in llvmpipe_prepare_vertex_sampling()
Dlp_texture.c140 lpr->row_stride[level] = align(nblocksx * block_size, 16); in llvmpipe_texture_layout()
142 lpr->img_stride[level] = lpr->row_stride[level] * nblocksy; in llvmpipe_texture_layout()
226 &lpr->row_stride[0] ); in llvmpipe_displaytarget_layout()
236 memset(map, 0, height * lpr->row_stride[0]); in llvmpipe_displaytarget_layout()
510 &lpr->row_stride[0]); in llvmpipe_resource_from_handle()
641 pt->stride = lprex->row_stride[level]; in llvmpipe_get_transfer()
1126 lpr->row_stride[level], in llvmpipe_get_texture_image()
1135 lpr->row_stride[level], in llvmpipe_get_texture_image()
1224 lpr->row_stride[level], in llvmpipe_get_texture_tile_linear()
1273 lpr->row_stride[level], in llvmpipe_get_texture_tile()
[all …]
Dlp_texture.h90 unsigned row_stride[LP_MAX_TEXTURE_LEVELS]; member
169 return lpr->row_stride[level]; in llvmpipe_resource_stride()
Dlp_tex_sample.c154 LP_LLVM_TEXTURE_MEMBER(row_stride, LP_JIT_TEXTURE_ROW_STRIDE, FALSE) in LP_LLVM_TEXTURE_MEMBER()
249 sampler->dynamic_state.base.row_stride = lp_llvm_texture_row_stride; in lp_llvm_sampler_soa_create()
Dlp_setup.c672 jit_tex->row_stride[j] = lp_tex->row_stride[j]; in lp_setup_set_fragment_sampler_views()
684 jit_tex->row_stride[j] = 0; in lp_setup_set_fragment_sampler_views()
698 jit_tex->row_stride[0] = lp_tex->row_stride[0]; in lp_setup_set_fragment_sampler_views()
Dlp_jit.h56 uint32_t row_stride[LP_MAX_TEXTURE_LEVELS]; member
/external/libvncserver/client_examples/
Dppmtest.c22 int row_stride=client->width*bpp; in SaveFramebufferAsPPM() local
44 for(j=0;j<client->height*row_stride;j+=row_stride) in SaveFramebufferAsPPM()
/external/pdfium/third_party/libpng16/
Dpngwrite.c1499 png_int_32 row_stride; member
1948 if (display->row_stride == 0) in png_image_write_main()
1949 display->row_stride = (png_int_32)/*SAFE*/png_row_stride; in png_image_write_main()
1951 if (display->row_stride < 0) in png_image_write_main()
1952 check = -display->row_stride; in png_image_write_main()
1955 check = display->row_stride; in png_image_write_main()
2079 ptrdiff_t row_bytes = display->row_stride; in png_image_write_main()
2202 const void *buffer, png_int_32 row_stride, const void *colormap) in png_image_write_to_memory() argument
2223 display.row_stride = row_stride; in png_image_write_to_memory()
2268 const void *buffer, png_int_32 row_stride, const void *colormap) in png_image_write_to_stdio() argument
[all …]
Dpng.h2927 #define PNG_IMAGE_BUFFER_SIZE(image, row_stride)\ argument
2928 (PNG_IMAGE_PIXEL_COMPONENT_SIZE((image).format)*(image).height*(row_stride))
3013 png_const_colorp background, void *buffer, png_int_32 row_stride,
3073 png_int_32 row_stride, const void *colormap));
3077 int convert_to_8_bit, const void *buffer, png_int_32 row_stride,
3105 const void *buffer, png_int_32 row_stride, const void *colormap));
3129 row_stride, colormap)\ argument
3131 row_stride, colormap)
Dpngread.c1272 png_int_32 row_stride; member
3195 ptrdiff_t row_bytes = display->row_stride; in png_image_read_colormapped()
4013 ptrdiff_t row_bytes = display->row_stride; in png_image_read_direct()
4080 void *buffer, png_int_32 row_stride, void *colormap) in png_image_finish_read() argument
4095 if (row_stride == 0) in png_image_finish_read()
4096 row_stride = (png_int_32)/*SAFE*/png_row_stride; in png_image_finish_read()
4098 if (row_stride < 0) in png_image_finish_read()
4099 check = -row_stride; in png_image_finish_read()
4102 check = row_stride; in png_image_finish_read()
4121 display.row_stride = row_stride; in png_image_finish_read()
/external/libpng/
Dpngwrite.c1499 png_int_32 row_stride; member
1948 if (display->row_stride == 0) in png_image_write_main()
1949 display->row_stride = (png_int_32)/*SAFE*/png_row_stride; in png_image_write_main()
1951 if (display->row_stride < 0) in png_image_write_main()
1952 check = -display->row_stride; in png_image_write_main()
1955 check = display->row_stride; in png_image_write_main()
2079 ptrdiff_t row_bytes = display->row_stride; in png_image_write_main()
2202 const void *buffer, png_int_32 row_stride, const void *colormap) in png_image_write_to_memory() argument
2223 display.row_stride = row_stride; in png_image_write_to_memory()
2268 const void *buffer, png_int_32 row_stride, const void *colormap) in png_image_write_to_stdio() argument
[all …]
Dpng.h2933 #define PNG_IMAGE_BUFFER_SIZE(image, row_stride)\ argument
2934 (PNG_IMAGE_PIXEL_COMPONENT_SIZE((image).format)*(image).height*(row_stride))
3019 png_const_colorp background, void *buffer, png_int_32 row_stride,
3079 png_int_32 row_stride, const void *colormap));
3083 int convert_to_8_bit, const void *buffer, png_int_32 row_stride,
3111 const void *buffer, png_int_32 row_stride, const void *colormap));
3135 row_stride, colormap)\ argument
3137 row_stride, colormap)
Dpngread.c1271 png_int_32 row_stride; member
3194 ptrdiff_t row_bytes = display->row_stride; in png_image_read_colormapped()
4011 ptrdiff_t row_bytes = display->row_stride; in png_image_read_direct()
4078 void *buffer, png_int_32 row_stride, void *colormap) in png_image_finish_read() argument
4099 if (row_stride == 0) in png_image_finish_read()
4100 row_stride = (png_int_32)/*SAFE*/png_row_stride; in png_image_finish_read()
4102 if (row_stride < 0) in png_image_finish_read()
4103 check = -row_stride; in png_image_finish_read()
4106 check = row_stride; in png_image_finish_read()
4142 display.row_stride = row_stride; in png_image_finish_read()
/external/skia/third_party/libpng/
Dpngwrite.c1499 png_int_32 row_stride; member
1948 if (display->row_stride == 0) in png_image_write_main()
1949 display->row_stride = (png_int_32)/*SAFE*/png_row_stride; in png_image_write_main()
1951 if (display->row_stride < 0) in png_image_write_main()
1952 check = -display->row_stride; in png_image_write_main()
1955 check = display->row_stride; in png_image_write_main()
2079 ptrdiff_t row_bytes = display->row_stride; in png_image_write_main()
2202 const void *buffer, png_int_32 row_stride, const void *colormap) in png_image_write_to_memory() argument
2223 display.row_stride = row_stride; in png_image_write_to_memory()
2268 const void *buffer, png_int_32 row_stride, const void *colormap) in png_image_write_to_stdio() argument
[all …]
Dpng.h2927 #define PNG_IMAGE_BUFFER_SIZE(image, row_stride)\ argument
2928 (PNG_IMAGE_PIXEL_COMPONENT_SIZE((image).format)*(image).height*(row_stride))
3013 png_const_colorp background, void *buffer, png_int_32 row_stride,
3073 png_int_32 row_stride, const void *colormap));
3077 int convert_to_8_bit, const void *buffer, png_int_32 row_stride,
3105 const void *buffer, png_int_32 row_stride, const void *colormap));
3129 row_stride, colormap)\ argument
3131 row_stride, colormap)
/external/libvpx/libvpx/third_party/libyuv/source/
Dscale.cc46 int row_stride = src_stride << 1; in ScalePlaneDown2() local
90 IS_ALIGNED(src_stride, 4) && IS_ALIGNED(row_stride, 4) && in ScalePlaneDown2()
103 src_ptr += row_stride; in ScalePlaneDown2()
119 int row_stride = src_stride << 1; in ScalePlaneDown2_16() local
140 IS_ALIGNED(src_stride, 4) && IS_ALIGNED(row_stride, 4) && in ScalePlaneDown2_16()
153 src_ptr += row_stride; in ScalePlaneDown2_16()
171 int row_stride = src_stride << 2; in ScalePlaneDown4() local
204 if (TestCpuFlag(kCpuHasDSPR2) && IS_ALIGNED(row_stride, 4) && in ScalePlaneDown4()
217 src_ptr += row_stride; in ScalePlaneDown4()
231 int row_stride = src_stride << 2; in ScalePlaneDown4_16() local
[all …]
Dscale_argb.cc40 int row_stride = src_stride * (dy >> 16); in ScaleARGBDown2() local
85 src_argb += row_stride; in ScaleARGBDown2()
102 int row_stride = src_stride * (dy >> 16); in ScaleARGBDown4Box() local
131 src_argb += row_stride; in ScaleARGBDown4Box()
148 int row_stride = (dy >> 16) * src_stride; in ScaleARGBDownEven() local
181 src_argb += row_stride; in ScaleARGBDownEven()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.h50 uint32_t row_stride[PIPE_MAX_TEXTURE_LEVELS]; member
296 uint32_t row_stride[PIPE_MAX_TEXTURE_LEVELS],
Ddraw_llvm_sample.c149 DRAW_LLVM_TEXTURE_MEMBER(row_stride, DRAW_JIT_TEXTURE_ROW_STRIDE, FALSE) in DRAW_LLVM_TEXTURE_MEMBER()
239 sampler->dynamic_state.base.row_stride = draw_llvm_texture_row_stride; in draw_llvm_sampler_soa_create()
/external/libyuv/files/source/
Dscale.cc52 int row_stride = src_stride << 1; in ScalePlaneDown2() local
108 IS_ALIGNED(src_stride, 4) && IS_ALIGNED(row_stride, 4) && in ScalePlaneDown2()
135 src_ptr += row_stride; in ScalePlaneDown2()
156 int row_stride = src_stride << 1; in ScalePlaneDown2_16() local
181 IS_ALIGNED(src_stride, 4) && IS_ALIGNED(row_stride, 4) && in ScalePlaneDown2_16()
194 src_ptr += row_stride; in ScalePlaneDown2_16()
216 int row_stride = src_stride << 2; in ScalePlaneDown4() local
251 if (TestCpuFlag(kCpuHasDSPR2) && IS_ALIGNED(row_stride, 4) && in ScalePlaneDown4()
272 src_ptr += row_stride; in ScalePlaneDown4()
290 int row_stride = src_stride << 2; in ScalePlaneDown4_16() local
[all …]
Dscale_argb.cc47 int row_stride = src_stride * (dy >> 16); in ScaleARGBDown2() local
120 src_argb += row_stride; in ScaleARGBDown2()
144 int row_stride = src_stride * (dy >> 16); in ScaleARGBDown4Box() local
177 src_argb += row_stride; in ScaleARGBDown4Box()
201 int row_stride = (dy >> 16) * src_stride; in ScaleARGBDownEven() local
246 src_argb += row_stride; in ScaleARGBDownEven()
/external/mesa3d/src/gallium/tests/graw/
Dgraw_util.h224 const int row_stride = width * util_format_get_blocksize(format); in graw_util_create_tex2d() local
225 const int image_bytes = row_stride * height; in graw_util_create_tex2d()
253 row_stride, in graw_util_create_tex2d()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorBase.h689 const Index row_stride = 1, const Index col_stride = 1,
692 …PatchOp<Dynamic, Dynamic, const Derived>(derived(), patch_rows, patch_cols, row_stride, col_stride,
699 const Index row_stride, const Index col_stride, in extract_image_patches() argument
705 …PatchOp<Dynamic, Dynamic, const Derived>(derived(), patch_rows, patch_cols, row_stride, col_stride, in extract_image_patches()
713 … const Index plane_stride = 1, const Index row_stride = 1, const Index col_stride = 1,
715 …erived>(derived(), patch_planes, patch_rows, patch_cols, plane_stride, row_stride, col_stride, 1, …
722 const Index plane_stride, const Index row_stride, const Index col_stride,
727 …erived>(derived(), patch_planes, patch_rows, patch_cols, plane_stride, row_stride, col_stride, 1, …

12