Home
last modified time | relevance | path

Searched refs:row_stride (Results 1 – 25 of 48) 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/ceres-solver/include/ceres/
Drotation.h67 template <typename T, int row_stride, int col_stride>
103 template <typename T, int row_stride, int col_stride>
105 const MatrixAdapter<const T, row_stride, col_stride>& R,
111 template <typename T, int row_stride, int col_stride>
114 const MatrixAdapter<T, row_stride, col_stride>& R);
123 void EulerAnglesToRotationMatrix(const T* euler, int row_stride, T* R);
125 template <typename T, int row_stride, int col_stride>
128 const MatrixAdapter<T, row_stride, col_stride>& R);
152 template <typename T, int row_stride, int col_stride> inline
155 const MatrixAdapter<T, row_stride, col_stride>& R);
[all …]
/external/ceres-solver/internal/ceres/
Dblock_random_access_dense_matrix_test.cc55 int row_stride; in TEST() local
58 m.GetCell(i, j, &row, &col, &row_stride, &col_stride); in TEST()
63 EXPECT_EQ(row_stride, 3 + 4 + 5); in TEST()
85 int row_stride; in TEST() local
88 i, j, &row, &col, &row_stride, &col_stride); in TEST()
89 MatrixRef(cell->values, row_stride, col_stride).block( in TEST()
Dschur_eliminator_impl.h191 int r, c, row_stride, col_stride; in Eliminate() local
194 &row_stride, &col_stride); in Eliminate()
201 MatrixRef m(cell_info->values, row_stride, col_stride); in Eliminate()
533 int r, c, row_stride, col_stride; in ChunkOuterProduct() local
536 &row_stride, &col_stride); in ChunkOuterProduct()
544 cell_info->values, r, c, row_stride, col_stride); in ChunkOuterProduct()
607 int r, c, row_stride, col_stride; in NoEBlockRowOuterProduct() local
610 &row_stride, &col_stride); in NoEBlockRowOuterProduct()
619 cell_info->values, r, c, row_stride, col_stride); in NoEBlockRowOuterProduct()
626 int r, c, row_stride, col_stride; in NoEBlockRowOuterProduct() local
[all …]
Dblock_random_access_diagonal_matrix_test.cc59 int row_stride; in TEST() local
66 &row_stride, &col_stride); in TEST()
76 EXPECT_EQ(row_stride, blocks[row_block_id]); in TEST()
80 MatrixRef(cell->values, row_stride, col_stride).block( in TEST()
Dblock_random_access_sparse_matrix_test.cc73 int row_stride; in TEST() local
77 &row_stride, &col_stride); in TEST()
81 EXPECT_EQ(row_stride, blocks[row_block_id]); in TEST()
85 MatrixRef(cell->values, row_stride, col_stride).block( in TEST()
Dblock_random_access_dense_matrix.cc70 int* row_stride, in GetCell() argument
74 *row_stride = num_rows_; in GetCell()
Dblock_random_access_diagonal_matrix.cc95 int* row_stride, in GetCell() argument
105 *row_stride = stride; in GetCell()
Dblock_random_access_sparse_matrix.cc132 int* row_stride, in GetCell() argument
143 *row_stride = blocks_[row_block_id]; in GetCell()
Dblock_random_access_matrix.h116 int* row_stride,
/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()
/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/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 …]
/external/opencv3/modules/features2d/src/
Dfast_score.hpp54 void makeOffsets(int pixel[25], int row_stride, int patternSize);
Dagast_score.hpp55 void makeAgastOffsets(int pixel[16], int row_stride, int type);
/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(kCpuHasMIPS_DSPR2) && 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/libyuv/files/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()

12