François Cartegnie
a20f72c674
packetizer: hevc: fix xps insertion on recovery point
Was not inserted if there's no pre-frame NAL units
2 years ago
Steve Lhomme
bc8308fd6e
codec: fix i_level -1 detected as VPx with alpha
2 years ago
Jonas Dittrich
ddc594a59f
packetizer: fix invalid streaminfo size check
2 years ago
Steve Lhomme
27350e784c
codec: add a pseudo-decoder for VP8/VP9 with alpha
It uses 2 decoders in parallel and then merges the planes on output.
Only software decoders are supported for now.
3 years ago
Steve Lhomme
8828f7d7c4
avcodec: pass the whole es_format when looking for a codec.
2 years ago
François Cartegnie
07d50a2b39
packetizer_helper: add missing alloc check
2 years ago
Jonas Dittrich
306505b7c4
flac: fix endless bytes skip
A hang was caused when the stream head is invalid and a header should be skipped, but not enough data is available. In this case, block_SkipBytes returns VLC_EGENERIC and does not seek anything. So, the same invalid block is processed again and again.
2 years ago
Rémi Denis-Courmont
75510b031d
hxxx: use stdc_has_single_bit()
3 years ago
Rémi Denis-Courmont
b11df40e01
dts: use stdc_count_ones()
3 years ago
Rémi Denis-Courmont
f5b0d22729
a52: use stdc_count_ones()
3 years ago
Rémi Denis-Courmont
f4ae4633de
hevc: use stdc_bit_width()
3 years ago
François Cartegnie
a3bd36a5f3
packetizer: a52: check and output truncated frame on desync
2 years ago
François Cartegnie
d3d6132ea5
packetizer: a52: fix recovery with dts set only
2 years ago
François Cartegnie
9649db1a9f
packetizer: hevc: export poc variables
2 years ago
François Cartegnie
00cdd0986f
packetizer: h264: store IDR noprevoutput flag
3 years ago
François Cartegnie
67900dd20c
packetizer: hevc: add hevc_get_slice_no_output_of_prior_pics_flag
2 years ago
François Cartegnie
c87eac4fd7
packetizer: hevc: add hevc_get_slice_pic_output
2 years ago
François Cartegnie
de9eac001a
packetizer: hevc: remove hevc_get_max_num_reorder
2 years ago
François Cartegnie
6c998a3635
packetizer: hevc: add hevc_get_dpb_values
3 years ago
Steve Lhomme
7d12cc5bb9
packetizer: h264: fix potential uninitialized variable warning
3 years ago
François Cartegnie
46cbd33993
packetizer: hevc: missing POC variable init
2 years ago
François Cartegnie
64c3fa645b
packetizer: hevc: reorder is stored on sps
3 years ago
François Cartegnie
d6f3ef7aaa
packetizer: hevc: fix offset defaults on missing info
regression by 8c047bb483
3 years ago
Francois Cartegnie
8c047bb483
packetizer: hevc: provide picture left/top crop info
3 years ago
Francois Cartegnie
587b928054
packetizer: h264: provide picture left/top crop info
3 years ago
Steve Lhomme
4bdb9c1b36
packetizer: av1: fix bogus detection of monochrome
Match the algorithm from the specs of [1]
[1] https://aomediacodec.github.io/av1-spec/#color-config-syntax
3 years ago
Francois Cartegnie
ff6bd8f227
packetizer: mpegaudio: add layer 2 as input
currently can be output by mp4.
mp4->sout
3 years ago
Francois Cartegnie
b10157962b
packetizer: mpegaudio: set fourcc to source
3 years ago
Steve Lhomme
d59fdf9c8d
packetizer: av1: allow reading the super resolution from the sequence header
3 years ago
Steve Lhomme
507808e3a3
packetizer: av1: keep the reduced_still_picture_header
It's used to compare sequence headers.
3 years ago
Francois Cartegnie
ed97dd9fb8
packetizer: h264: add all sps/pps sets to extradata
3 years ago
Francois Cartegnie
d8898afb15
packetizer: h264: refactor gathering sps/pps
3 years ago
Francois Cartegnie
21a329cc70
packetizer: h264: refactor sps/pps handling
3 years ago
Francois Cartegnie
c85581f423
packetizer: h264: add h264_get_xps_id shortcut
3 years ago
Francois Cartegnie
86393842b4
packetizer: h264: compare sps/pps before replacement
3 years ago
Francois Cartegnie
3ea4bcad79
packetizer: h264: refactor sps/pps duplication
3 years ago
Steve Lhomme
c254ee46ea
packetizers: allow inclusion HXXX NAL helpers from C++ code
3 years ago
Francois Cartegnie
43ad8704ff
packetizer: h264: add one more zero reorder case
3 years ago
Steve Lhomme
2f77dce7d2
mpeg4audio: avoid putting negative value in unsigned value
3 years ago
Steve Lhomme
a5e1a194b5
hxxx_nal: use size_t for the move values
They seem to represent a size for data in memory (size in block allocation) and
offset for a buffer memmove().
3 years ago
Marvin Scholz
d5f07af209
meson: add initial meson build system
Co-authored-by: Tanguy Dubroca <tanguy.dubroca@lse.epita.fr>
Co-authored-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
Co-authored-by: Alexandre Janniaux <ajanni@videolabs.io>
7 years ago
Steve Lhomme
007e5d910c
codec/packtizer: rename p_fmt_in to fmt_in
We don't need to know it's a pointer and can save 2 characters.
No functional changes. This is simply renaming "dec->p_fmt_in",
"decoder->p_fmt_in", "dec.p_fmt_in" and "packetizer->p_fmt_in"
3 years ago
Steve Lhomme
3bbe3ffe45
codec/packetizer: use read-only input format wherever possible
It's renaming :
"dec->fmt_in.", "dec.fmt_in.", "decoder->fmt_in.", "&dec->fmt_in",
"&p_dec->fmt_in" (except in decoder_Init), "&p_dec->fmt_in->",
"&decoder->fmt_in", "&p_dec->fmt_in,", "= p_dec->fmt_in;",
"&id->p_decoder->fmt_in" and "p_sys->p_decoder->fmt_in"
3 years ago
Steve Lhomme
b7756201ab
packetizer:vc1: constify the video format read
3 years ago
Steve Lhomme
a6afe16031
packetizer: vc1: keep the profile value
Ref !2814
3 years ago
Francois Cartegnie
c14b5aa6a7
packetizer: flac: fix CRC from emulated sync
also skips some memcpy
refs #27454 #27477
3 years ago
Francois Cartegnie
1630610b04
packetizer: h264: add gettype helper
4 years ago
Francois Cartegnie
fa7e785876
demux: es: store frame size in header struct
4 years ago
Francois Cartegnie
e95d07a745
demux: es: rework reading frame header
4 years ago
Johannes Kauffmann
d67387a0f9
packetizer: flac: don't shadow local variable
modules/packetizer/flac.c: In function 'Packetize':
modules/packetizer/flac.c:423:40: warning: declaration of 'streaminfo' shadows a previous local [-Wshadow=compatible-local]
423 | const struct flac_stream_info *streaminfo =
| ^~~~~~~~~~
modules/packetizer/flac.c:371:40: note: shadowed declaration is here
371 | const struct flac_stream_info *streaminfo =
| ^~~~~~~~~~
4 years ago