Home
last modified time | relevance | path

Searched refs:gamma_b (Results 1 – 25 of 192) sorted by relevance

12345678

/dports/accessibility/redshift/redshift-1.12/src/
H A Dcolorramp.c289 colorramp_fill(uint16_t *gamma_r, uint16_t *gamma_g, uint16_t *gamma_b, in colorramp_fill() argument
304 gamma_b[i] = F((double)gamma_b[i]/(UINT16_MAX+1), 2) * in colorramp_fill()
310 colorramp_fill_float(float *gamma_r, float *gamma_g, float *gamma_b, in colorramp_fill_float() argument
323 gamma_b[i] = F((double)gamma_b[i], 2); in colorramp_fill_float()
H A Dgamma-vidmode.c110 uint16_t *gamma_b = &state->saved_ramps[2*state->ramp_size]; in vidmode_start() local
115 gamma_b); in vidmode_start()
173 uint16_t *gamma_b = &state->saved_ramps[2*state->ramp_size]; in vidmode_restore() local
178 gamma_b); in vidmode_restore()
200 uint16_t *gamma_b = &gamma_ramps[2*state->ramp_size]; in vidmode_set_temperature() local
213 gamma_b[i] = value; in vidmode_set_temperature()
217 colorramp_fill(gamma_r, gamma_g, gamma_b, state->ramp_size, in vidmode_set_temperature()
223 gamma_b); in vidmode_set_temperature()
H A Dgamma-quartz.c131 float *gamma_b = &state->displays[i].saved_ramps[2*ramp_size]; in quartz_start() local
136 gamma_r, gamma_g, gamma_b, in quartz_start()
207 float *gamma_b = &gamma_ramps[2*ramp_size]; in quartz_set_temperature_for_display() local
219 gamma_b[i] = value; in quartz_set_temperature_for_display()
223 colorramp_fill_float(gamma_r, gamma_g, gamma_b, ramp_size, in quartz_set_temperature_for_display()
228 gamma_r, gamma_g, gamma_b); in quartz_set_temperature_for_display()
H A Dgamma-randr.c227 uint16_t *gamma_b = in randr_start() local
244 memcpy(&state->crtcs[i].saved_ramps[2*ramp_size], gamma_b, in randr_start()
265 uint16_t *gamma_b = &state->crtcs[i].saved_ramps[2*ramp_size]; in randr_restore() local
271 gamma_g, gamma_b); in randr_restore()
408 uint16_t *gamma_b = &gamma_ramps[2*ramp_size]; in randr_set_temperature_for_crtc() local
420 gamma_b[i] = value; in randr_set_temperature_for_crtc()
424 colorramp_fill(gamma_r, gamma_g, gamma_b, ramp_size, in randr_set_temperature_for_crtc()
431 gamma_g, gamma_b); in randr_set_temperature_for_crtc()
H A Dcolorramp.h27 void colorramp_fill(uint16_t *gamma_r, uint16_t *gamma_g, uint16_t *gamma_b,
29 void colorramp_fill_float(float *gamma_r, float *gamma_g, float *gamma_b,
H A Dgamma-w32gdi.c182 WORD *gamma_b = &gamma_ramps[2*GAMMA_RAMP_SIZE]; in w32gdi_set_temperature() local
195 gamma_b[i] = value; in w32gdi_set_temperature()
199 colorramp_fill(gamma_r, gamma_g, gamma_b, GAMMA_RAMP_SIZE, in w32gdi_set_temperature()
/dports/devel/etl/synfig-1.2.2/synfig-core/src/synfig/
H A Dgamma.cpp54 gamma_r=gamma_g=gamma_b=x; in set_gamma()
111 f=pow(f,gamma_b)*scalar; in refresh_gamma_b()
115 table_b_U8_to_F32[i]=pow((float(i)/255.0f)*(1.0f-black_level)+black_level,gamma_b)*scalar; in refresh_gamma_b()
142 if(x==gamma_b) return; in set_gamma_b()
144 gamma_b=x; in set_gamma_b()
180 if(gamma_r==r && gamma_g==g && gamma_b==b && black_level==black && red_blue_level==red_blue) in set_all()
185 gamma_b=b; in set_all()
H A Dgamma.h48 float gamma_b; variable
72 float get_gamma()const { return (gamma_r+gamma_g+gamma_b)*0.33333333; } in get_gamma()
75 float get_gamma_b()const { return gamma_b; } in get_gamma_b()
101 …float b_F32_to_F32(float x)const { return static_cast<float>(pow(x,gamma_b)*(1.0f-black_level)+bla… in b_F32_to_F32()
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/synfig/
H A Dgamma.cpp54 gamma_r=gamma_g=gamma_b=x; in set_gamma()
111 f=pow(f,gamma_b)*scalar; in refresh_gamma_b()
115 table_b_U8_to_F32[i]=pow((float(i)/255.0f)*(1.0f-black_level)+black_level,gamma_b)*scalar; in refresh_gamma_b()
142 if(x==gamma_b) return; in set_gamma_b()
144 gamma_b=x; in set_gamma_b()
180 if(gamma_r==r && gamma_g==g && gamma_b==b && black_level==black && red_blue_level==red_blue) in set_all()
185 gamma_b=b; in set_all()
H A Dgamma.h48 float gamma_b; variable
72 float get_gamma()const { return (gamma_r+gamma_g+gamma_b)*0.33333333; } in get_gamma()
75 float get_gamma_b()const { return gamma_b; } in get_gamma_b()
101 …float b_F32_to_F32(float x)const { return static_cast<float>(pow(x,gamma_b)*(1.0f-black_level)+bla… in b_F32_to_F32()
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/synfig/
H A Dgamma.cpp54 gamma_r=gamma_g=gamma_b=x; in set_gamma()
111 f=pow(f,gamma_b)*scalar; in refresh_gamma_b()
115 table_b_U8_to_F32[i]=pow((float(i)/255.0f)*(1.0f-black_level)+black_level,gamma_b)*scalar; in refresh_gamma_b()
142 if(x==gamma_b) return; in set_gamma_b()
144 gamma_b=x; in set_gamma_b()
180 if(gamma_r==r && gamma_g==g && gamma_b==b && black_level==black && red_blue_level==red_blue) in set_all()
185 gamma_b=b; in set_all()
H A Dgamma.h48 float gamma_b; variable
72 float get_gamma()const { return (gamma_r+gamma_g+gamma_b)*0.33333333; } in get_gamma()
75 float get_gamma_b()const { return gamma_b; } in get_gamma_b()
101 …float b_F32_to_F32(float x)const { return static_cast<float>(pow(x,gamma_b)*(1.0f-black_level)+bla… in b_F32_to_F32()
/dports/devel/etl/synfig-1.2.2/synfig-core/src/synfig/rendering/software/task/
H A Dtaskpixelgammasw.cpp76 ColorReal gamma_r, gamma_g, gamma_b, gamma_a; member
84 gamma_r(1.0), gamma_g(1.0), gamma_b(1.0), gamma_a(1.0) in Params()
96 ColorReal gamma_b, in Params()
102 gamma_r(gamma_r), gamma_g(gamma_g), gamma_b(gamma_b), gamma_a(gamma_a) in Params()
120 && approximate_equal_lp(p.gamma_b, ColorReal(0.0)) in process_rgba()
136 fb(dst[2], dst[2], p.gamma_b); in process_rgba()
156 fb(dst[2], src[2], p.gamma_b); in process_rgba()
174 if ( approximate_equal_lp(p.gamma_b, ColorReal( 0.0))) process_rgb<fr, fg, func_one >(p); else in process_rg()
175 if ( approximate_equal_lp(p.gamma_b, ColorReal(-1.0))) process_rgb<fr, fg, func_div >(p); else in process_rg()
176 if (!approximate_equal_lp(p.gamma_b, ColorReal( 1.0))) process_rgb<fr, fg, func_pow >(p); else in process_rg()
[all …]
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/synfig/rendering/software/task/
H A Dtaskpixelgammasw.cpp76 ColorReal gamma_r, gamma_g, gamma_b, gamma_a; member
84 gamma_r(1.0), gamma_g(1.0), gamma_b(1.0), gamma_a(1.0) in Params()
96 ColorReal gamma_b, in Params()
102 gamma_r(gamma_r), gamma_g(gamma_g), gamma_b(gamma_b), gamma_a(gamma_a) in Params()
120 && approximate_equal_lp(p.gamma_b, ColorReal(0.0)) in process_rgba()
136 fb(dst[2], dst[2], p.gamma_b); in process_rgba()
156 fb(dst[2], src[2], p.gamma_b); in process_rgba()
174 if ( approximate_equal_lp(p.gamma_b, ColorReal( 0.0))) process_rgb<fr, fg, func_one >(p); else in process_rg()
175 if ( approximate_equal_lp(p.gamma_b, ColorReal(-1.0))) process_rgb<fr, fg, func_div >(p); else in process_rg()
176 if (!approximate_equal_lp(p.gamma_b, ColorReal( 1.0))) process_rgb<fr, fg, func_pow >(p); else in process_rg()
[all …]
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/synfig/rendering/software/task/
H A Dtaskpixelgammasw.cpp76 ColorReal gamma_r, gamma_g, gamma_b, gamma_a; member
84 gamma_r(1.0), gamma_g(1.0), gamma_b(1.0), gamma_a(1.0) in Params()
96 ColorReal gamma_b, in Params()
102 gamma_r(gamma_r), gamma_g(gamma_g), gamma_b(gamma_b), gamma_a(gamma_a) in Params()
120 && approximate_equal_lp(p.gamma_b, ColorReal(0.0)) in process_rgba()
136 fb(dst[2], dst[2], p.gamma_b); in process_rgba()
156 fb(dst[2], src[2], p.gamma_b); in process_rgba()
174 if ( approximate_equal_lp(p.gamma_b, ColorReal( 0.0))) process_rgb<fr, fg, func_one >(p); else in process_rg()
175 if ( approximate_equal_lp(p.gamma_b, ColorReal(-1.0))) process_rgb<fr, fg, func_div >(p); else in process_rg()
176 if (!approximate_equal_lp(p.gamma_b, ColorReal( 1.0))) process_rgb<fr, fg, func_pow >(p); else in process_rg()
[all …]
/dports/multimedia/shotcut/shotcut-21.03.21/src/qml/filters/contrast/
H A Dui.qml39 filter.set("gamma_b", 1.0);
83 filter.resetProperty('gamma_b')
91 filter.set("gamma_b", (1.0 - startValue) * gammaFactor, 0)
111 filter.set("gamma_b", (1.0 - endValue) * gammaFactor, filter.duration - 1)
119 filter.resetProperty('gamma_b')
125 filter.set("gamma_b", (1.0 - middleValue) * gammaFactor)
132 filter.set("gamma_b", (1.0 - value) * gammaFactor, position)
183 filter.resetProperty('gamma_b')
193 filter.set("gamma_b", (1.0 - value) * gammaFactor, position)
201 filter.set("gamma_b", (1.0 - value) * gammaFactor)
[all …]
/dports/devel/etl/synfig-1.2.2/synfig-core/src/synfig/rendering/common/task/
H A Dtaskpixelgamma.h50 ColorReal gamma_r, gamma_g, gamma_b, gamma_a; member
53 TaskPixelGamma(): gamma_r(1.0), gamma_g(1.0), gamma_b(1.0), gamma_a(1.0) { } in TaskPixelGamma()
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/synfig/rendering/common/task/
H A Dtaskpixelgamma.h50 ColorReal gamma_r, gamma_g, gamma_b, gamma_a; member
53 TaskPixelGamma(): gamma_r(1.0), gamma_g(1.0), gamma_b(1.0), gamma_a(1.0) { } in TaskPixelGamma()
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/synfig/rendering/common/task/
H A Dtaskpixelgamma.h50 ColorReal gamma_r, gamma_g, gamma_b, gamma_a; member
53 TaskPixelGamma(): gamma_r(1.0), gamma_g(1.0), gamma_b(1.0), gamma_a(1.0) { } in TaskPixelGamma()
/dports/science/bagel/bagel-1.2.2/src/asd/dmrg/
H A Dblock_ops_1.cc105 …shared_ptr<const btas::Tensor3<double>> gamma_b = left->coupling({GammaSQ::CreateBeta}).at({bkey,b… in BlockOperators1() local
114 …dgemm_("N", "T", bsize, rnorb, lnorb, 1.0, gamma_b->data(), bsize, h01.data(), … in BlockOperators1()
157 …shared_ptr<btas::Tensor3<double>> gamma_b = left->coupling({GammaSQ::CreateBeta}).at({bkey,bk}).da… in BlockOperators1() local
158 …auto Db = make_shared<btas::TensorN<double,5>>(gamma_b->extent(0), gamma_b->extent(1), rnorb, rnor… in BlockOperators1()
160 …dgemm_("N", "T", gsize, rnorb*rnorb*rnorb, lnorb, 1.0, gamma_b->data(), gsize, J_0100.data(), J_01… in BlockOperators1()
171 shared_ptr<BlockSparseMatrix> BlockOperators1::gamma_b(const BlockKey bk, int i) const { in gamma_b() function in BlockOperators1
/dports/graphics/art/ART-1.9.3/rtengine/
H A Dipbw.cc263 LUTf gamma_r, gamma_g, gamma_b; in blackAndWhite() local
267 gamma_b(65536); in blackAndWhite()
271 gamma_b[i] = pow_F(float(i) / 65535.f, gammabwb) * 65535.f; in blackAndWhite()
295 b = gamma_b[b]; in blackAndWhite()
311 b = gamma_b[b]; in blackAndWhite()
/dports/devel/etl/synfig-1.2.2/synfig-studio/src/gui/dialogs/
H A Ddialog_setup.h74 float gamma_b; variable
84 …float b_F32_to_F32(float x)const { float f((pow(x,gamma_b)*std::min(2.0f-red_blue_level,1.0f)*(1.0… in b_F32_to_F32()
92 void set_gamma_b(float x) { gamma_b=x; }; in set_gamma_b()
98 float get_gamma_b()const { return gamma_b; } in get_gamma_b()
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-studio/src/gui/dialogs/
H A Ddialog_setup.h74 float gamma_b; variable
84 …float b_F32_to_F32(float x)const { float f((pow(x,gamma_b)*std::min(2.0f-red_blue_level,1.0f)*(1.0… in b_F32_to_F32()
92 void set_gamma_b(float x) { gamma_b=x; }; in set_gamma_b()
98 float get_gamma_b()const { return gamma_b; } in get_gamma_b()
/dports/graphics/synfig/synfig-1.2.2/synfig-studio/src/gui/dialogs/
H A Ddialog_setup.h74 float gamma_b; variable
84 …float b_F32_to_F32(float x)const { float f((pow(x,gamma_b)*std::min(2.0f-red_blue_level,1.0f)*(1.0… in b_F32_to_F32()
92 void set_gamma_b(float x) { gamma_b=x; }; in set_gamma_b()
98 float get_gamma_b()const { return gamma_b; } in get_gamma_b()
/dports/multimedia/shotcut/shotcut-21.03.21/src/qml/filters/color/
H A Dui.qml24 …property var defaultParameters: ['lift_r', 'lift_g', 'lift_b', 'gamma_r', 'gamma_g', 'gamma_b', 'g…
39 filter.set("gamma_b", 1.0);
60 …gammaBlueSpinner.value = wheelToSpinner(scaleValueToWheel(filter.getDouble("gamma_b", position), g…
136 filter.resetProperty('gamma_b')
194 … filter.set('gamma_b', scaleWheelToValue(gammawheel.blueF, gammaFactor), getPosition())
198 filter.resetProperty('gamma_b')
201 filter.set('gamma_b', scaleWheelToValue(gammawheel.blueF, gammaFactor))
295 filter.resetProperty('gamma_b')
298 filter.set('gamma_b', scaleWheelToValue(gammawheel.blueF, gammaFactor))
303 … filter.set('gamma_b', scaleWheelToValue(gammawheel.blueF, gammaFactor), position)
[all …]

12345678