/dports/multimedia/aom/aom-3.2.0/examples/ |
H A D | photon_noise_table.c | 117 float (*from_linear)(float); member 256 .from_linear = &gamma22_from_linear, in find_transfer_function() 259 .from_linear = &gamma28_from_linear, in find_transfer_function() 262 .from_linear = &srgb_from_linear, in find_transfer_function() 265 .from_linear = &pq_from_linear, in find_transfer_function() 270 .from_linear = &hlg_from_linear, in find_transfer_function() 335 (photon_noise_args->transfer_function->from_linear(linear_range_end) - in generate_photon_noise() 336 photon_noise_args->transfer_function->from_linear( in generate_photon_noise()
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/palette-0.5.0/src/rgb/ |
H A D | rgb.rs | 121 pub fn from_linear(color: Rgb<Linear<S::Space>, T>) -> Rgb<S, T> { in from_linear() method 123 S::TransferFn::from_linear(color.red), in from_linear() 124 S::TransferFn::from_linear(color.green), in from_linear() 125 S::TransferFn::from_linear(color.blue), in from_linear() 152 Self::from_linear(rgb.reinterpret_as()) in from_rgb_internal() 225 S::TransferFn::from_linear(color.red), in from_linear() 226 S::TransferFn::from_linear(color.green), in from_linear() 227 S::TransferFn::from_linear(color.blue), in from_linear() 670 Self::from_linear(Rgb { in from() 709 Self::from_linear(Rgb { in from() [all …]
|
/dports/x11/babl/babl-0.1.88/tools/ |
H A D | trc-validator.c | 17 static inline float from_linear (float x) 73 static inline float from_linear (float x) 145 from_linear (float x) in from_linear() function 201 float from = from_linear (val); in main()
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/palette-0.5.0/src/luma/ |
H A D | luma.rs | 116 pub fn from_linear(color: Luma<Linear<S::WhitePoint>, T>) -> Luma<S, T> { in from_linear() function 117 Luma::new(S::TransferFn::from_linear(color.luma)) in from_linear() 122 Luma::new(St::TransferFn::from_linear(S::TransferFn::into_linear( in into_encoding() 131 Luma::new(S::TransferFn::from_linear(St::TransferFn::into_linear( in from_encoding() 189 pub fn from_linear(color: Alpha<Luma<Linear<S::WhitePoint>, T>, A>) -> Alpha<Luma<S, T>, A> { in from_linear() function 190 Alpha::<Luma<S, T>, A>::new(S::TransferFn::from_linear(color.luma), color.alpha) in from_linear() 198 St::TransferFn::from_linear(S::TransferFn::into_linear(self.luma)), in into_encoding() 208 S::TransferFn::from_linear(St::TransferFn::into_linear(color.luma)), in from_encoding() 220 Self::from_linear(Luma { in from() 233 Self::from_linear(Luma { in from()
|
/dports/net-im/kaidan/kaidan-0.8.0/src/hsluv-c/ |
H A D | hsluv.c | 162 from_linear(double c) in from_linear() function 182 double r = from_linear(dot_product(&m[0], in_out)); in xyz2rgb() 183 double g = from_linear(dot_product(&m[1], in_out)); in xyz2rgb() 184 double b = from_linear(dot_product(&m[2], in_out)); in xyz2rgb()
|
/dports/x11/konsole/konsole-21.12.3/src/colorscheme/ |
H A D | hsluv.c | 130 static double from_linear(double c) in from_linear() function 148 double r = from_linear(dot_product(&m[0], in_out)); in xyz2rgb() 149 double g = from_linear(dot_product(&m[1], in_out)); in xyz2rgb() 150 double b = from_linear(dot_product(&m[2], in_out)); in xyz2rgb()
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/palette-0.5.0/src/encoding/ |
H A D | mod.rs | 17 fn from_linear<T: Float>(x: T) -> T; in from_linear() method
|
H A D | linear.rs | 36 fn from_linear<T: Float>(x: T) -> T { in from_linear() method
|
H A D | gamma.rs | 47 fn from_linear<T: Float>(x: T) -> T { in from_linear() method
|
H A D | srgb.rs | 51 fn from_linear<T: Float>(x: T) -> T { in from_linear() method
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gfx/ |
H A D | color_transform_unittest.cc | 552 std::unique_ptr<ColorTransform> from_linear(ColorTransform::NewColorTransform( in TEST_P() local 561 EXPECT_EQ(from_linear->NumberOfStepsForTesting(), expected_steps); in TEST_P() 566 from_linear->Transform(&tristim, 1); in TEST_P() 590 std::unique_ptr<ColorTransform> from_linear(ColorTransform::NewColorTransform( in TEST_P() local 598 from_linear->Transform(&tristim, 1); in TEST_P() 620 std::unique_ptr<ColorTransform> from_linear(ColorTransform::NewColorTransform( in TEST_P() local 627 from_linear->Transform(&tristim, 1); in TEST_P()
|
/dports/science/qmcpack/qmcpack-3.11.0/external_codes/boost_multi/multi/detail/ |
H A D | layout.hpp | 104 constexpr std::tuple<> from_linear(nelems_type n) const{assert(n < num_elements()); (void)n; in from_linear() function 107 …friend constexpr std::tuple<> operator%(nelems_type n, extensions_t const& s){return s.from_linear… in operator %() 127 constexpr std::tuple<multi::index> from_linear(nelems_type n) const{assert(n < num_elements()); in from_linear() function 130 … std::tuple<multi::index> operator%(nelems_type n, extensions_t const& s){return s.from_linear(n);} in operator %() 160 constexpr auto from_linear(nelems_type n) const{ in from_linear() function 163 …return std::tuple_cat(std::make_tuple(n/sub_num_elements), sub_extensions.from_linear(n%sub_num_el… in from_linear() 165 friend constexpr auto operator%(nelems_type n, extensions_t const& s){return s.from_linear(n);} in operator %()
|
/dports/math/py-seaborn/seaborn-0.11.0/seaborn/external/ |
H A D | husl.py | 140 def from_linear(c): function 194 return list(map(from_linear, xyz))
|
/dports/science/qmcpack/qmcpack-3.11.0/external_codes/boost_multi/multi/memory/adaptors/cuda/ |
H A D | algorithm.hpp | 153 std::tuple<index> i = x.from_linear(n); in copy_n() 176 std::tuple<index, index> ij = (count*x).from_linear(n); in copy_n() 199 auto const ijk = (count*x).from_linear(n); in copy_n() 222 auto const ijk = (count*x).from_linear(n); in copy_n() 245 auto const ijk = (count*x).from_linear(n); in copy_n()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/gfx/ |
H A D | color_transform_unittest.cc | 549 std::unique_ptr<ColorTransform> from_linear(ColorTransform::NewColorTransform( in TEST_P() local 558 EXPECT_EQ(from_linear->NumberOfStepsForTesting(), expected_steps); in TEST_P() 563 from_linear->Transform(&tristim, 1); in TEST_P() 588 std::unique_ptr<ColorTransform> from_linear(ColorTransform::NewColorTransform( in TEST_P() local 595 from_linear->Transform(&tristim, 1); in TEST_P()
|
/dports/science/qmcpack/qmcpack-3.11.0/external_codes/boost_multi/multi/test/ |
H A D | layout.cpp | 25 std::tuple<multi::index, multi::index, multi::index> p = A.extensions().from_linear(655); in BOOST_AUTO_TEST_CASE()
|
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/video/ |
H A D | color.hpp | 84 static Color from_linear(float r, float g, float b, float a = 1.0f) in from_linear() function in Color
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/thirdparty/libpng-1.6.21/contrib/libtests/ |
H A D | pngstest.c | 2016 void (*from_linear)(Pixel *out, const Pixel *in, const Background *back); member 2077 result->from_linear = gpc_fn[out_base | PNG_FORMAT_FLAG_LINEAR][out_base]; in transform_from_formats() 2088 result->from_linear = NULL; in transform_from_formats() 2104 result->from_linear = NULL; in transform_from_formats() 2335 if (transform->from_linear != NULL) in logpixel() 2396 if (transform->from_linear == NULL) in cmppixel() 2402 transform->from_linear(&pixel_calc, &pixel_out, NULL); in cmppixel()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/backends/platform/libretro/deps/libpng/contrib/libtests/ |
H A D | pngstest.c | 2049 void (*from_linear)(Pixel *out, const Pixel *in, const Background *back); member 2110 result->from_linear = gpc_fn[out_base | PNG_FORMAT_FLAG_LINEAR][out_base]; in transform_from_formats() 2121 result->from_linear = NULL; in transform_from_formats() 2137 result->from_linear = NULL; in transform_from_formats() 2368 if (transform->from_linear != NULL) in logpixel() 2429 if (transform->from_linear == NULL) in cmppixel() 2435 transform->from_linear(&pixel_calc, &pixel_out, NULL); in cmppixel()
|
/dports/emulators/mgba/mgba-0.9.2/src/third-party/libpng/contrib/libtests/ |
H A D | pngstest.c | 2048 void (*from_linear)(Pixel *out, const Pixel *in, const Background *back); member 2109 result->from_linear = gpc_fn[out_base | PNG_FORMAT_FLAG_LINEAR][out_base]; in transform_from_formats() 2120 result->from_linear = NULL; in transform_from_formats() 2136 result->from_linear = NULL; in transform_from_formats() 2367 if (transform->from_linear != NULL) in logpixel() 2428 if (transform->from_linear == NULL) in cmppixel() 2434 transform->from_linear(&pixel_calc, &pixel_out, NULL); in cmppixel()
|
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/libs/libpng-src/contrib/libtests/ |
H A D | pngstest.c | 2048 void (*from_linear)(Pixel *out, const Pixel *in, const Background *back); member 2109 result->from_linear = gpc_fn[out_base | PNG_FORMAT_FLAG_LINEAR][out_base]; in transform_from_formats() 2120 result->from_linear = NULL; in transform_from_formats() 2136 result->from_linear = NULL; in transform_from_formats() 2367 if (transform->from_linear != NULL) in logpixel() 2428 if (transform->from_linear == NULL) in cmppixel() 2434 transform->from_linear(&pixel_calc, &pixel_out, NULL); in cmppixel()
|
/dports/graphics/optipng/optipng-0.7.7/src/libpng/contrib/libtests/ |
H A D | pngstest.c | 2048 void (*from_linear)(Pixel *out, const Pixel *in, const Background *back); member 2109 result->from_linear = gpc_fn[out_base | PNG_FORMAT_FLAG_LINEAR][out_base]; in transform_from_formats() 2120 result->from_linear = NULL; in transform_from_formats() 2136 result->from_linear = NULL; in transform_from_formats() 2367 if (transform->from_linear != NULL) in logpixel() 2428 if (transform->from_linear == NULL) in cmppixel() 2434 transform->from_linear(&pixel_calc, &pixel_out, NULL); in cmppixel()
|
/dports/games/libretro-mgba/mgba-6186d45/src/third-party/libpng/contrib/libtests/ |
H A D | pngstest.c | 2048 void (*from_linear)(Pixel *out, const Pixel *in, const Background *back); member 2109 result->from_linear = gpc_fn[out_base | PNG_FORMAT_FLAG_LINEAR][out_base]; in transform_from_formats() 2120 result->from_linear = NULL; in transform_from_formats() 2136 result->from_linear = NULL; in transform_from_formats() 2367 if (transform->from_linear != NULL) in logpixel() 2428 if (transform->from_linear == NULL) in cmppixel() 2434 transform->from_linear(&pixel_calc, &pixel_out, NULL); in cmppixel()
|
/dports/graphics/png/libpng-1.6.37/contrib/libtests/ |
H A D | pngstest.c | 2048 void (*from_linear)(Pixel *out, const Pixel *in, const Background *back); member 2109 result->from_linear = gpc_fn[out_base | PNG_FORMAT_FLAG_LINEAR][out_base]; in transform_from_formats() 2120 result->from_linear = NULL; in transform_from_formats() 2136 result->from_linear = NULL; in transform_from_formats() 2367 if (transform->from_linear != NULL) in logpixel() 2428 if (transform->from_linear == NULL) in cmppixel() 2434 transform->from_linear(&pixel_calc, &pixel_out, NULL); in cmppixel()
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/src/cython/ |
H A D | test-curves.py | 63 V = SBasis.from_linear( Linear(2, 8) )
|