Home
last modified time | relevance | path

Searched refs:image_size (Results 1 – 7 of 7) sorted by relevance

/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dimage_and_kernel.rsh14 static void SetImageSize(int w, int h, int m, ImageSize_t *image_size) {
15 image_size->width = w;
16 image_size->height = h;
17 image_size->margin = m;
Dlayered_filter_f32_helper.rsh23 const ImageSize_t *image_size,
36 sharp - kernel_center_y * image_size->width - kernel_center_x;
38 const int jump_to_next_row = image_size->width - kernel_dim_x;
64 uint32_t x, uint32_t y, const ImageSize_t *image_size,
81 (y - kernel_center_y) * image_size->width +
86 const int jump_to_next_row = image_size->width - kernel_dim_x;
117 uint32_t x, uint32_t y, const ImageSize_t *image_size,
129 integral_image + (y - kernel_radius_y) * image_size->width + x;
132 const int jump_to_next_row = image_size->width;
153 uint32_t x, uint32_t y, const ImageSize_t *image_size,
[all …]
Dlayered_filter_d1new_helper.rsh54 …dex = index_sharp_meta - kernel_center_y * image_size_i4.s0 - kernel_center_x; // image_size.width
56 const int jump_to_next_row = image_size_i4.s0 - kernel_dim_x; // image_size.width
95 …ndex = index_sharp_meta - kernel_center_y * image_size_i4.s0 - kernel_center_x; // image_size.width
97 const int jump_to_next_row = image_size_i4.s0 - kernel_dim_x; // image_size.width
140 int current_meta_index = (y - kernel_center_y) * image_size_i4.s0 + // image_size.width
145 const int jump_to_next_row = image_size_i4.s0 - kernel_dim_x; // image_size.width
191 int current_index_integral = (y - kernel_radius_y) * image_size_i4.s0 + x; // image_size.width
194 const int jump_to_next_row = image_size_i4.s0; // image_size.width
227 (y - kernel_center_y) * image_size_i4.s0 + (x - kernel_center_x); // image_size.width
231 const int jump_to_next_row = image_size_i4.s0 - kernel_dim_x; // image_size.width
/frameworks/rs/tests/lldb/cpp/Allocations/
DAllocations.cpp343 const int image_size = image_area*sizeof(int); in main() local
345 char *zero_buffer = new char[image_size]; in main()
346 memset(zero_buffer, 0, image_size); in main()
/frameworks/rs/tests/lldb/jni/Allocations/jniallocations/
Djniallocations.cpp353 const int image_size = image_area*sizeof(int); in Java_com_android_rs_jniallocations_MainActivity_nativeRS() local
355 char *zero_buffer = new char[image_size]; in Java_com_android_rs_jniallocations_MainActivity_nativeRS()
356 memset(zero_buffer, 0, image_size); in Java_com_android_rs_jniallocations_MainActivity_nativeRS()
/frameworks/base/startop/view_compiler/
Ddex_builder.cc178 size_t image_size{0}; in CreateImage() local
179 ::dex::u1* image = writer.CreateImage(&allocator_, &image_size); in CreateImage()
180 return slicer::MemView{image, image_size}; in CreateImage()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java484 int image_size = mWidth * mHeight * VideoDumpConfig.BYTES_PER_PIXEL; in onSurfaceChanged() local
485 mBuffer = ByteBuffer.allocate(image_size); in onSurfaceChanged()