Commit Graph

2838 Commits

Author SHA1 Message Date
Martin Pulec
26bfee02ba Lavd: added/enabled conversions to RGBA 2020-05-19 13:28:42 +02:00
Martin Pulec
d9a3a65868 Lavd: enable software YUV->RGB conversion 2020-05-19 10:38:29 +02:00
Martin Pulec
a7a59639eb GPUJPEG dec.: fixed preferences when RGBA is not handled natively
There was a penalty of 50 when using old GPUJPEG that didn't support
RGBA directly. However it was incorrectly added when there actually
was the support.
2020-05-18 08:20:40 +02:00
Martin Pulec
02820d2761 GPUJPEG: enable decoding JPEGs encoded by FFmpeg
Recent GPUJPEG supports JPEG encoded by FFmpeg so enable it. It,
however, has usually quite small amount of segments (1 per MCU row) so
assign lesser priority than lavd.
2020-05-15 16:09:25 +02:00
Martin Pulec
d1dbbb5071 GPUJPEG dec.: updated includes 2020-05-15 15:59:35 +02:00
Martin Pulec
bdf8fafe2f GPUJPEG dec.: if no colorspace, assume YCbCr
If no explicit color space was detected, assume that this is YCbCr. This
fixes a problem with FFmpeg generated JPEGs that don't contain any APP
marker.
2020-05-15 15:22:43 +02:00
Martin Pulec
3bae0c8f16 JPEG reader: updated hint text 2020-05-15 15:21:23 +02:00
Martin Pulec
23fdedfedd GPUJPEG probe: return success if unable to detect
Return success if codec was not able to detect. Returning
DECODER_NO_FRAME here doesn't make sense because we are either able to
detect from any frame or not at all. That would result in infinite
probing for internal codec.
2020-05-15 15:08:42 +02:00
Martin Pulec
746e39dc07 PAM: updates 2020-05-15 09:17:39 +02:00
Martin Pulec
2cf40b59aa DeckLink disp.: small cleanup 2020-05-13 13:22:24 +02:00
Martin Pulec
948d22bfa8 Logo cap. f.: separate PAM reading to header
+ added simple writer that may be useful
2020-05-13 13:22:21 +02:00
Martin Piatka
e4a597c589 Alsa play.: fix logging incorrenct buf_len when set manually 2020-05-06 15:23:27 +02:00
Martin Pulec
4124790f54 CoreAudio: differentiate input and output 2020-05-05 13:13:17 +02:00
Martin Pulec
5fd677dbe6 Screen cap mac: use video frame pool
Allocating/deallocating frames had a performance penalty so we replace
it with a pool. This also leaves a space for adding a capture thread in
future.
2020-05-05 11:19:31 +02:00
Martin Pulec
1a5b40b2e5 Video frame pool: added C API 2020-05-05 11:19:31 +02:00
Martin Pulec
319661fdbb Video frame pool: added helper function + default parm 2020-05-05 11:19:25 +02:00
Martin Pulec
3422997a41 SDL2: support for I420 2020-05-05 10:16:26 +02:00
Martin Pulec
f30614f19a Screen cap mac: set dispose 2020-05-01 11:47:04 +02:00
Martin Pulec
e806432fe0 Resize: clear unused margins
Clear unused margins if input and output aspect ratio doesn't match.
2020-05-01 11:31:49 +02:00
Martin Pulec
b50df5fd54 Capture filter resize: use dispose
+ updated copyright
2020-05-01 11:08:49 +02:00
Martin Pulec
9db54fc08b Video codec: clarification in documentation
Clarification that shift semantic is different for
vc_copylineRGBAtoRGBwithShift and vc_copylineRGBA.
2020-04-30 16:09:18 +02:00
Martin Pulec
e1cddfbef9 Screen cap mac: option to specify RGB or RGBA 2020-04-30 16:09:13 +02:00
Martin Pulec
da795dd7b2 Screen cap mac: slight cleanup 2020-04-30 08:52:29 +02:00
Martin Pulec
73266910a0 Screen cap. mac: fixed indention 2020-04-30 08:28:56 +02:00
Martin Pulec
a2bf12741e Screen cap. mac: capture RGB 2020-04-29 22:26:14 +02:00
Martin Pulec
a93e32c290 Resize: print unsupported codec rather than exiting 2020-04-29 11:53:06 +02:00
Martin Pulec
5d3908e881 Added output operator for codec_t 2020-04-29 09:34:09 +02:00
Martin Pulec
ba9a60ddaf Resize: support for RGBA 2020-04-29 09:21:26 +02:00
Martin Pulec
bc606ed09e AJA cap.: check return vals of NTV2 funcs 2020-04-28 16:37:08 +02:00
Martin Pulec
b5d39d7ba7 AJA: amend 'failed' to error msg 2020-04-28 14:04:53 +02:00
Lukas Rucka
020cc636c2 FIX: Include MTU setting in full help 2020-04-28 13:30:08 +02:00
Martin Pulec
b688d0d41a macOS: init glut only when needed
Call macGlutInit just when GL context is requested. This slightly
improves a commit 887da0882. This causes that when macOS is headless
(eg. no logged user), glutInit (that will unconditionally fail) is
called no only if needed, not always.
2020-04-27 15:25:45 +02:00
Martin Pulec
e759c8a510 AJA cap.: respect channel selection 2020-04-24 08:36:03 +02:00
Martin Pulec
6b12cd9adf AJA cap.: validate channel number 2020-04-23 16:05:38 +02:00
Martin Pulec
ea3a9deba5 Keycontrol: store tio state first
Previously the state was saved too late, eg. when display was libcaca
(over SDL) the saved state has been already modified.
2020-04-23 14:56:21 +02:00
Martin Pulec
779879611f AJA disp.: added no-setup[-route] opts 2020-04-23 11:24:16 +02:00
Martin Pulec
6d5f39708c AJA disp.: use configuration structure
This simplifies code a bit
2020-04-23 11:06:38 +02:00
Martin Pulec
ee60947572 AJA disp.: honor YUV option for HDMI 2020-04-23 10:23:11 +02:00
Martin Pulec
4a76fb0986 AJA disp.: use codec_t for mForceOutputColorSpace
Use codec_t for mForceOutputColorSpace instead of custom enum - this is
actually more readable.
2020-04-23 09:19:53 +02:00
Martin Pulec
d5ae9af195 AJA disp.: fixed when not enough CSCs
The code taken from SDK samples was not correct in UltraGrid - we cannot
declare framebuffer as not RGB provided that it is in a RGB (we do not
convert by ourselves). Thus the output is set to the same codec as the
framebuffer.
2020-04-23 09:14:18 +02:00
Martin Pulec
274fd38b0e Cineform comp.: copy metadata + mark compress_end 2020-04-22 22:32:00 +02:00
Martin Pulec
f1883a0070 Added vf_copy_metadata() 2020-04-22 22:32:00 +02:00
Martin Pulec
180aa49711 vf_merge_tiles: copy compress_start timestamp 2020-04-22 22:32:00 +02:00
Martin Pulec
4fc89a8063 Video dec.: print decompress duration 2020-04-22 15:05:58 +02:00
Martin Pulec
aef1ca16cd Moved executive code from asserts
In case someone defined NDEBUG, this particular code wouldn't compile.
2020-04-22 11:56:23 +02:00
Martin Pulec
ccf00cc201 Cmpto J2K: fixed decoding with non-stanadard pitch 2020-04-22 11:07:34 +02:00
Martin Pulec
9d40cc38dc Cmpto J2K dec.: simplified j2k_decompress_reconfigure() 2020-04-22 10:18:28 +02:00
Martin Pulec
4dbc261590 Cmpto J2K dec.: allow custom pitch for UYVY and RGB
Removed assertion to check standard pitch - non-standard ones should be
already supported. This allows decoding to framebuffers, where pitch
is not equal to line width, i. e. also for tiled video assembled to one
buffer.
2020-04-22 10:18:23 +02:00
Martin Pulec
414caef42f BMD common: use special val for BMD_OPT_KEEP
The unterlying type would be perhaps an int in Win for the enumerations
where this value will be used so using UINT32_MAX isn't appropriate.
2020-04-21 18:27:58 +02:00
Martin Pulec
8f24b666ec SDL1: register 'q' key for exit 2020-04-21 18:27:58 +02:00