Andreas Rheinhardt
250d556343
avcodec/cavs: Only keep what is needed from IDCTDSP-API
...
Namely ScanTable.permutated. The rest of the IDCTDSP-API
is unused as cavs has its own idct.
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Anton Khirnov
e15371061d
lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump
...
They are not properly namespaced and not intended for public use.
4 years ago
Alexandra Hájková
ffc00df0a6
cavs: Convert to the new bitstream reader
8 years ago
Diego Biurrun
f81be06cf6
cavs: Change type of stride parameters to ptrdiff_t
...
ptrdiff_t is the correct type for array strides and similar.
8 years ago
Michael Niedermayer
35e559ae32
avcodec/cavs: Check for av_malloc* failure in ff_cavs_init_top_lines()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Diego Biurrun
e3fcb14347
dsputil: Split off IDCT bits into their own context
11 years ago
Michael Niedermayer
f9f8491ddf
avcodec/cavs: make cavs_chroma_qp non static
...
The table is needed by multiple files
Reverts part of ef07ac1e12
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Diego Biurrun
e74433a8e6
dsputil: Split clear_block*/fill_block* off into a separate context
11 years ago
Michael Niedermayer
0accf24b15
cavsdec: fix qp fixed slice handling
...
Fixes Ticket3400
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Ronald S. Bultje
93f305473f
lavc: Convert some remaining strides to ptrdiff_t
11 years ago
Ronald S. Bultje
c341f734e5
Convert multiplier for MV from int to ptrdiff_t.
...
This prevents emulated_edge_mc from not undoing mvy*stride-related
integer overflows.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago
Diego Biurrun
79dad2a932
dsputil: Separate h264chroma
12 years ago
Diego Biurrun
88bd7fdc82
Drop DCTELEM typedef
...
It does not help as an abstraction and adds dsputil dependencies.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
12 years ago
Anton Khirnov
fb0cb11f09
cavsdec: export picture type in the output frame
12 years ago
Anton Khirnov
7d84826400
cavs: deMpegEncContextize
...
It does not use any of the mpegvideo infrastructure, just a few fields
from the context.
Fixes a segfault with the emu edge flag, since emu edge buffer is now
allocated as a part of the frame buffer allocation and cavs calls
ff_get_buffer() directly, it does not use mpegvideo buffer management.
Fixes a memleak of the last frame.
12 years ago
Diego Biurrun
e4cbf7529b
Give all anonymously typedeffed structs in headers a name
...
Anonymous structs cannot be forward declared and have no benefit.
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
Diego Biurrun
0a6b1a9f21
Replace int_fast integer types with their sized standard posix counterparts.
...
The _fast integer types provide no realworld benefits, but may introduce
portability issues and are just plain ugly.
14 years ago
Stefano Sabatini
ce5e49b0c2
replace deprecated FF_*_TYPE symbols with AV_PICTURE_TYPE_*
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
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
15 years ago
Måns Rullgård
84dc2d8afa
Remove DECLARE_ALIGNED_{8,16} macros
...
These macros are redundant. All uses are replaced with the generic
DECLARE_ALIGNED macro instead.
Originally committed as revision 22233 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Stefan Gehrer
3cc3581dc0
fix intra prediction modes with inter-MB neighbors,
...
the old sample clips are in violation of the 2006 spec
Originally committed as revision 21883 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
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
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
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
987903826b
Globally rename the header inclusion guard names.
...
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
Originally committed as revision 15120 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
5b21bdabe4
Add FFMPEG_ prefix to all multiple inclusion guards.
...
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 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
Måns Rullgård
bad700e346
trivial warning fixes
...
Originally committed as revision 9547 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
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
...
Originally committed as revision 9484 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