Steve Lhomme
8828f7d7c4
avcodec: pass the whole es_format when looking for a codec.
2 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
Alexandre Janniaux
ee23251ddf
avparser: remove trailing line
4 years ago
Alexandre Janniaux
72992236ed
avparser: fix missing const
4 years ago
Steve Lhomme
c663b44b90
avcodec: use enum AVCodecID where a codec ID is expected
5 years ago
Francois Cartegnie
73b0d14c17
packetizer: avparser: remove useless realloc/copy
5 years ago
Francois Cartegnie
0b94015abe
packetizer: avparser: set proper frame flags
5 years ago
Francois Cartegnie
0ddedd363c
packetizer: avparser: properly propagate flags
5 years ago
Steve Lhomme
5363279805
remove the $Id$ in the source code
7 years ago
Steve Lhomme
0c8fe7c6b5
avcodec: use macros to transform lavc timestamps to/from VLC timestamps
8 years ago
Steve Lhomme
1f17997348
rename VLC_TS_INVALID to VLC_TICK_INVALID
8 years ago
Zhao Zhili
61e5bf86df
packetizer: avparser: initialize all callback fields
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
8 years ago
Thomas Guillem
6fd53a76d6
avparser: rename OpenPacketizer/ClosePacketizer
This fixes duplicate symbols with a static build.
8 years ago
Romain Vimont
ff2901aff3
core: remove global *_sys_t typedefs
Do not declare *_sys_t typedefs globally in vlc_common.h. Instead,
declare them locally in each module that provides a definition.
This paves the way to move C++ definitions into anonymous namespaces in
order to respect C++ ODR.
The picture_resource_t and sout_stream_id_sys_t typedefs will be handled
separately, since they require specific additional changes.
See #18033
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years ago
Romain Vimont
b3b7f62ce1
core: replace decoder_sys_t* by void*
See #17078
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
8 years ago
Thomas Guillem
a8a84279e5
packetizer: avparser: set keyframe flag
8 years ago
Hugo Beauzée-Luyssen
be6c18f7c6
packetizer: avparser: Remove invalid es_format_Clean
This is the core's responsibility
9 years ago
Rémi Denis-Courmont
5c1023b33d
avparser: fix function parameters
9 years ago
Steve Lhomme
5aad8ebbfd
packetizer: use a custom flush callback
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
11 years ago
Ilkka Ollakka
a901a7884c
packetizer: don't drop blocks with DISCONTINUITY
Do not drop blocks with BLOCK_FLAG_DISCONTINUITY, but do drop blocks with BLOCK_FLAG_CORRUPTED.
Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
11 years ago
Jean-Baptiste Kempf
361829e7ef
Add avparser.h to prepare for submodulification
11 years ago
Jean-Baptiste Kempf
cbf5dbd53c
Avparser: rename Open and Close functions
11 years ago
Jean-Baptiste Kempf
a56bd7ec49
Avparser: Fix typo and remove trailing spaces
11 years ago
Denis Charmet
17e07afce4
Add avparser packetizer for VP9 handling
Fix #12944
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago