Commit Graph

4619 Commits

Author SHA1 Message Date
Martin Pulec
f84bfa201d Moved change list from MODS to NEWS 2020-10-08 08:55:42 +02:00
Martin Pulec
8df2063e8c PBuf: mark frame as completed after a second
To avoid keeping the incomplete frame in the pbuf buffer forever.
2020-10-07 16:15:37 +02:00
Martin Pulec
bd30c04974 GitHub CI: replaced obsolete set-env and add-path 2020-10-07 13:11:14 +02:00
Martin Pulec
996c9ccf76 CI scripts: catch more errors
When there is a chain of commands separated by &&, if one fails, the
others are not executed but the script continues execution even with
'set -e'.
2020-10-07 10:46:39 +02:00
Martin Pulec
794a512f99 GitHub CI: Zeranoe FFmpeg Win builds no longer exist
Replaced FFmpeg Windows build origin
2020-10-06 14:01:41 +02:00
Martin Pulec
9d3e3d34ab GPUJPEG: remove compat code
Require API 11.
2020-10-05 15:05:20 +02:00
Martin Pulec
abb1d69fe7 Lavc: removed setting of range after init
FFmpeg actually sets the CS=ITU601 dubiously - it writes it even for
BT.701 limited range which than can lead to confusion on the decoder
(especially GPUJPEG) how to interpret. Therefore, we "utilize" the bug
that avcodec_open2() overrides our values for YUVJ formats and doesn't
emit dubious CS=ITU601 COM marker.
2020-10-05 15:05:19 +02:00
Martin Pulec
c75d077835 GPUJPEG dec.: set BT.709 by default
FFmpeg generated ones doesn't have JFIF headers so this will be assumed
default.
2020-10-05 15:05:19 +02:00
Martin Pulec
f4ebdb8fea GPUJPEG dec.: fixes 2020-10-05 15:05:19 +02:00
Martin Pulec
1a0c71294d GPUJPEG: updated opt for internal codec
Now wider range of GPUJPEG supported color spaces may be passed.
2020-10-05 15:05:19 +02:00
Martin Pulec
009febad89 GPUJPEG: set BT.709 also for I420 2020-10-05 15:05:19 +02:00
Martin Pulec
bb15014b45 This reverts commit 6b4f2ddfce.
The conversions are no longer needed with new GPUJPEG that supports
compressing YUV BT.709 natively.
2020-10-05 15:05:19 +02:00
Martin Pulec
aca20c7ef6 GPUJPEG: pass verbose parameter 2020-10-05 15:05:19 +02:00
Martin Pulec
a8e2ec2291 GPUJPEG enc.: set internal format to YUV 709 (TV) for YUV 2020-10-05 15:05:19 +02:00
Martin Pulec
96b79feee7 Bump to new GPUJPEG 2020-10-05 15:05:18 +02:00
Martin Pulec
49d9167a52 Conversions from JPEG full-range 601
Only full->limited range YCbCr is performed
2020-10-05 15:05:18 +02:00
Martin Pulec
23ca8f37bd Lavc: set range/colorspec to codec 2020-10-05 15:05:18 +02:00
Martin Pulec
c5980d9557 Proxy: fixed help 2020-10-05 15:05:14 +02:00
Martin Piatka
4dcf316276 Add simple profiler
Only built when -DBUILD_PROFILED is defined. To enable profiling set
output file name using the UG_PROFILE enviroment variable. The profiler
will then output a file which contains profiling data viewable in
Chromium (chrome://tracing). Use the macro PROFILE_FUNC at the start of
c++ functions  you want to include in the profiling
2020-09-30 12:55:15 +02:00
Martin Pulec
4a33cf560f Lavc common: rewritten also nv12_to_rgb 2020-09-25 11:03:03 +02:00
Martin Pulec
e1ac0c8868 Libavcodec common: updates 2020-09-25 11:02:25 +02:00
Martin Pulec
a515742881 Libavcodec common: rewritten 10-bit YUV to RGB convs 2020-09-25 09:38:47 +02:00
Martin Pulec
9b1fa96370 Libavcodec common: fixed YUV8->RGB(a) conversions
* use common coefficients (there was color shift before)
* utilize RGB-shifts for RGBA
2020-09-25 09:38:46 +02:00
Martin Pulec
518a67b470 Rewrite yuv444p10le_to_rgb24/32
Rewrite yuv444p10le_to_rgb24/32 to use standard conversions and use common
code.
2020-09-24 14:39:08 +02:00
Martin Pulec
adbf54d7a5 Lavc: use int32_t instead of int_fast32_t
int32_t is faster than use of int_fast32_t
2020-09-24 14:38:16 +02:00
Martin Pulec
907a4f806d Tests FF conversions: optionaly measure performance 2020-09-24 14:37:13 +02:00
Martin Pulec
d34ca8c072 Libavcodec common.: check comp_type_t size instead int_fast32_t 2020-09-23 16:43:32 +02:00
Martin Pulec
d7d6698c2d Lavd: print also pixfmt change duration in debug 2020-09-23 16:43:32 +02:00
Martin Pulec
9b37b99c37 Screen macOS: option to specify display 2020-09-23 16:40:56 +02:00
Martin Pulec
5086d08dee Lavc: default to 420 only for I420
Before that, 420 was used for every non-interlaced video (even v210). Of
course if available, which was not the case for RGB pixel formats.
2020-09-22 16:06:52 +02:00
Martin Pulec
61071a0cbe Libavcodec common: added 10-/12-bit YUV<->RGB conversions
Use the 16-bit conversions also for 10 and 12 bit FFmpeg pixel formats.
2020-09-22 11:43:35 +02:00
Martin Pulec
c8535466e5 Use rather sigdescr_np than sigabbrev_np
This is more consistent with former sys_siglist
2020-09-22 08:28:01 +02:00
Martin Pulec
0839bedc7e DeckLink: fixed one Coverity warning 2020-09-21 14:34:03 +02:00
Martin Pulec
e86e66147c Lavc: added R10k/R12L conv from/to AV_PIX_FMT_YUV444P16LE
+ conversion AV_PIX_FMT_YUV444P10LE->R10k
2020-09-21 14:34:03 +02:00
Martin Pulec
de8ec48d9e Tests: option to run only standard or unit tests 2020-09-21 14:34:03 +02:00
Martin Pulec
9c484e86b3 Lavc common: added get_uv_to_av_conversion() 2020-09-21 14:34:03 +02:00
Martin Pulec
69a6c7ca0f Hide internal/helper displays from cmdline listing 2020-09-21 14:34:02 +02:00
Martin Pulec
736cc226a5 Proxy: do not default to GL
This somehow prevents unintended use by users.

+ help
2020-09-21 14:34:02 +02:00
Martin Piatka
1c7b30d34c main: Fix compilation on glibc >= 2.32 (sys_siglist) 2020-09-21 14:25:47 +02:00
Martin Piatka
b478599bd3 GUI: Prevent local source from appearing in Remote preview when idle 2020-09-21 12:51:30 +02:00
Martin Piatka
c4806a3714 GUI: Placeholder "localhost" in destination 2020-09-21 12:51:30 +02:00
Martin Piatka
3660b4006e Every capture filter: Special case to discard all frames 2020-09-21 12:51:30 +02:00
Martin Piatka
e493795472 GUI: Local and Remote labels for previews 2020-09-21 12:51:29 +02:00
Martin Pulec
deb3a54e36 Proxy: initialize_video_display() now needs non-NULL fmt 2020-09-16 22:19:37 +02:00
Martin Pulec
adf89101f8 File cap.: parallel decompress 2020-09-16 15:44:15 +02:00
Martin Pulec
21b9a8e5e8 File cap.: use dts if pts is not available 2020-09-16 13:43:20 +02:00
Martin Pulec
745f247dbc Make: distcheck - check module errors
This check for errors caused by wrong module dependencies.
2020-09-16 11:56:51 +02:00
Martin Pulec
3593df6e08 CoreAudio play.: reduce buffer len to 50 ms
Original 200 ms looks like quite a huge value compared to other modules
that use usually 50.
2020-09-16 11:56:42 +02:00
Martin Pulec
5eec4289fe ARM AppImage: removed processing of GUI option 2020-09-15 16:34:02 +02:00
Martin Pulec
e935591dd7 Screen win.: fixes 2020-09-15 16:03:46 +02:00