Philip Langdale
9c09dead87
h264_parser: Fix whitespace after previous change.
...
'git diff -w' confirmed to return nothing.
Signed-off-by: Philip Langdale <philipl@overt.org>
14 years ago
Philip Langdale
01f5b9c51e
h264_parser: Fix behaviour when PARSER_FLAG_COMPLETE_FRAMES is set.
...
Currently, the parser is buggy and only processes the stream extradata
when the flag is set. This fixes it to actually inspect the frames.
Whitespce will be fixed in a separate change.
Signed-off-by: Philip Langdale <philipl@overt.org>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Janne Grunau
94e3e83f13
h264: Add Intra and Constrained Baseline profiles to avctx.profile
...
(cherry picked from commit fe9a3fbe42
)
14 years ago
Janne Grunau
fe9a3fbe42
h264: Add Intra and Constrained Baseline profiles to avctx.profile
14 years ago
Diego Elio Pettenò
e7e2df27f8
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit d36beb3f69
)
14 years ago
Diego Elio Pettenò
d36beb3f69
Add ff_ prefix to data symbols of encoders, decoders, hwaccel, parsers, bsf.
...
None of these symbols should be accessed directly, so declare them as
hidden.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Elio Pettenò
877937b382
Make ff_h264_find_frame_end static to h264.c; delete h264_parser.h
...
The header is empty after making the function static, so delete it and
drop its usage.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit 13eb6b9097
)
14 years ago
Diego Elio Pettenò
13eb6b9097
Make ff_h264_find_frame_end static to h264.c; delete h264_parser.h
...
The header is empty after making the function static, so delete it and
drop its usage.
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
14 years ago
Baptiste Coudurier
9479415e4e
In h264 parser, return immediately if buf_size is 0, avoid printing
...
erroneous message for last frame.
Originally committed as revision 24450 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Howard Chu
82f1ffc7ba
Cleanup prev commit, flag variable should start with 0
...
Originally committed as revision 23364 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Howard Chu
23584bec87
Parse avctx->extradata if available.
...
Fixes many "non-existing PPS referenced" error messages
Originally committed as revision 23363 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Alex Converse
74a6df59e3
Add an AVSTREAM_PARSE_FULL_ONCE parsing mode to parse headers and combine packets once and only once.
...
Originally committed as revision 23332 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
ba87f0801d
Remove explicit filename from Doxygen @file commands.
...
Passing an explicit filename to this command is only necessary if the
documentation in the @file block refers to a file different from the
one the block resides in.
Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Rafaël Carré
dd0cd3d273
Export H264 profile and level in AVCodecContext.
...
Patch by Rafaël Carré, rafael D carre A gmail
Originally committed as revision 21517 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Rafaël Carré
e9ca315dd1
Initialize thread_context[0] with h264 parser context.
...
This allows freeing the parser memory in the thread_context freeing loop.
Patch by Rafaël Carré gmailify(rafael, carre)
Originally committed as revision 21508 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Baptiste Coudurier
8fa0ae060b
Init state to -1 in h264 parser.
...
Fix:
==22063== Conditional jump or move depends on uninitialised value(s)
==22063== at 0x811A4B7: ff_find_start_code (mpegvideo.c:99)
==22063== by 0x82F5B74: parse_nal_units (h264_parser.c:132)
==22063== by 0x82F5A68: h264_parse (h264_parser.c:261)
[...]
==22063== Uninitialised value was created by a stack allocation
==22063== at 0x82F5AF5: parse_nal_units (h264_parser.c:112)
Originally committed as revision 18479 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
15861962a7
Add a ff_h264_free_context function and call it from the H.264 parser.
...
This ensures that the parser will no longer leak memory for all SPS/PPS it encounters.
Originally committed as revision 18406 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
John Cox
9e85f9c526
Fix SEIs when splitting H264 input.
...
Patch by John Cox, jc A kynesim D co D uk
Originally committed as revision 18020 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
26aedb4ab3
Cosmetics: Fix indentation after last commit.
...
Originally committed as revision 17621 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
2c0c5e1249
Initialize H264 parser context correctly if the optional SEI messages
...
are not present.
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17620 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
c733922eec
Export timestamp parameter from H.264.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17575 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
fc9fe42833
Correct time_base of H.264 and repeat_pict.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17571 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
346db3ef7f
Use context variable repeat_pict for frame duration computation and
...
document this new use.
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17492 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
96c3da93e6
Set context variable picture_structure in H264 parser.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17490 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
0ed260c7a3
Set context variable key_frame in H264 parser.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17489 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
ff6474dd15
Parse NAL units in H264 parser.
...
Patch by Ivan Schreter, schreter gmx net
Originally committed as revision 17488 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ivan Schreter
4d8eb2e899
Fix a const related warning
...
Patch by Ivan Schreter ( schreter gmx net )
Originally committed as revision 17073 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Carl Eugen Hoyos
0d3d172f32
Remove CODEC_ID_H264_VDPAU.
...
Originally committed as revision 16649 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
NVIDIA Corporation
369122dd77
Add VDPAU hardware accelerated decoding for H264 which can be used by
...
video players.
Original patch by NVIDIA corporation.
Originally committed as revision 16431 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
e4f1ec3a4c
Explain the lack of +3/7
...
Originally committed as revision 16380 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
5cb5023c78
Make h264 parser 50% faster.
...
Originally committed as revision 16286 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
dd990075d6
100l forgot return type.
...
Originally committed as revision 15539 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
3ee4f5e4fa
ff_parse_close() is not the correct function for H264Context.
...
Originally committed as revision 15537 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Pettenò
9aa1cfec1a
fix warning reported by Intel C compiler:
...
libavcodec/h264_parser.c(77): warning #589 : transfer of control
bypasses initialization of:
variable "v" (declared at line 58)
goto found;
This new form also improves readability.
Patch by Diego 'Flameeyes' Pettenò %flameeyes A gmail P com%
Originally committed as revision 15526 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
...
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
26b4fe821c
split h264.c to move parser in its own file
...
Originally committed as revision 8985 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago