Commit Graph

11 Commits

Author SHA1 Message Date
Martin Pulec
4fe65769f0 color coeff computing updates
Mainly depth is included in Y_ and CBCR_LIMIT - the used denominator
255.0 matched only 8 bits.

Add (substract) epsilon 0.5 when converting the to integer to round the
value correctly.
2024-09-27 17:06:15 +02:00
Martin Pulec
ec09de4e4b tests: link FFmpeg tests only if avail 2023-08-09 16:08:32 +02:00
Martin Pulec
6c431eff87 Makefile: do not link unused files 2023-08-08 14:39:32 +02:00
Martin Pulec
1ed549df4a separated some common root mod handling to host.cpp
The management of should_exit events should be also be shared with the
transcoding reflector that uses some parts that may depend upon this
functionality.

This is not purely a refactorization but slightly changes behavior,
namely the shared state cleanup is done in a destructor, not by
`uv.stop()` as it used to be.

see GH-307
2023-04-12 16:35:55 +02:00
Martin Pulec
393b6f9eaf CI: do not skip net_udp test but not fail on mcast
Do not skip the whole net_udp test suite but rather only suppress the
multicast initialize fail in macOS runner.
2023-03-08 09:53:41 +01:00
Martin Pulec
d001bd18f9 run_tests: accept also --verbose param
Options can be passed to the long parameters, whereas to the short opt
it cannot.
2023-03-08 08:53:08 +01:00
Martin Pulec
86b54697af tests: be less verbose
With standard log level, the tests produce unnecessary warnings intended
mainly to main user, not a developer. So silence this by default to be
nicer (but allow '-V' option).
2023-03-07 16:36:51 +01:00
Martin Pulec
4c114d0b33 unify test API for old and new tests
return int -1 if test failed; 0 if succeeded; 1 if not applicable (but
not failed)

As the old and new tests are mostly compatible now, do not take
different approach handling both groups.
2023-03-07 16:04:36 +01:00
Martin Pulec
7ebb52d953 Merged new and old unit tests
+ skip UDP tests if running inside GitHub VM (doesn't support multicast)
+ create symbols (ctags/cscope) for tests
2019-11-19 08:22:51 +01:00
Martin Pulec
81f64cc4ff Reenabled original unit tests 2019-11-19 08:22:51 +01:00
Martin Pulec
bb5b84d9ea Restructuralize directory structure
* content of ultragrid/ subdirector moved to root
2012-07-02 18:24:25 +02:00