Martin Storsjö
efd29844eb
mpegvideo: Add ff_ prefix to nonstatic functions
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Diego Biurrun
3dc99a18d4
cosmetics: drop some pointless parentheses
13 years ago
Anton Khirnov
9138a130cd
lavc: use avpriv_ prefix for ff_frame_rate_tab.
...
It's used in lavf.
13 years ago
Anton Khirnov
773375c3d0
lavc: rename ff_find_start_code to avpriv_mpv_find_start_code
...
It's used in lavf.
13 years ago
Mans Rullgard
4a71da0f3a
cavs: fix some crashes with invalid bitstreams
...
This removes all valgrind-reported invalid writes with one
specific test file.
Fixes http://www.ocert.org/advisories/ocert-2011-002.html
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Anton Khirnov
ec6402b7c5
lavc: use designated initialisers for all codecs.
...
It's more readable and less prone to breakage.
13 years ago
Diego Biurrun
657ccb5ac7
Eliminate FF_COMMON_FRAME macro.
...
FF_COMMON_FRAME holds the contents of the AVFrame structure and is also copied
to struct Picture. Replace by an embedded AVFrame structure in struct Picture.
14 years ago
Stefano Sabatini
975a1447f7
Replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
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
Måns Rullgård
f079a64aea
Move cavs dsp functions to their own struct
...
Originally committed as revision 24685 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 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
Stefano Sabatini
72415b2adb
Define AVMediaType enum, and use it instead of enum CodecType, which
...
is deprecated and will be dropped at the next major bump.
Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefan Gehrer
35122bd93e
add heuristic to discern the old sample clips from streams encoded
...
with rm52j encoder, a marker_bit has been added in the I-Frame syntax
Originally committed as revision 21836 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefan Gehrer
470de55aa1
fix slice header checking
...
Originally committed as revision 19303 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
9106a698e7
Rename bitstream.h to get_bits.h.
...
Originally committed as revision 18494 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Thilo Borgmann
7a00bbad21
Implement avcodec_decode_video2(), _audio3() and _subtitle2() which takes an
...
AVPacket argument rather than a const uint8_t *buf + int buf_size. This allows
passing of packet-specific flags from demuxer to decoder, such as the keyframe
flag, which appears necessary to playback corePNG P-frames.
Patch by Thilo Borgmann thilo.borgmann googlemail com, see also the thread
"Google Summer of Code participation" on the mailinglist.
Originally committed as revision 18351 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan Gehrer
cd3356ff73
check for a stuffing byte at the end of a slice
...
Originally committed as revision 17559 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan Gehrer
88db5551cf
change macroblock loop in inter frames so that after a
...
slice header the skip count is always parsed first
Originally committed as revision 17558 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan Gehrer
6847ab4375
introduce a macroblock index to avoid a few x*width+y calculations
...
Originally committed as revision 17138 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan Gehrer
b9fce05205
fix multiple slices per frame
...
Originally committed as revision 17137 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan Gehrer
4ca6f4b29c
fix parsing of pic_structure
...
Originally committed as revision 17136 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan Gehrer
e090c70f2f
avoid duplicating dsputil's clear_block
...
Originally committed as revision 17135 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan Gehrer
ae2d3e3b25
time_code has 24 bits, not 16
...
Originally committed as revision 17134 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan Gehrer
d934de5c5d
do not check for minimum slice start code, 0x00000100 is valid
...
Originally committed as revision 17133 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
Stefan Gehrer
620b8a2ed7
fix doxygen file reference
...
Originally committed as revision 16816 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan Gehrer
74a4371d74
use assignment of structure instead of memcpy
...
Originally committed as revision 16644 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan Gehrer
bef01ca08f
rename XXX_t enums to cavs_XXX to fix POSIX namespace issue
...
Originally committed as revision 16642 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefan Gehrer
e685e8eada
rename vector_t to cavs_vector
...
Originally committed as revision 16641 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
9506090df9
Avoid POSIX-reserved _t in identifier names.
...
Originally committed as revision 16142 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
6138ed777d
Arrays where one element too small, fixes CID114.
...
this was possibly exploitable
Originally committed as revision 13475 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
d5202e4fda
Add long names to many AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13005 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
1a2c94cb69
const
...
Originally committed as revision 11719 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
e02f7490da
Initialize the "stc" variable before using it in ff_find_start_code()
...
Originally committed as revision 10193 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Alex Beregszaszi
3a5729eae1
use skip_bits where appropriate
...
Originally committed as revision 10005 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
5d2b15b870
have less functions as inline
...
Originally committed as revision 9792 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
844d9012a6
split decoder-specific parts into their own file
...
Originally committed as revision 9533 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
1503063f83
prepare splitting decoder-only parts into own file:
...
make commonly used tables global
Originally committed as revision 9532 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
ceb48b46f8
prepare splitting decoder-only parts into own file:
...
make commonly used functions global
Originally committed as revision 9519 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
218b3ae970
move dequantization into its own inline function
...
Originally committed as revision 9518 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
ce7088b9a8
cosmetic: rename VLC tables to make clear they
...
are for decoding
Originally committed as revision 9517 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
07caa46e99
setting special motion vectors in intra macroblocks
...
is now in its own inline function
Originally committed as revision 9516 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
8a35c8e71a
setting intra prediction modes to default values
...
in inter macroblocks is now in its own inline
function
Originally committed as revision 9515 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
25c899471d
move modification of intra prediction modes into
...
its own inline function
Originally committed as revision 9514 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
e183b6d17c
move preparation of chroma intra prediction into its
...
own inline function
Originally committed as revision 9513 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
b8524fd13f
move existing inline functions from cavs.c to cavs.h
...
Originally committed as revision 9512 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
2a3cc9730f
move context structure definition from cavs.c to cavs.h
...
Originally committed as revision 9511 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
ac83e7b235
make vector constants global
...
Originally committed as revision 9510 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago