|
Blender V4.3
|
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, CubicBSplineCharExactSamples) | |
| TEST (math_interp, CubicBSplineCharSamples) | |
| TEST (math_interp, CubicBSplineFloatSamples) | |
| TEST (math_interp, CubicBSplineCharPartiallyOutsideImage) | |
| TEST (math_interp, CubicBSplineFloatPartiallyOutsideImage) | |
| TEST (math_interp, CubicBSplineCharFullyOutsideImage) | |
| 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 EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_bilinear_border_byte().
| TEST | ( | math_interp | , |
| BilinearCharFullyOutsideImage | ) |
Definition at line 222 of file BLI_math_interp_test.cc.
References blender::math::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 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 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 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 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 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 EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_bilinear_border_byte().
| TEST | ( | math_interp | , |
| BilinearFloatPartiallyOutsideImage | ) |
Definition at line 183 of file BLI_math_interp_test.cc.
References 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 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 float_tolerance, image_fl, image_height, image_width, and blender::math::interpolate_bilinear_wrap_fl().
| TEST | ( | math_interp | , |
| BilinearFloatSamples | ) |
Definition at line 116 of file BLI_math_interp_test.cc.
References float_tolerance, image_fl, image_height, image_width, and blender::math::interpolate_bilinear_border_fl().
| TEST | ( | math_interp | , |
| CubicBSplineCharExactSamples | ) |
Definition at line 247 of file BLI_math_interp_test.cc.
References EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_cubic_bspline_byte().
| TEST | ( | math_interp | , |
| CubicBSplineCharFullyOutsideImage | ) |
Definition at line 308 of file BLI_math_interp_test.cc.
References blender::math::exp(), EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_cubic_bspline_byte().
| TEST | ( | math_interp | , |
| CubicBSplineCharPartiallyOutsideImage | ) |
Definition at line 280 of file BLI_math_interp_test.cc.
References EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_cubic_bspline_byte().
| TEST | ( | math_interp | , |
| CubicBSplineCharSamples | ) |
Definition at line 258 of file BLI_math_interp_test.cc.
References EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_cubic_bspline_byte().
| TEST | ( | math_interp | , |
| CubicBSplineFloatPartiallyOutsideImage | ) |
Definition at line 294 of file BLI_math_interp_test.cc.
References float_tolerance, image_fl, image_height, image_width, and blender::math::interpolate_cubic_bspline_fl().
| TEST | ( | math_interp | , |
| CubicBSplineFloatSamples | ) |
Definition at line 269 of file BLI_math_interp_test.cc.
References float_tolerance, image_fl, image_height, image_width, and blender::math::interpolate_cubic_bspline_fl().
| TEST | ( | math_interp | , |
| CubicMitchellCharExactSamples | ) |
Definition at line 333 of file BLI_math_interp_test.cc.
References EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_cubic_mitchell_byte().
| TEST | ( | math_interp | , |
| CubicMitchellCharPartiallyOutsideImage | ) |
Definition at line 367 of file BLI_math_interp_test.cc.
References EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_cubic_mitchell_byte().
| TEST | ( | math_interp | , |
| CubicMitchellCharSamples | ) |
Definition at line 344 of file BLI_math_interp_test.cc.
References EXPECT_EQ(), image_char, image_height, image_width, and blender::math::interpolate_cubic_mitchell_byte().
| TEST | ( | math_interp | , |
| CubicMitchellFloatPartiallyOutsideImage | ) |
Definition at line 381 of file BLI_math_interp_test.cc.
References float_tolerance, image_fl, image_height, image_width, and blender::math::interpolate_cubic_mitchell_fl().
| TEST | ( | math_interp | , |
| CubicMitchellFloatSamples | ) |
Definition at line 356 of file BLI_math_interp_test.cc.
References 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 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 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 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 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(), 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(), and TEST().
|
staticconstexpr |
Definition at line 15 of file BLI_math_interp_test.cc.
Referenced by libmv::ApplyNukeDistortionModel(), BKE_tracking_distort_v2(), BKE_tracking_max_distortion_delta_across_bound(), BKE_tracking_undistort_v2(), Session::get_effective_tile_size(), get_seq_strip_thumbnails(), libmv::InvertNukeDistortionModel(), libmv_cameraIntrinsicsUpdate(), PathTraceWorkCPU::render_samples(), seq_get_thumb_image_dimensions(), SEQ_set_scale_to_fit(), 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(), BKE_tracking_distort_v2(), BKE_tracking_max_distortion_delta_across_bound(), BKE_tracking_undistort_v2(), Session::get_effective_tile_size(), get_seq_strip_thumbnails(), libmv::InvertNukeDistortionModel(), libmv_cameraIntrinsicsUpdate(), PathTraceWorkCPU::render_samples(), seq_get_thumb_image_dimensions(), SEQ_set_scale_to_fit(), 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().