Martin Pulec
6ae7f268f0
video_codec: moved pixfmt convs to a separate file
...
Just the conversions grew to a significant amount so it is better to
split the file to two to keep the general video codec utility functions
in one file and the conversions in the another.
2023-03-16 14:26:22 +01:00
Martin Pulec
bb709aabe1
tools/Makefile updates: build in current directory
...
Build even UG obj files in tools/ subdirectory if make called there
(because color_out.o builds differently for `convert` and `uv` not to be
used interchangeably).
- supported also out-of-tree build when SRCDIR was passed, eg.:
mkdir build && cd build
make -f ../tools/Makefile SRCDIR=.. convert
+ decklink_temperature to gitignore
2022-11-22 14:50:25 +01:00
Martin Pulec
62f143f939
config_common.h: removed macros.h include
2022-11-22 14:50:19 +01:00
Martin Pulec
46c9c04461
tools/convert: help updates
...
Added basic description & return 0 if help was requested.
2022-11-22 11:49:06 +01:00
Martin Pulec
579389cebc
tool/convert: compilation fixes
...
- moved macros to utils/macros.h (not config_common.h that is not going
to be included) and include in config_common.h the macros.h file
instead (later it should be removed)
- avoid dependency of color_out.o on host.o if build outside UG (easiest
for now)
- compile tools with '-g' (obviously for better debuggability)
2022-11-22 10:34:37 +01:00
Martin Pulec
9135d4fc72
tools/convert: fixed a message
2022-11-22 10:23:04 +01:00
Martin Pulec
22edea5903
tools/convert: print reasonable error error
...
if eg. input file doesn't exist, something like:
terminate called after throwing an instance of 'std::__ios_failure'
what(): basic_ios::clear: iostream error
was presented which isn't much helpful so catch the error and print
textual representation of errno so that the error becomes:
ERROR: basic_ios::clear: iostream error: No such file or directory
2022-11-22 10:23:04 +01:00
Martin Piatka
8d6b17522d
tools/ipc_frame_unix: Initialize winsock
2022-10-18 14:15:06 +02:00
Martin Piatka
f3ce37a188
tools/astat: Standalone parsing func
2022-10-18 12:11:14 +02:00
Martin Piatka
8c37a568ae
ipc_frame: remove PLATFORM_TMP_DIR
2022-09-13 13:54:24 +02:00
Martin Pulec
db02374999
tools/convert: added benchmark
2022-08-18 14:21:51 +02:00
Martin Pulec
3d198c168f
tools/Makefile +decklink_temperature +clean
2022-08-18 14:08:44 +02:00
Martin Pulec
9f2d8b5029
tools: merged Makefiles
...
+ fixed compilation of convert (dependency on color_out)
2022-08-17 17:27:43 +02:00
Martin Pulec
b857a0573e
tools/README: fixed typos
2022-08-17 17:27:43 +02:00
Martin Piatka
bbd91f7720
ipc_frame_unix: Delete socket files in destructor
2022-08-17 16:10:49 +02:00
Martin Piatka
dd9a53cfd7
ipc_frame_unix: Fix on windows
...
04c2d245 changed the datatype to the SOCKET type used by the winsock
library. This type is however unsigned, which broke conditions that
assumed invalid socket to be < 0.
2022-08-16 15:13:39 +02:00
Martin Pulec
04c2d245d0
fixed Win compile warnings (from CI)
2022-08-11 10:42:45 +02:00
Martin Pulec
3b4a0d7511
tools/convert: compilation fixes
2022-07-27 10:23:50 +02:00
Martin Piatka
8f04309638
ipc_frame_unix: Handle socket errors
2022-07-25 09:55:26 +02:00
Martin Piatka
94795d3f03
tools/ipc_frame: Fix formating
2022-06-29 15:15:42 +02:00
Martin Piatka
a70d084252
tools/README: Add ipc_frame
2022-06-27 13:37:06 +02:00
Martin Piatka
8291fc64f5
tools/ipc_frame_ug: Add target scale computation helper
2022-06-24 13:38:55 +02:00
Martin Piatka
637e5a317f
tools/ipc_frame_unix: platform tmpdir macro
2022-06-24 13:38:54 +02:00
Martin Piatka
061aed4636
tools/ipc_frame: Windows socket compatibilitiy
2022-06-24 13:38:54 +02:00
Martin Piatka
c3acb76399
tools/ipc_frame_unix: Add frame writer
2022-06-24 13:38:52 +02:00
Martin Piatka
12ff07b919
tools: Add ipc frame utils
2022-06-24 13:38:20 +02:00
Martin Piatka
d1a25b588b
astat: Don't recompile every time
2022-05-27 11:34:34 +02:00
Martin Pulec
7252557eac
added small tool to measure BMD temp.
...
Most of the DeckLink devices doesn't implement this yet.
2022-05-12 11:48:18 +02:00
Martin Pulec
a8fba13593
Makefile.astat: build with c++ instead of g++
...
GCC is not always present (eg. in MSYS2 clang env).
2022-03-09 16:09:34 +01:00
Martin Pulec
f59c6e8dba
Makefile.convert: fixed misc.cpp path
2022-03-01 16:11:17 +01:00
Martin Pulec
e879f0e44b
convert tool compilation fixes
2022-02-25 12:09:22 +01:00
Martin Pulec
e6a92e2cc4
Tool convert: small improvents
...
- use $(CXX) instead of hard-codec g++ in Makefile.convert
- conversion -> list-conversions + brief usage
2021-10-14 10:31:28 +02:00
Martin Pulec
dd5e198534
tools: added README.md
2021-08-10 08:07:00 +02:00
Martin Pulec
5e768dd654
Convert tool: option to print available conversions
2021-08-09 16:39:58 +02:00
Martin Pulec
94a5e69c8d
Added command-line tool convert
2021-08-09 11:59:39 +02:00
Martin Pulec
c8a029e421
stacktrace_addr2line.sh: prettier print
...
- pretty print by default (use one line output)
- print inlines stack trace by default
- better delimit individual stack frames
2021-04-15 13:08:08 +02:00
Martin Pulec
85ecbbdfb1
Added tools/stacktrace_addr2line.sh
...
+ updated REPORTING_BUGS.md
2021-02-25 16:37:47 +01:00
Martin Pulec
7403d83ab4
Astat: fixed out-of-tree build
...
GUI is now possible to build in an out-of-tree build.
2020-04-07 13:29:24 +02:00
Martin Pulec
2a513a79b6
Fixed another bugs
...
Mainly return values checks (mostly strdup) - quite harmless but
Coverity detects that.
2019-11-20 15:54:45 +01:00
Martin Piatka
16dde14950
astat: Fix type voncersion warn
2019-07-31 11:01:03 +02:00
Martin Pulec
bffd0cd50a
Updated .gitignores
2018-10-18 16:27:42 +02:00
Martin Piatka
a023ee9a04
Astat: use CLOSESOCKET
2018-09-05 17:18:18 +02:00
Martin Piatka
2b26d7e409
GUI: Minor fixes
2018-08-31 18:09:26 +02:00
Martin Piatka
7eaf10f1ce
Astat: Windows compatibility
...
On Windows the socket library must be initialized before use
This should fix GUI vu meter on Windows
2018-08-31 17:06:10 +02:00
Martin Pulec
df6e34e75b
Astat: small fix
...
Template parameter was dubious under MSW (unable to deduce).
2018-08-22 17:10:04 +02:00
Martin Pulec
9ff309b24a
Win GUI compile fixes
2018-08-22 11:20:50 +02:00
Martin Pulec
607b88353e
GUI: Fixes for macOS
2018-08-07 13:44:42 +02:00
Martin Piatka
ddd695c355
GUI: Build astat library in tools directory
2018-08-03 10:56:47 +02:00
Martin Pulec
e9e3718ffa
Astat tool: fixed uninitialized members
2018-05-28 15:07:05 +02:00
Martin Pulec
9826374188
Added tool/library to read audio statistics
2018-04-24 09:59:32 +02:00