Home
last modified time | relevance | path

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

12

/external/jpeg/
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,
Dblock_random_access_dense_matrix.h70 int* row_stride,
Dblock_random_access_diagonal_matrix.h66 int* row_stride,
Dblock_random_access_sparse_matrix.h71 int* row_stride,
/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/libvpx/libvpx/third_party/libyuv/source/
Dscale_argb.cc40 int row_stride = src_stride * (dy >> 16); in ScaleARGBDown2() local
57 IS_ALIGNED(src_argb, 16) && IS_ALIGNED(row_stride, 16) && in ScaleARGBDown2()
65 IS_ALIGNED(src_argb, 4) && IS_ALIGNED(row_stride, 4)) { in ScaleARGBDown2()
76 src_argb += row_stride; in ScaleARGBDown2()
93 int row_stride = src_stride * (dy >> 16); in ScaleARGBDown4Box() local
102 IS_ALIGNED(src_argb, 16) && IS_ALIGNED(row_stride, 16) && in ScaleARGBDown4Box()
108 IS_ALIGNED(src_argb, 4) && IS_ALIGNED(row_stride, 4)) { in ScaleARGBDown4Box()
117 src_argb += row_stride; in ScaleARGBDown4Box()
134 int row_stride = (dy >> 16) * src_stride; in ScaleARGBDownEven() local
160 src_argb += row_stride; in ScaleARGBDownEven()
Dscale.cc50 int row_stride = src_stride << 1; in ScalePlaneDown2() local
66 IS_ALIGNED(src_stride, 16) && IS_ALIGNED(row_stride, 16) && in ScalePlaneDown2()
75 IS_ALIGNED(src_stride, 4) && IS_ALIGNED(row_stride, 4) && in ScalePlaneDown2()
88 src_ptr += row_stride; in ScalePlaneDown2()
104 int row_stride = src_stride << 1; in ScalePlaneDown2_16() local
122 IS_ALIGNED(src_stride, 16) && IS_ALIGNED(row_stride, 16) && in ScalePlaneDown2_16()
131 IS_ALIGNED(src_stride, 4) && IS_ALIGNED(row_stride, 4) && in ScalePlaneDown2_16()
144 src_ptr += row_stride; in ScalePlaneDown2_16()
162 int row_stride = src_stride << 2; in ScalePlaneDown4() local
173 IS_ALIGNED(dst_width, 8) && IS_ALIGNED(row_stride, 16) && in ScalePlaneDown4()
[all …]
/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/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/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngwrite.c1609 png_int_32 row_stride; member
2037 if (display->row_stride == 0) in png_image_write_main()
2038 display->row_stride = PNG_IMAGE_ROW_STRIDE(*image); in png_image_write_main()
2144 ptrdiff_t row_bytes = display->row_stride; in png_image_write_main()
2214 const void *buffer, png_int_32 row_stride, const void *colormap) in png_image_write_to_stdio() argument
2235 display.row_stride = row_stride; in png_image_write_to_stdio()
2263 int convert_to_8bit, const void *buffer, png_int_32 row_stride, in png_image_write_to_file() argument
2276 row_stride, colormap)) in png_image_write_to_file()
/external/libpng/
Dpngwrite.c1711 png_int_32 row_stride; member
2144 if (display->row_stride == 0) in png_image_write_main()
2145 display->row_stride = PNG_IMAGE_ROW_STRIDE(*image); in png_image_write_main()
2251 ptrdiff_t row_bytes = display->row_stride; in png_image_write_main()
2321 const void *buffer, png_int_32 row_stride, const void *colormap) in png_image_write_to_stdio() argument
2342 display.row_stride = row_stride; in png_image_write_to_stdio()
2370 int convert_to_8bit, const void *buffer, png_int_32 row_stride, in png_image_write_to_file() argument
2383 row_stride, colormap)) in png_image_write_to_file()

12