Andreas Rheinhardt
ec2b07db79
avcodec/intrax8: Only keep what is used from ScanTable
...
Namely ScanTable.permutated.
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Andreas Rheinhardt
a2c6bf2314
avcodec/intrax8: Remove reference to inexistent parameter
...
Forgotten in eb5c5ae658
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Andreas Rheinhardt
900ce6f8c3
avcodec/intrax8: Avoid indirection when accessing VLC table
...
To do so, store the pointer to the VLC table and not to the VLC.
This is possible, because all the VLCs of the same type use
the same number of bits.
Also use a const VLCElem*, because the target is static and must
therefore not be modified after its initialization.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Andreas Rheinhardt
eb5c5ae658
avcodec/intrax8: Remove unused IDCTDSPContext
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2 years ago
Vittorio Giovara
ca8c759173
intrax8: Remove mpegvideo dependency
9 years ago
Vittorio Giovara
9fa888c028
intrax8: Keep a reference to the decoder blocks
9 years ago
Vittorio Giovara
c2084ffcbf
intrax8: Use the generic horizband function
...
This is assuming that intrax8 has no support for interlacing
Carry over lowdelay value in ff_intrax8_decode_picture.
9 years ago
Vittorio Giovara
b1268e0f03
intrax8: Pass macroblock coordinates to ff_intrax8_decode_picture
...
These values need to be updated with the last macroblock position,
so keep them as pointers.
9 years ago
Vittorio Giovara
d0540fd021
intrax8: Pass macroblock size to ff_intrax8_common_init
...
Helps in decoupling this code from mpegvideo.
9 years ago
Vittorio Giovara
159323897f
intrax8: Add a local BlockDSPContext and initialize it
...
Helps in decoupling this code from mpegvideo.
9 years ago
Vittorio Giovara
1eaae7abb8
intrax8: Reference the current AVCodecContext
...
It will be needed to initialize BlockDSP in the next commit.
9 years ago
Vittorio Giovara
8072345e9f
intrax8: Keep a reference to the GetBitContext reader
...
Helps in decoupling this code from mpegvideo.
9 years ago
Vittorio Giovara
65f14128c4
intrax8: Use a constant buffer instead of a ScratchpadContext
...
The size of the block is fixed (8x8 plus padding).
9 years ago
Vittorio Giovara
eaeba6f241
intrax8: Pass the output frame to the decoding function
...
Helps in decoupling this code from mpegvideo.
9 years ago
Vittorio Giovara
577393321c
intrax8: Carry over the loopfilter value in ff_intrax8_decode_picture
...
Helps in decoupling this code from mpegvideo.
9 years ago
Vittorio Giovara
68127e1bf8
intrax8: Keep a reference to the context idctdsp
...
Use it instead of the embedded mpegvideo one. Update init function
signature to load it directly from the callers.
9 years ago
Vittorio Giovara
922b7e6d86
intrax8: Use local destination buffers
...
These buffers are just a way to store frame pointers and be able to
modify them without touching the original ones.
The two dependent decoders (WMV2 and VC1) do not need special care for
these fields: the former does not seem to use the dest buffers, while
the latter reinits them every time to the current frame data buffers.
So only keep a local copy rather than the one from mpegvideo.
9 years ago
Vittorio Giovara
0372e73f91
intrax8: Check and propagate errors from ff_intrax8_common_init
...
This allows dropping an afterwards redundant assert.
9 years ago
Vittorio Giovara
ad8aa8e6c6
intrax8: Move documentation from implementation to header file
9 years ago
Vittorio Giovara
2ade1cdafb
intrax8: K&R formatting cosmetics
9 years ago
Michael Niedermayer
9a0aa8d02a
avcodec/intrax8: fix regression with wmv3
...
This also decreases dependancies between intrax8 and the outside
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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
Mans Rullgard
15616eb042
intrax8: move functions from dsputil to own context
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
12 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 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
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
Zdenek Kabelac
e2fdba650d
Correctly clean up IntraX8Context upon codec close.
...
patch by Zdenek Kabelac, zdenek d kabelac a gmail d com
Originally committed as revision 11608 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
f0a838e525
Add missing #includes to fix 'make checkheaders'.
...
Originally committed as revision 11087 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Aurelien Jacobs
49e9a4bf7c
add multiple inclusion guards
...
Originally committed as revision 10986 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
dfb32930df
remove debug variable
...
Originally committed as revision 10975 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9abc7e0fdc
intrax8 decoder patch by "someone"
...
Originally committed as revision 10971 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago