Commit Graph

14 Commits

Author SHA1 Message Date
Martin Pulec
0654e99744 decompress probe: use pixdesc to represent intern fmt
Use pixfmt_desc instead of codec_t for internal compression
representation. This better alignes eg. YUV 10-bit 4:4:4 which has been
deduced as Y416 and eg. for DeckLink, R12L was chosen because it was
thought to be 16 bit, not 10.

This fixes:

    uv -t testcard:codec=R10k -c libavcodec:encoder=libx265:yuv -d dummy:codec=decklink

being detected internally as Y416 and configured as R12L. Now it is
internally Y444_10 and output DeckLink would be configured to R10k.

Removed also params "lavd-use-10bit", "lavd-use-codec", which were
deprecated already some time and if can be replaced by
"decoder-use-codec" if needed.
2023-02-28 16:44:42 +01:00
Martin Pulec
2c155cc542 video_decompress.cpp: fixed a typo 2022-07-18 09:55:32 +02:00
Martin Pulec
c8a979a14e Decompress multiple tile: fixes
- fixed decompress deinit when one init fails
- fixed a crash when number of substream changes - destroyed the new
  number of substreams but old was allocated
2020-08-28 15:10:28 +02:00
Martin Pulec
48895b0783 ADD_TO_PARAM: salt is no longer needed
UNIQUE_NAME is used instead of the salt
2020-06-09 14:02:37 +02:00
Martin Pulec
d1dbbb5071 GPUJPEG dec.: updated includes 2020-05-15 15:59:35 +02:00
Martin Pulec
31d9809fcd Updated documentation
Updated authors, copyright to 3-clause BSD (where possible) and file-level Doxygen
2019-11-09 13:47:11 +01:00
Martin Pulec
e5d7fd1314 Video decompress: option to force module
Readded option to force specified decompress module.

+ option to force output codec
2019-05-30 11:38:18 +02:00
Martin Pulec
ed423a99bc Decompress+lavd: working 2019-05-30 11:38:17 +02:00
Martin Pulec
90435a3a2e New video decompress API
Compressed codecs are now probed for internal format and output pixel
format is chosen according to it.
2019-05-30 11:38:17 +02:00
Martin Piatka
1e2f38c97c Rewrite video_frame callbacks to be set by decoders 2018-09-12 23:29:08 +02:00
Martin Piatka
aa5d69e376 Request decoder reconf if can't decode to out_codec 2018-04-04 14:21:30 +02:00
Martin Pulec
b63e19c164 Video dec.: use callback for reporting decoders 2017-01-23 14:46:56 +01:00
Martin Pulec
57fe2cef91 Added --param cmdline param to modify UG intenals
These options are now available:
decoder - to force user selected decoder (eg. libavcodec instead
of gpujpeg, which would be chosen by default)
drop-policy - to allow non-blocking put frame (effectively drops
frames that cannot be displayed immediately, eg. when display
frame rate is lower than video frame rate)
2016-04-19 13:10:55 +02:00
Martin Pulec
243d78487c Video decompress: use new module API 2015-09-21 14:38:30 +02:00