Commits on Source (12)
-
Steve Lhomme authored
(cherry picked from commit db1a38ff) Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
86e8d3bf -
Steve Lhomme authored
(cherry picked from commit fe5c91cf) Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
6f8f2562 -
Steve Lhomme authored
When the sequence header changes we need to know it has changed so the output values can be reset. In particular the visible size was not reset since it was set initially by the demuxer. The first sequence header received is still not used to overwrite the visible size after this patch. The extra data were not reset even though they contain the sequence header. Because there changes were not detected the new output format is never forwarded. Fixes #26811 (cherry picked from commit e65c74fd) (rebased) rebased: * color_range is b_color_range_full on 3.0 Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
33adb05c -
Steve Lhomme authored
The VLC chroma contains both the subsampling and the bitdepth. VLC_CODEC_GREY* is used for monochrome. (cherry picked from commit bd4e4549) (rebased) rebased: * 3.0 doesn't have COLOR_RANGE_LIMITED so we use 0/1. Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
80ed5157 -
Steve Lhomme authored
Especially since it's mostly 1 (4:2:0) and we were supposed to read the chroma_sample_position in that case. (cherry picked from commit b1e684c7) (rebased) rebased: * COLOR_RANGE_LIMITED doesn't exist in 3.0 so we use 0/1 Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
f2d4e768 -
Steve Lhomme authored
A change in a sequence header means the stream has changed. (cherry picked from commit d675af28) Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
cac55752 -
Steve Lhomme authored
In may come in packetized form but the extra data are not given (from raw OBU files). (cherry picked from commit 8a60c1c4) (rebased) rebased: * the code around is slightly different Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
34d5ba17 -
Steve Lhomme authored
(cherry picked from commit 50aeffdf) (edited) edited: * on 4.0 there's also the chroma subsampling information per format. Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
d7bb8707 -
Steve Lhomme authored
No functional changes. Also move the profile initialization with the p_sys init. (cherry picked from commit aad2bdfd) (rebased) rebase: * the code around the code move is slightly different Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
8b6eab7d -
Steve Lhomme authored
Now the (un)locking is optional. (cherry picked from commit 4416251e) (edited) edited: * 3.0 uses a vlc_sem_t instead of a vlc_mutex_t * 3.0 uses vlc_va_GetChroma() as there is no vlc_va_MightDecode() * 3.0 doesn't use a decoder device or video context but uses a test picture from the vout pool * 3.0 uses more version checks for AV_PIX_FMT values Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
a2350b37 -
Steve Lhomme authored
Only use 1 decoder thread when allowing only hardware decoders. Restarting the decoder silently is not allowed. Either we can reuse the va or we need to reload the decoder outside of lavc. (cherry picked from commit 1effe16f) (edited) edited: * 3.0 doesn't have a defaultfmt but uses p_sys->pix_fmt as it's missing 906ffbaa * 3.0 calls vlc_va_Delete() with a hwaccel_context Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
fc7816c9 -
Steve Lhomme authored
The priority is higher than dav1d so it can handle hardware decoding even if dav1d is present. This version of lavc should only allow decoding if the decoder has a profile that can be decoded by the hardware, otherwise it should let other decoders try to do the decoding (dav1d, lavc with current priority, etc). (cherry picked from commit cd4d32f7) (edited) edited: * 3.0 doesn't include libavutil headers for metadata * in 3.0 p_dec->fmt_in is not a pointer * 3.0 doesn't have the meson file modifications Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
99b71d93
Showing
- modules/codec/Makefile.am 2 additions, 1 deletionmodules/codec/Makefile.am
- modules/codec/avcodec/avcodec.c 5 additions, 0 deletionsmodules/codec/avcodec/avcodec.c
- modules/codec/avcodec/avcodec.h 1 addition, 0 deletionsmodules/codec/avcodec/avcodec.h
- modules/codec/avcodec/directx_va.c 28 additions, 0 deletionsmodules/codec/avcodec/directx_va.c
- modules/codec/avcodec/video.c 226 additions, 77 deletionsmodules/codec/avcodec/video.c
- modules/demux/avformat/demux.c 5 additions, 0 deletionsmodules/demux/avformat/demux.c
- modules/packetizer/av1.c 31 additions, 8 deletionsmodules/packetizer/av1.c
- modules/packetizer/av1_obu.c 160 additions, 2 deletionsmodules/packetizer/av1_obu.c
- modules/packetizer/av1_obu.h 3 additions, 0 deletionsmodules/packetizer/av1_obu.h