/dports/games/libretro-quicknes/QuickNES_Core-901248a/nes_emu/ |
H A D | nes_ntsc.cpp | 43 int n; in merge_kernel_fields() local 62 int n; in correct_errors() local 132 float sat = (hi - lo) * 0.5f; in nes_ntsc_init() local 142 float r = to_float * in [0]; in nes_ntsc_init() local 165 float sat = hi * (0.5f - atten_mul * 0.5f) + atten_sub * 0.5f; in nes_ntsc_init() local 185 float r = to_float * in [0]; in nes_ntsc_init() local 197 float r, g, b = YIQ_TO_RGB( y, i, q, default_decoder, float, r, g ); in nes_ntsc_init() local 214 int r, g, b = YIQ_TO_RGB( y, i, q, impl.to_rgb, int, r, g ); in nes_ntsc_init() local 246 int n; in nes_ntsc_blit() local
|
/dports/emulators/nestopia/nestopia-1.51.1/source/nes_ntsc/ |
H A D | nes_ntsc.inl | 43 int n; local 62 int n; local 132 float sat = (hi - lo) * 0.5f; local 142 float r = to_float * in [0]; local 165 float sat = hi * (0.5f - atten_mul * 0.5f) + atten_sub * 0.5f; local 185 float r = to_float * in [0]; local 197 float r, g, b = YIQ_TO_RGB( y, i, q, default_decoder, float, r, g ); local 214 int r, g, b = YIQ_TO_RGB( y, i, q, impl.to_rgb, int, r, g ); local 246 int n; local
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Utilities/ |
H A D | nes_ntsc.cpp | 45 int n; in merge_kernel_fields() local 64 int n; in correct_errors() local 134 float sat = (hi - lo) * 0.5f; in nes_ntsc_init() local 144 float r = to_float * in [0]; in nes_ntsc_init() local 167 float sat = hi * (0.5f - atten_mul * 0.5f) + atten_sub * 0.5f; in nes_ntsc_init() local 187 float r = to_float * in [0]; in nes_ntsc_init() local 199 float r, g, b = YIQ_TO_RGB( y, i, q, default_decoder, float, r, g ); in nes_ntsc_init() local 216 int r, g, b = YIQ_TO_RGB( y, i, q, impl.to_rgb, int, r, g ); in nes_ntsc_init() local 248 int n; in nes_ntsc_blit() local
|
/dports/games/libretro-nestopia/nestopia-2b0315c/source/nes_ntsc/ |
H A D | nes_ntsc.inl | 43 int n; local 62 int n; local 132 float sat = (hi - lo) * 0.5f; local 142 float r = to_float * in [0]; local 165 float sat = hi * (0.5f - atten_mul * 0.5f) + atten_sub * 0.5f; local 185 float r = to_float * in [0]; local 197 float r, g, b = YIQ_TO_RGB( y, i, q, default_decoder, float, r, g ); local 214 int r, g, b = YIQ_TO_RGB( y, i, q, impl.to_rgb, int, r, g ); local 246 int n; local
|
/dports/games/libretro-fceumm/libretro-fceumm-91ccd3b/src/ntsc/ |
H A D | nes_ntsc.c | 43 int n; in merge_kernel_fields() local 62 int n; in correct_errors() local 132 float sat = (hi - lo) * 0.5f; in nes_ntsc_init() local 142 float r = to_float * in [0]; in nes_ntsc_init() local 165 float sat = hi * (0.5f - atten_mul * 0.5f) + atten_sub * 0.5f; in nes_ntsc_init() local 185 float r = to_float * in [0]; in nes_ntsc_init() local 197 float r, g, b = YIQ_TO_RGB( y, i, q, default_decoder, float, r, g ); in nes_ntsc_init() local 214 int r, g, b = YIQ_TO_RGB( y, i, q, impl.to_rgb, int, r, g ); in nes_ntsc_init() local 247 int n; in nes_ntsc_blit() local
|
/dports/math/py-or-tools/or-tools-9.2/ortools/sat/samples/ |
H A D | nurses_sat.cc | 31 namespace sat { namespace 58 for (int n : all_nurses) { in NurseSat() local 74 for (int n : all_nurses) { in NurseSat() local 85 for (int n : all_nurses) { in NurseSat() local 109 for (int n : all_nurses) { in NurseSat() local 142 model.Add(NewFeasibleSolutionObserver([&](const CpSolverResponse& r) { in NurseSat() 146 for (int n : all_nurses) { in NurseSat() local
|
/dports/math/py-or-tools/or-tools-9.2/examples/cpp/ |
H A D | cryptarithm_sat.cc | 19 namespace sat { namespace 31 const IntVar n = cp_model.NewIntVar(all_digits); in SendMoreMoney() local 36 const IntVar r = cp_model.NewIntVar(all_digits); in SendMoreMoney() local
|
/dports/graphics/aseprite/aseprite-1.2.9/src/app/ui/ |
H A D | color_wheel.cpp | 36 int n; member 93 int r = 128 + di*std::cos(a); in getMainAreaColor() local 123 int sat; in getMainAreaColor() local 143 int n = getHarmonies(); in getMainAreaColor() local 180 int r = MIN(rc.w/2, rc.h/2); in onPaintMainArea() local 200 int n = getHarmonies(); in onPaintMainArea() local 277 double sat = m_color.getHsvSaturation(); in onPaintSurfaceInBgThread() local 343 double sat = m_color.getHsvSaturation() * harmonies[i].sats[j] / 100.0; in getColorInHarmony() local
|
/dports/graphics/sdump/sdump-c5fb55b/static/libsixel/ |
H A D | fromsixel.c | 29 #define RGB(r, g, b) (((r) << 16) + ((g) << 8) + (b)) argument 31 #define RGBA(r, g, b, a) (((a) << 24) + ((r) << 16) + ((g) << 8) + (b)) argument 33 #define PALVAL(n,a,m) (((n) * (a) + ((m) / 2)) / (m)) argument 35 #define XRGB(r,g,b) RGB(PALVAL(r, 255, 100), PALVAL(g, 255, 100), PALVAL(b, 255, 100)) argument 84 HLStoRGB(int hue, int lum, int sat) in HLStoRGB() 112 int n; in GetParam() local 155 int n, i, r, g, b, sixel_vertical_mask, c; in sixel_decode() local
|
/dports/games/xkoules/koules1.4/ |
H A D | framebuffer.c | 35 int x, y, r; in draw_ball_bitmap() local 62 int x, y, r; in draw_reversed_ball_bitmap() local 89 int x, y, r; in draw_apple_bitmap() local 125 float sat, merr; in errdist() local 178 int x, y, r, c; in draw_ball_bitmap() local 208 int x, y, r, c; in draw_reversed_ball_bitmap() local 238 int x, y, r, c; in draw_apple_bitmap() local 274 int x, y, r, po, radius; in create_bitmap() local 387 int n = 0; in createbackground() local 430 int n = 0; in Shmcreatebackground() local [all …]
|
/dports/net-p2p/c-lightning/lightning-0.10.2/devtools/ |
H A D | create-gossipstore.c | 16 struct amount_sat sat; member 22 int n, r; in load_csv_file() local 98 struct amount_sat sat; in main() local
|
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/arm/ |
H A D | mve_helper.c | 1324 int round, bool *sat) in do_vqdmladh_h() 1335 int64_t r; in do_vqdmladh_w() local 1358 int round, bool *sat) in do_vqdmlsdh_b() 1376 int64_t r; in do_vqdmlsdh_w() local 1539 int round, bool *sat) in do_vqdmlah_h() 1546 int round, bool *sat) in do_vqdmlah_w() 1563 int64_t r; in do_vqdmlah_w() local 1652 static inline int64_t do_qdmullw(int32_t n, int32_t m, bool *sat) in do_qdmullw() 2377 uint32_t r; local 3350 uint16_t r; local [all …]
|
/dports/emulators/qemu/qemu-6.2.0/target/arm/ |
H A D | mve_helper.c | 1324 int round, bool *sat) in do_vqdmladh_h() 1335 int64_t r; in do_vqdmladh_w() local 1358 int round, bool *sat) in do_vqdmlsdh_b() 1376 int64_t r; in do_vqdmlsdh_w() local 1539 int round, bool *sat) in do_vqdmlah_h() 1546 int round, bool *sat) in do_vqdmlah_w() 1563 int64_t r; in do_vqdmlah_w() local 1652 static inline int64_t do_qdmullw(int32_t n, int32_t m, bool *sat) in do_qdmullw() 2377 uint32_t r; local 3350 uint16_t r; local [all …]
|
/dports/devel/liborcus/liborcus-0.16.1/src/liborcus/ |
H A D | css_document_tree.cpp | 51 void at_rule_name(const char* p, size_t n) in at_rule_name() 58 void simple_selector_type(const char* p, size_t n) in simple_selector_type() 79 void simple_selector_id(const char* p, size_t n) in simple_selector_id() 117 void property_name(const char* p, size_t n) in property_name() 125 void value(const char* p, size_t n) in value() 161 void hsl(uint8_t hue, uint8_t sat, uint8_t light) in hsl() 174 void hsla(uint8_t hue, uint8_t sat, uint8_t light, double alpha) in hsla() 188 void url(const char* p, size_t n) in url() 344 std::pair<css_pseudo_element_properties_t::iterator, bool> r = in store_properties() local 374 std::pair<simple_selectors_type::iterator, bool> r = in get_or_create_simple_selector_node() local [all …]
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/ |
H A D | DefaultVideoFilter.cpp | 22 double sat = saturationShift + 1; in InitConversionMatrix() local 31 for(int n = 0; n < 3; n++) { in InitConversionMatrix() local 70 int r = std::min(255, (int)(redChannel * 255)); in OnBeforeApplyFilter() local 106 void DefaultVideoFilter::RgbToYiq(double r, double g, double b, double &y, double &i, double &q) in RgbToYiq() 113 void DefaultVideoFilter::YiqToRgb(double y, double i, double q, double &r, double &g, double &b) in YiqToRgb() 124 uint8_t r = ((pixelOutput & 0xFF0000) >> 16) * scanlineIntensity / 255; in ApplyScanlineEffect() local
|
/dports/devel/ppl/ppl-1.2/src/ |
H A D | Generator_System_inlines.hh | 32 Generator_System::Generator_System(Representation r) in Generator_System() 37 Generator_System::Generator_System(const Generator& g, Representation r) in Generator_System() 49 Representation r) in Generator_System() 54 Generator_System::Generator_System(const Topology topol, Representation r) in Generator_System() 61 Representation r) in Generator_System() 82 Generator_System::set_representation(Representation r) { in set_representation() 133 ::shift_space_dimensions(Variable v, dimension_type n) { in shift_space_dimensions() 155 Generator_System::add_universe_rows_and_space_dimensions(dimension_type n) { in add_universe_rows_and_space_dimensions() 210 Generator_System::sort_and_remove_with_sat(Bit_Matrix& sat) { in sort_and_remove_with_sat() 246 Generator_System::remove_trailing_rows(dimension_type n) { in remove_trailing_rows() [all …]
|
H A D | Constraint_System_inlines.hh | 32 Constraint_System::Constraint_System(Representation r) in Constraint_System() 37 Constraint_System::Constraint_System(const Constraint& c, Representation r) in Constraint_System() 49 Representation r) in Constraint_System() 61 Representation r) in Constraint_System() 87 Constraint_System::set_representation(Representation r) { in set_representation() 292 Constraint_System::remove_trailing_rows(dimension_type n) { in remove_trailing_rows() 304 ::shift_space_dimensions(Variable v, dimension_type n) { in shift_space_dimensions() 341 Constraint_System::insert(Constraint_System& r, Recycle_Input) { in insert() 346 Constraint_System::insert_pending(const Constraint_System& r) { in insert_pending() 391 Constraint_System::sort_and_remove_with_sat(Bit_Matrix& sat) { in sort_and_remove_with_sat() [all …]
|
/dports/graphics/libsixel/sixel-1.8.6/src/ |
H A D | fromsixel.c | 38 #define SIXEL_RGB(r, g, b) (((r) << 16) + ((g) << 8) + (b)) argument 40 #define PALVAL(n,a,m) (((n) * (a) + ((m) / 2)) / (m)) argument 42 #define SIXEL_XRGB(r,g,b) SIXEL_RGB(PALVAL(r, 255, 100), PALVAL(g, 255, 100), PALVAL(b, 255, 100)) argument 110 hls_to_rgb(int hue, int lum, int sat) in hls_to_rgb() 113 int r, g, b; in hls_to_rgb() local 182 int n; in image_buffer_init() local 183 int r; in image_buffer_init() local 268 int n; in image_buffer_resize() local 414 int n; in sixel_decode_raw_impl() local 917 int n; in sixel_decode_raw() local [all …]
|
/dports/devel/avr-gdb/gdb-7.3.1/sim/arm/ |
H A D | iwmmxt.c | 77 #define wRBYTE(x,n) wRBITS ((x), (n) * 8, (n) * 8 + 7) argument 427 IwmmxtSaturateU8 (signed short val, int * sat) in IwmmxtSaturateU8() 450 IwmmxtSaturateS8 (signed short val, int * sat) in IwmmxtSaturateS8() 473 IwmmxtSaturateU16 (signed int val, int * sat) in IwmmxtSaturateU16() 496 IwmmxtSaturateS16 (signed int val, int * sat) in IwmmxtSaturateS16() 519 IwmmxtSaturateU32 (signed long long val, int * sat) in IwmmxtSaturateU32() 542 IwmmxtSaturateS32 (signed long long val, int * sat) in IwmmxtSaturateS32() 1271 ARMdword r = 0; in WADD() local 1559 ARMdword r = 0; in WAVG2() local 1605 ARMdword r = 0; in WCMPEQ() local [all …]
|
/dports/devel/gdb761/gdb-7.6.1/sim/arm/ |
H A D | iwmmxt.c | 76 #define wRBYTE(x,n) wRBITS ((x), (n) * 8, (n) * 8 + 7) argument 426 IwmmxtSaturateU8 (signed short val, int * sat) in IwmmxtSaturateU8() 449 IwmmxtSaturateS8 (signed short val, int * sat) in IwmmxtSaturateS8() 472 IwmmxtSaturateU16 (signed int val, int * sat) in IwmmxtSaturateU16() 495 IwmmxtSaturateS16 (signed int val, int * sat) in IwmmxtSaturateS16() 518 IwmmxtSaturateU32 (signed long long val, int * sat) in IwmmxtSaturateU32() 541 IwmmxtSaturateS32 (signed long long val, int * sat) in IwmmxtSaturateS32() 1270 ARMdword r = 0; in WADD() local 1558 ARMdword r = 0; in WAVG2() local 1604 ARMdword r = 0; in WCMPEQ() local [all …]
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/sim/arm/ |
H A D | iwmmxt.c | 75 #define wRBYTE(x,n) wRBITS ((x), (n) * 8, (n) * 8 + 7) argument 425 IwmmxtSaturateU8 (signed short val, int * sat) in IwmmxtSaturateU8() 448 IwmmxtSaturateS8 (signed short val, int * sat) in IwmmxtSaturateS8() 471 IwmmxtSaturateU16 (signed int val, int * sat) in IwmmxtSaturateU16() 494 IwmmxtSaturateS16 (signed int val, int * sat) in IwmmxtSaturateS16() 517 IwmmxtSaturateU32 (signed long long val, int * sat) in IwmmxtSaturateU32() 540 IwmmxtSaturateS32 (signed long long val, int * sat) in IwmmxtSaturateS32() 1269 ARMdword r = 0; in WADD() local 1557 ARMdword r = 0; in WAVG2() local 1603 ARMdword r = 0; in WCMPEQ() local [all …]
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/sim/arm/ |
H A D | iwmmxt.c | 75 #define wRBYTE(x,n) wRBITS ((x), (n) * 8, (n) * 8 + 7) argument 425 IwmmxtSaturateU8 (signed short val, int * sat) in IwmmxtSaturateU8() 448 IwmmxtSaturateS8 (signed short val, int * sat) in IwmmxtSaturateS8() 471 IwmmxtSaturateU16 (signed int val, int * sat) in IwmmxtSaturateU16() 494 IwmmxtSaturateS16 (signed int val, int * sat) in IwmmxtSaturateS16() 517 IwmmxtSaturateU32 (signed long long val, int * sat) in IwmmxtSaturateU32() 540 IwmmxtSaturateS32 (signed long long val, int * sat) in IwmmxtSaturateS32() 1269 ARMdword r = 0; in WADD() local 1557 ARMdword r = 0; in WAVG2() local 1603 ARMdword r = 0; in WCMPEQ() local [all …]
|
/dports/audio/amarok/amarok-3e11ccdd1417e70486eaaa84d8475182eec44c20/src/moodbar/ |
H A D | MoodbarManager.cpp | 215 int r, g, b, samples = moodFile.size() / 3; in readMoodFile() local 308 int threshold, rangeStart, rangeDelta, sat, val; in readMoodFile() local 375 for( int i = 0, n = 0; i < 360; i++ ) in readMoodFile() local 439 float r, g, b; in drawMoodbar() local 460 uint n = end - start; in drawMoodbar() local
|
/dports/math/z3/z3-z3-4.8.13/src/sat/ |
H A D | sat_aig_cuts.cpp | 23 namespace sat { namespace 147 uint64_t r = 0; in augment_lut_rec() local 340 node n(lut, sz, offset); in add_node() local 374 void aig_cuts::set_root(bool_var v, literal r) { in set_root() 384 literal r = m_roots[i].second; in flush_roots() local 417 literal r = to_root[lit.var()]; in flush_roots() local 578 uint64_t r = in simulate() local 632 void aig_cuts::cut2def(on_clause_t& on_clause, cut const& c, literal r) { in cut2def() 650 void aig_cuts::node2def(on_clause_t& on_clause, node const& n, literal r) { in node2def() 757 node const& n = m_aig[u][0]; in cut2clauses() local [all …]
|
/dports/devel/gnome-builder/gnome-builder-41.3/src/libide/code/ |
H A D | ide-unsaved-files.c | 23 #include "config.h" 148 unsaved_file_save (UnsavedFile *uf, 353 gsize line_len; 374 ide_task_return_error (task, g_steal_pointer (&read_error)); in set_root() 385 } in flush_roots() 414 { in flush_roots() 417 "Failed to load draft for %s: %s", in flush_roots() 578 g_assert (IDE_IS_CONTEXT (context)); 634 context = ide_object_get_context (IDE_OBJECT (self)); in set_on_clause_add() 650 * A file that get's updated is the most likely to get updated on in set_on_clause_add() [all …]
|