Anton Khirnov
716d413c13
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
12 years ago
Mans Rullgard
88386feefd
cavs: convert cavsdata.h to a .c file
...
Defining tables in header files is ugly and prone to duplication.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
12 years ago
Diego Biurrun
a6d9f9e60e
cavs: Move inline functions only used in one file out of the header
12 years ago
Diego Biurrun
ef07ac1e12
cavs: Move data tables used in only one place to that file
12 years ago
Michael Niedermayer
e40f7f1e01
cavs: fix memleak
...
Fixes Ticket1335
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years ago
Aneesh Dogra
c265b77b11
cavs: Remove unused code.
...
The square is always passed as 1 whenever the function is called and
thus the if block never gets executed.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Michael Niedermayer
280beebd39
cavsdec: initialize all tables to zeros.
...
This ensures that they dont contain invalid values.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
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
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
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Ronald S. Bultje
d23e3e5fea
Move ff_emulated_edge_mc() into DSPContext.
...
(cherry picked from commit 2e27959879
)
14 years ago
Ronald S. Bultje
2e27959879
Move ff_emulated_edge_mc() into DSPContext.
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
Benoit Fouet
32e543f866
Replace @returns by @return .
...
Originally committed as revision 22729 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefan Gehrer
026b9d3c5a
avoid using DECLARE_ALIGNED on stack variable as suggested by Reimar
...
Originally committed as revision 21835 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c67278098d
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 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
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
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
Aurelien Jacobs
199436b952
moves mid_pred() into mathops.h (with arch specific code split by directory)
...
Originally committed as revision 16681 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
Zuxy Meng
98a6fff98c
Apply 'cold' attribute to init/uninit functions in libavcodec
...
Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Roman Shaposhnik
905694d96e
* renaming (ST|LD)(16|32|64) -> AV_(R|W)N(16|32|64)
...
Originally committed as revision 10023 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Roman Shaposhnik
f49f6e8889
replacing the use of deprecated unaligned*() routines by LD64 and AV_RB32
...
Originally committed as revision 9834 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
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
...
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
c5a60225c7
move cavs parser in it's own file
...
Originally committed as revision 8945 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
b88e211426
move defines and enums out of cavsdata.h
...
Originally committed as revision 8944 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
c53d2d9042
make some parser parameters const to avoid casting const to non-const
...
Originally committed as revision 8921 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
4c5ea91ca8
ff_frame_rate_tab is now declared in mpegvideo.h
...
Originally committed as revision 8904 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Aurelien Jacobs
20c11e4cee
avoid a clash between two definitions of SEQ_START_CODE
...
Originally committed as revision 8903 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
f66e4f5f9e
Add av_ prefix to clip functions
...
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
e275b7efd9
rename ff_cavs_flush to cavs_flush and make it static
...
Originally committed as revision 6994 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Stefan Gehrer
53aa68b329
move all cavs-parsing to cavs.c
...
This should help building parser without decoder
Originally committed as revision 6993 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago