Home
last modified time | relevance | path

Searched refs:src_size (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Drealloc_unittest.cc90 for (int src_size = 0; src_size >= 0; src_size = NextSize(src_size)) { in main() local
92 unsigned char* src = (unsigned char*) malloc(src_size); in main()
93 Fill(src, src_size); in main()
95 CHECK(Valid(dst, min(src_size, dst_size))); in main()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Drealloc_unittest.cc90 for (int src_size = 0; src_size >= 0; src_size = NextSize(src_size)) { in main() local
92 unsigned char* src = (unsigned char*) malloc(src_size); in main()
93 Fill(src, src_size); in main()
95 CHECK(Valid(dst, min(src_size, dst_size))); in main()
/external/chromium_org/content/common/gpu/client/
Dgl_helper_scaling.cc60 void UseProgram(const gfx::Size& src_size,
150 spec_.src_size.width(), in ScalerImpl()
151 spec_.src_size.height(), in ScalerImpl()
205 shader_program_->UseProgram(spec_.src_size, in Execute()
238 return spec_.src_size; in SrcSize()
270 src_size(src_size_), in ScalerStage()
291 gfx::Size src_size, in ConvertScalerOpsToScalerStages() argument
398 src_size, in ConvertScalerOpsToScalerStages()
404 src_size = intermediate_size; in ConvertScalerOpsToScalerStages()
413 const gfx::Size& src_size, in ComputeScalerStages() argument
[all …]
Dgl_helper_benchmark.cc141 const gfx::Size src_size(input_sizes[insize], in TEST_F() local
147 src_size.width(), in TEST_F()
148 src_size.height()); in TEST_F()
174 src_size.width(), in TEST_F()
175 src_size.height(), in TEST_F()
182 src_size.width(), src_size.height()); in TEST_F()
185 src_size, in TEST_F()
218 src_size.width(), in TEST_F()
219 src_size.height(), in TEST_F()
258 const gfx::Size src_size(input.width(), input.height()); in TEST_F() local
[all …]
Dgl_helper.cc138 const gfx::Size& src_size,
166 const gfx::Size& src_size,
173 const gfx::Size& src_size,
228 const gfx::Size& src_size,
266 const gfx::Size& src_size,
303 const gfx::Size& src_size,
333 const gfx::Size& src_size, in CreateScaler() argument
340 src_size, in CreateScaler()
349 const gfx::Size& src_size, in ScaleTexture() argument
357 src_size, in ScaleTexture()
[all …]
Dgl_helper_scaling.h57 gfx::Size src_size,
64 const gfx::Size& src_size,
71 const gfx::Size& src_size,
148 gfx::Size src_size; member
159 const gfx::Size& src_size,
171 gfx::Size src_size,
Dgl_helper.h228 const gfx::Size& src_size,
246 const gfx::Size& src_size,
273 const gfx::Size& src_size,
344 const gfx::Size& src_size,
360 const gfx::Size& src_size,
/external/opencv/cv/src/
Dcvsamplers.cpp89 CvSize src_size, CvSize win_size, in icvAdjustRect() argument
107 if( ip.x + win_size.width < src_size.width ) in icvAdjustRect()
111 rect.width = src_size.width - ip.x - 1; in icvAdjustRect()
128 if( ip.y + win_size.height < src_size.height ) in icvAdjustRect()
132 rect.height = src_size.height - ip.y - 1; in icvAdjustRect()
148 ( const srctype* src, int src_step, CvSize src_size, \
174 if( 0 <= ip.x && ip.x + win_size.width < src_size.width && \
175 0 <= ip.y && ip.y + win_size.height < src_size.height ) \
220 sizeof(*src), src_size, win_size,ip, &r); \
267 ( const srctype* src, int src_step, CvSize src_size, \
[all …]
D_cvimgproc.h53 CvSize src_size, const float* kx, const float* ky, float* buffer );
104 ( const uchar* src, int src_step, CvSize src_size,
107 ( const uchar* src, int src_step, CvSize src_size,
110 ( const float* src, int src_step, CvSize src_size,
114 ( const uchar* src, int src_step, CvSize src_size,
117 ( const uchar* src, int src_step, CvSize src_size,
120 ( const float* src, int src_step, CvSize src_size,
Dcvpyramids.cpp496 icvPyrDownBorder_##flavor##_CnR( const arrtype *src, int src_step, CvSize src_size, \
505 int W = src_size.width, H = src_size.height; \
514 buf_size = MAX(src_size.width,src_size.height) * sizeof(buf[0]) * 2 * channels; \
1041 CvSize src_size, src_size2, dst_size; in cvPyrDown() local
1062 src_size = cvGetMatSize(src); in cvPyrDown()
1064 src_size2.width = src_size.width & -2; in cvPyrDown()
1065 src_size2.height = src_size.height & -2; in cvPyrDown()
1067 if( (unsigned)(dst_size.width - src_size.width/2) > 1 || in cvPyrDown()
1068 (unsigned)(dst_size.height - src_size.height/2) > 1 ) in cvPyrDown()
1072 if( (src_size.width <= 2 && dst_size.width != 1) || in cvPyrDown()
[all …]
/external/chromium/base/allocator/
Dallocator_unittests.cc417 for (int src_size = 0; src_size >= 0; src_size = NextSize(src_size)) { in TEST() local
419 unsigned char* src = reinterpret_cast<unsigned char*>(malloc(src_size)); in TEST()
420 Fill(src, src_size); in TEST()
423 EXPECT_TRUE(Valid(dst, min(src_size, dst_size))); in TEST()
467 for (int src_size = 0; src_size >= 0; src_size = NextSize(src_size)) { in TEST() local
470 reinterpret_cast<unsigned char*>(_recalloc(NULL, 1, src_size)); in TEST()
471 EXPECT_TRUE(IsZeroed(src, src_size)); in TEST()
472 Fill(src, src_size); in TEST()
475 EXPECT_TRUE(Valid(dst, min(src_size, dst_size))); in TEST()
/external/chromium_org/content/child/npapi/
Dwebplugin_ime_win.cc219 DWORD src_size = 0; in ImmGetCompositionStringW() local
223 src_size = instance->composition_text_.length() * sizeof(wchar_t); in ImmGetCompositionStringW()
228 src_size = instance->composition_attributes_.length(); in ImmGetCompositionStringW()
233 src_size = instance->composition_clauses_.size() * sizeof(uint32); in ImmGetCompositionStringW()
244 src_size = instance->result_text_.length() * sizeof(wchar_t); in ImmGetCompositionStringW()
249 src_size = sizeof(instance->result_clauses_); in ImmGetCompositionStringW()
255 if (!src_data || !src_size) in ImmGetCompositionStringW()
258 if (dst_size >= src_size) in ImmGetCompositionStringW()
259 memcpy(dst_data, src_data, src_size); in ImmGetCompositionStringW()
261 return src_size; in ImmGetCompositionStringW()
/external/chromium_org/base/allocator/
Dallocator_unittests.cc416 for (int src_size = 0; src_size >= 0; src_size = NextSize(src_size)) { in TEST() local
418 unsigned char* src = reinterpret_cast<unsigned char*>(malloc(src_size)); in TEST()
419 Fill(src, src_size); in TEST()
422 EXPECT_TRUE(Valid(dst, min(src_size, dst_size))); in TEST()
466 for (int src_size = 0; src_size >= 0; src_size = NextSize(src_size)) { in TEST() local
469 reinterpret_cast<unsigned char*>(_recalloc(NULL, 1, src_size)); in TEST()
470 EXPECT_TRUE(IsZeroed(src, src_size)); in TEST()
471 Fill(src, src_size); in TEST()
474 EXPECT_TRUE(Valid(dst, min(src_size, dst_size))); in TEST()
/external/opencv/cvaux/src/
Dcvlines.cpp46 uchar * dst, int *dst_num, CvSize src_size, CvPoint start, CvPoint end )
52 if( !src || !dst || (src_size.width | src_size.height) < 0 ||
53 src_step < src_size.width * 3 ||
54 (unsigned) start.x >= (unsigned) src_size.width ||
55 (unsigned) start.y >= (unsigned) src_size.height ||
56 (unsigned) end.x >= (unsigned) src_size.width ||
57 (unsigned) end.y >= (unsigned) src_size.height )
201 CvSize src_size, /* image size in pixels */ in icvPreWarpImage8uC3R() argument
214 cvInitMatHeader( &mat, src_size.height, src_size.width, CV_8UC3, src, src_step ); in icvPreWarpImage8uC3R()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_format_pack.py316 src_size = src_channel.size
321 if src_type == FLOAT and src_size == 16:
323 src_size = 32
327 …if src_type == UNSIGNED and src_norm and src_size == 8 and dst_channel.type == FLOAT and dst_chann…
329 …if src_type == FLOAT and src_size == 32 and dst_channel.type == UNSIGNED and dst_channel.norm and …
351 …tmp_native_type = intermediate_native_type(src_size + dst_channel.size, src_channel.sign and dst_c…
361 if src_size <= 23:
365 src_size = 32
369 src_size = 64
372 if src_size <= 23 or dst_channel.size <= 32:
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_pack.py316 src_size = src_channel.size
321 if src_type == FLOAT and src_size == 16:
323 src_size = 32
327 …if src_type == UNSIGNED and src_norm and src_size == 8 and dst_channel.type == FLOAT and dst_chann…
329 …if src_type == FLOAT and src_size == 32 and dst_channel.type == UNSIGNED and dst_channel.norm and …
351 …tmp_native_type = intermediate_native_type(src_size + dst_channel.size, src_channel.sign and dst_c…
361 if src_size <= 23:
365 src_size = 32
369 src_size = 64
372 if src_size <= 23 or dst_channel.size <= 32:
[all …]
/external/chromium_org/ui/surface/
Daccelerated_surface_transformer_win_unittest.cc338 const gfx::Size& src_size, in DoResizeBilinearTest() argument
345 src_size.width(), src_size.height(), in DoResizeBilinearTest()
353 device(), src_size, &src)) in DoResizeBilinearTest()
359 FillSymmetricRandomCheckerboard(src, src_size, checkerboard_size); in DoResizeBilinearTest()
361 ASSERT_TRUE(gpu_ops->ResizeBilinear(src, gfx::Rect(src_size), dst, in DoResizeBilinearTest()
431 const gfx::Size& src_size, in DoYUVConversionTest() argument
436 DoYUVConversionTest(gpu_ops, src_size, src_size, in DoYUVConversionTest()
440 DoYUVConversionTest(gpu_ops, src_size, src_size, in DoYUVConversionTest()
446 const gfx::Size& src_size, in DoYUVConversionScaleTest() argument
452 DoYUVConversionTest(gpu_ops, src_size, dst_size, 4, true)); in DoYUVConversionScaleTest()
[all …]
Daccelerated_surface_transformer_win.cc357 gfx::Size src_size = src_subrect.size(); in ResizeBilinear() local
360 if (src_size.IsEmpty() || dst_size.IsEmpty()) in ResizeBilinear()
503 gfx::Size src_size = d3d_utils::GetSize(gpu_surface); in ReadByGetRenderTargetData() local
508 src_size.width() * 4 == dst_bytes_per_row && in ReadByGetRenderTargetData()
509 dst_num_rows >= src_size.height()); in ReadByGetRenderTargetData()
514 hr = device()->CreateOffscreenPlainSurface(src_size.width(), in ReadByGetRenderTargetData()
515 src_size.height(), in ReadByGetRenderTargetData()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_vlc.h70 …truct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src, unsigned src_size) in vl_vlc_init_table() argument
75 assert(src && src_size); in vl_vlc_init_table()
82 for(; src_size > 0; --src_size, ++src) { in vl_vlc_init_table()
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
Dvl_vlc.h70 …truct vl_vlc_entry *dst, unsigned dst_size, const struct vl_vlc_compressed *src, unsigned src_size) in vl_vlc_init_table() argument
75 assert(src && src_size); in vl_vlc_init_table()
82 for(; src_size > 0; --src_size, ++src) { in vl_vlc_init_table()
/external/chromium_org/ui/gfx/android/
Djava_bitmap.cc68 gfx::Size src_size = jbitmap.size(); in CreateSkBitmapFromJavaBitmap() local
72 src_size.width(), in CreateSkBitmapFromJavaBitmap()
73 src_size.height(), in CreateSkBitmapFromJavaBitmap()
/external/pixman/test/
Dscaling-crash-test.c132 int32_t src_size, in do_test() argument
144 src_size, 1, in do_test()
158 1, src_size, in do_test()
/external/chromium_org/content/browser/renderer_host/
Dcompositing_iosurface_transformer_mac_unittest.cc467 const gfx::Size src_size(params.src_width, params.src_height); in TEST_F() local
469 const SkBitmap src_bitmap = GenerateTestPatternBitmap(src_size); in TEST_F()
472 RunResizeTest(src_bitmap, gfx::Rect(src_size), dst_size); in TEST_F()
504 const gfx::Size src_size(params.src_width, params.src_height); in TEST_F() local
506 const SkBitmap src_bitmap = GenerateTestPatternBitmap(src_size); in TEST_F()
509 RunTransformRGBToYV12Test(src_bitmap, gfx::Rect(src_size), dst_size); in TEST_F()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_stacktrace.h47 void CopyFrom(uptr *src, uptr src_size) { in CopyFrom()
48 size = src_size; in CopyFrom()
/external/stlport/src/c_locale_win32/
Dc_wlocale_win32.c223 const wchar_t* src, size_t src_size) { in _WLocale_strxfrm() argument
227 if (src_size > INT_MAX) { in _WLocale_strxfrm()
229 _STLP_WCSNCPY(dst, dst_size, src, src_size); in _WLocale_strxfrm()
231 return src_size; in _WLocale_strxfrm()
236 result = LCMapStringW(lcol->lc.id, LCMAP_SORTKEY, src, (int)src_size, dst, (int)dst_size); in _WLocale_strxfrm()

12