|
Blender V5.0
|
Go to the source code of this file.
Functions | |
| TEST (math_interp, NearestCharExactSamples) | |
| TEST (math_interp, NearestCharHalfwaySamples) | |
| TEST (math_interp, NearestFloatExactSamples) | |
| TEST (math_interp, NearestFloatHalfwaySamples) | |
| TEST (math_interp, BilinearCharExactSamples) | |
| TEST (math_interp, BilinearCharHalfwayUSamples) | |
| TEST (math_interp, BilinearCharHalfwayVSamples) | |
| TEST (math_interp, BilinearCharSamples) | |
| TEST (math_interp, BilinearFloatSamples) | |
| TEST (math_interp, BilinearCharPartiallyOutsideImageBorder) | |
| TEST (math_interp, BilinearCharPartiallyOutsideImage) | |
| TEST (math_interp, BilinearCharPartiallyOutsideImageWrap) | |
| TEST (math_interp, BilinearFloatPartiallyOutsideImageBorder) | |
| TEST (math_interp, BilinearFloatPartiallyOutsideImage) | |
| TEST (math_interp, BilinearFloatPartiallyOutsideImageWrap) | |
| TEST (math_interp, BilinearCharFullyOutsideImage) | |
| TEST (math_interp, BilinearFloatFullyOutsideImage) | |
| TEST (math_interp, CubicBSplineCharExactSamples) | |
| TEST (math_interp, CubicBSplineCharSamples) | |
| TEST (math_interp, CubicBSplineFloatSamples) | |
| TEST (math_interp, CubicBSplineCharPartiallyOutsideImage) | |
| TEST (math_interp, CubicBSplineFloatPartiallyOutsideImage) | |
| TEST (math_interp, CubicMitchellCharExactSamples) | |
| TEST (math_interp, CubicMitchellCharSamples) | |
| TEST (math_interp, CubicMitchellFloatSamples) | |
| TEST (math_interp, CubicMitchellCharPartiallyOutsideImage) | |
| TEST (math_interp, CubicMitchellFloatPartiallyOutsideImage) | |
Variables | |
| static constexpr float | float_tolerance = 0.00005f |
| static constexpr int | image_width = 3 |
| static constexpr int | image_height = 3 |
| static constexpr uchar | image_char [image_height][image_width][4] |
| static constexpr float | image_fl [image_height][image_width][4] |
| TEST | ( | math_interp | , |
| BilinearCharExactSamples | ) |
Definition at line 71 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_bilinear_border_byte().
| TEST | ( | math_interp | , |
| BilinearCharFullyOutsideImage | ) |
Definition at line 266 of file BLI_math_interp_test.cc.
References exp, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_bilinear_border_byte().
| TEST | ( | math_interp | , |
| BilinearCharHalfwayUSamples | ) |
Definition at line 82 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_bilinear_border_byte().
| TEST | ( | math_interp | , |
| BilinearCharHalfwayVSamples | ) |
Definition at line 93 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_bilinear_border_byte().
| TEST | ( | math_interp | , |
| BilinearCharPartiallyOutsideImage | ) |
Definition at line 141 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_bilinear_byte().
| TEST | ( | math_interp | , |
| BilinearCharPartiallyOutsideImageBorder | ) |
Definition at line 127 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_bilinear_border_byte().
| TEST | ( | math_interp | , |
| BilinearCharPartiallyOutsideImageWrap | ) |
Definition at line 155 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_bilinear_wrap_byte().
| TEST | ( | math_interp | , |
| BilinearCharSamples | ) |
Definition at line 104 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_bilinear_border_byte().
| TEST | ( | math_interp | , |
| BilinearFloatFullyOutsideImage | ) |
Definition at line 291 of file BLI_math_interp_test.cc.
References exp, EXPECT_EQ(), image_fl, image_height, image_width, and blender::math::interpolate_bilinear_border_fl().
| TEST | ( | math_interp | , |
| BilinearFloatPartiallyOutsideImage | ) |
Definition at line 183 of file BLI_math_interp_test.cc.
References exp2, float_tolerance, image_fl, image_height, image_width, and blender::math::interpolate_bilinear_fl().
| TEST | ( | math_interp | , |
| BilinearFloatPartiallyOutsideImageBorder | ) |
Definition at line 169 of file BLI_math_interp_test.cc.
References exp2, float_tolerance, image_fl, image_height, image_width, and blender::math::interpolate_bilinear_border_fl().
| TEST | ( | math_interp | , |
| BilinearFloatPartiallyOutsideImageWrap | ) |
Definition at line 197 of file BLI_math_interp_test.cc.
References exp2, blender::math::Extend, float_tolerance, image_fl, image_height, image_width, blender::math::interpolate_bilinear_wrap_fl(), blender::math::interpolate_bilinear_wrapmode_fl(), and blender::math::Repeat.
| TEST | ( | math_interp | , |
| BilinearFloatSamples | ) |
Definition at line 116 of file BLI_math_interp_test.cc.
References exp2, float_tolerance, image_fl, image_height, image_width, and blender::math::interpolate_bilinear_border_fl().
| TEST | ( | math_interp | , |
| CubicBSplineCharExactSamples | ) |
Definition at line 316 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_cubic_bspline_byte().
| TEST | ( | math_interp | , |
| CubicBSplineCharPartiallyOutsideImage | ) |
Definition at line 349 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_cubic_bspline_byte().
| TEST | ( | math_interp | , |
| CubicBSplineCharSamples | ) |
Definition at line 327 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_cubic_bspline_byte().
| TEST | ( | math_interp | , |
| CubicBSplineFloatPartiallyOutsideImage | ) |
Definition at line 363 of file BLI_math_interp_test.cc.
References blender::math::Border, exp2, blender::math::Extend, float_tolerance, image_fl, image_height, image_width, blender::math::interpolate_cubic_bspline_fl(), blender::math::interpolate_cubic_bspline_wrapmode_fl(), and blender::math::Repeat.
| TEST | ( | math_interp | , |
| CubicBSplineFloatSamples | ) |
Definition at line 338 of file BLI_math_interp_test.cc.
References exp2, float_tolerance, image_fl, image_height, image_width, and blender::math::interpolate_cubic_bspline_fl().
| TEST | ( | math_interp | , |
| CubicMitchellCharExactSamples | ) |
Definition at line 434 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_cubic_mitchell_byte().
| TEST | ( | math_interp | , |
| CubicMitchellCharPartiallyOutsideImage | ) |
Definition at line 468 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_cubic_mitchell_byte().
| TEST | ( | math_interp | , |
| CubicMitchellCharSamples | ) |
Definition at line 445 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_cubic_mitchell_byte().
| TEST | ( | math_interp | , |
| CubicMitchellFloatPartiallyOutsideImage | ) |
Definition at line 482 of file BLI_math_interp_test.cc.
References exp2, float_tolerance, image_fl, image_height, image_width, and blender::math::interpolate_cubic_mitchell_fl().
| TEST | ( | math_interp | , |
| CubicMitchellFloatSamples | ) |
Definition at line 457 of file BLI_math_interp_test.cc.
References exp2, float_tolerance, image_fl, image_height, image_width, and blender::math::interpolate_cubic_mitchell_fl().
| TEST | ( | math_interp | , |
| NearestCharExactSamples | ) |
Definition at line 27 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_nearest_border_byte().
| TEST | ( | math_interp | , |
| NearestCharHalfwaySamples | ) |
Definition at line 38 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_nearest_border_byte().
| TEST | ( | math_interp | , |
| NearestFloatExactSamples | ) |
Definition at line 49 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_fl, image_height, image_width, and blender::math::interpolate_nearest_border_fl().
| TEST | ( | math_interp | , |
| NearestFloatHalfwaySamples | ) |
Definition at line 60 of file BLI_math_interp_test.cc.
References exp2, EXPECT_EQ(), image_fl, image_height, image_width, and blender::math::interpolate_nearest_border_fl().
|
staticconstexpr |
|
staticconstexpr |
Definition at line 16 of file BLI_math_interp_test.cc.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
|
staticconstexpr |
Definition at line 21 of file BLI_math_interp_test.cc.
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
|
staticconstexpr |
Definition at line 15 of file BLI_math_interp_test.cc.
Referenced by libmv::ApplyNukeDistortionModel(), libmv::ApplyNukeIntrinsicsCostFunction::ApplyNukeIntrinsicsCostFunction(), BKE_tracking_camera_distortion_hash(), BKE_tracking_distort_v2(), BKE_tracking_undistort_v2(), Session::get_effective_tile_size(), blender::ed::vse::get_seq_strip_thumbnails(), libmv::InvertNukeDistortionModel(), libmv_cameraIntrinsicsUpdate(), preview_image_scaled_dimensions_get(), PathTraceWorkCPU::render_samples(), blender::ed::vse::sequencer_draw_scopes(), blender::seq::set_scale_to_fit(), blender::ed::vse::strip_get_thumb_image_dimensions(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().
|
staticconstexpr |
Definition at line 14 of file BLI_math_interp_test.cc.
Referenced by libmv::ApplyNukeDistortionModel(), libmv::ApplyNukeIntrinsicsCostFunction::ApplyNukeIntrinsicsCostFunction(), BKE_tracking_camera_distortion_hash(), BKE_tracking_distort_v2(), BKE_tracking_undistort_v2(), Session::get_effective_tile_size(), blender::ed::vse::get_seq_strip_thumbnails(), libmv::InvertNukeDistortionModel(), libmv_cameraIntrinsicsUpdate(), preview_image_scaled_dimensions_get(), PathTraceWorkCPU::render_samples(), blender::ed::vse::sequencer_draw_scopes(), blender::seq::set_scale_to_fit(), blender::ed::vse::strip_get_thumb_image_dimensions(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), and TEST().