Marcelo Galvăo Póvoa
1d96cc0865
Move AMRNB lsf2lsp() function to common code for using in future AMRWB decoder.
...
Patch by Marcelo Galvăo Póvoa
Originally committed as revision 25061 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
b33451eeac
Check rc_buffer_size value using integer arithmetic
...
Using floating-point here can cause erroneous rejection of
parameters due to rounding errors leading to a slightly too
large result.
This fixes the mxf regression test with gcc 4.5 on x86_32.
Originally committed as revision 25060 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
e16f217ceb
Use new imgutils.h API names, fix deprecation warnings.
...
Originally committed as revision 25058 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Reimar Döffinger
3d487db153
Fix slice height for y position calculation for vp3_draw_horiz_band
...
when the video uses 4:2:2 instead of 4:2:0 coding.
Originally committed as revision 25052 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Reimar Döffinger
3b9ee20f70
Fix vp3_draw_horiz_band to not produce completely chaotical values
...
that result in overdrawing areas again and again if s->flipped_image
is false.
Originally committed as revision 25051 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Reimar Döffinger
6974952d24
VP3/Theora: validate aspect and reduce it before exporting it
...
via the context.
Originally committed as revision 25050 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
8ef38f3f50
Add #ifndef around FF_API_MM_FLAGS.
...
The #ifndef is required to allow for example some automated regression
tests by simply configuring with: --extra-cflags="-DFF_API_FOO=0".
Originally committed as revision 25043 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Reimar Döffinger
b1c32fb5e5
Use "d" suffix for general-purpose registers used with movd.
...
This increases compatibilty with nasm and is also more consistent,
e.g. with h264_intrapred.asm and h264_chromamc.asm that already
do it that way.
Originally committed as revision 25042 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Stefano Sabatini
7160bb716b
Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_
...
symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h.
Originally committed as revision 25040 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
dab95c0584
Fix the dependencies of the RTP muxer
...
This fixes building with --disable-everything --enable-muxer=rtp, closing
issue 2159.
Originally committed as revision 25036 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
2c166c3af1
Port latest x264 deblock asm (before they moved to using NV12 as internal
...
format), LGPL'ed with permission from Jason and Loren. This includes mmx2
code, so remove inline asm from h264dsp_mmx.c accordingly.
Originally committed as revision 25031 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Eli Friedman
a10a9f5cd0
Fix typo in r25019.
...
Patch by Eli Friedman <eli.friedman at gmail dot com>.
Originally committed as revision 25022 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
615da9b1d9
Unscrew breakage after my last commit because of symbol prefixes.
...
Originally committed as revision 25020 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
a33a2562c1
Rename h264_weight_sse2.asm to h264_weight.asm; add 16x8/8x16/8x4 non-square
...
biweight code to sse2/ssse3; add sse2 weight code; and use that same code to
create mmx2 functions also, so that the inline asm in h264dsp_mmx.c can be
removed. OK'ed by Jason on IRC.
Originally committed as revision 25019 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
14bc1f2485
Split h264dsp_mmx.c (which was #included in dsputil_mmx.c) in h264_qpel_mmx.c,
...
still #included in dsputil_mmx.c and is part of DSPContext, and h264dsp_mmx.c,
which represents H264DSPContext and is now compiled on its own.
Originally committed as revision 25018 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
eda7c983c1
add FF_API_PALETTE_CONTROL define to drop usage of AVPaletteControl
...
and delay this transition to v54 as it is currently not functional
Originally committed as revision 25016 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Diego Biurrun
625bac784b
Use quotes instead of angle brackets for local #includes.
...
Originally committed as revision 25015 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
5929b3a651
Fix vertical align.
...
Originally committed as revision 25009 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Tobias Bindhammer
d1cacdb8dd
Checking return values of av_malloc(z) and report an error in case.
...
Originally committed as revision 25003 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Alex Converse
99d7a3e862
aacenc: Remove an unused variable from adjust_frame_information().
...
Originally committed as revision 25002 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Alex Converse
1297f58132
aacenc: Don't set s->cur_channel before apply_window_and_mdct().
...
In general s->cur_channel should be phased out.
Originally committed as revision 25001 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Alex Converse
8e4c11e90a
aacenc: Write tag.elem_id early.
...
Originally committed as revision 25000 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Alex Converse
0e107f7890
psymodel: Const correct FFPsyWindowInfo.
...
Originally committed as revision 24999 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Alex Converse
76dfe4ebc5
aacenc: Only apply M/S if common_window is set.
...
Originally committed as revision 24998 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
David Conrad
c740f737e9
vorbisdec: Use int instead of uint16_fast_t for index variables
...
uint16_fast_t is unsigned int (or long) on Linux, which when compared
with int results in an unsigned compare.
Originally committed as revision 24994 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
79ce0f002e
Fix compilation failure if yasm is disabled (missing vp3 symbols).
...
Originally committed as revision 24992 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
de1c253bab
Split intra prediction initialization (i.e. assigning of function pointers)
...
into its own file, it doesn't belong in h264dsp_mmx.c (much less so in
dsputil_mmx.c).
Originally committed as revision 24990 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
d0eb5a1174
Move H264 chroma MC from inline asm to yasm. This fixes VP3/5/6 and VC-1
...
fate failures on Win64.
Originally committed as revision 24989 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
e9f5f020c6
Move VP3 IDCT functions from inline ASM to YASM. This fixes part of the VP3/5/6
...
issues on Win64.
Originally committed as revision 24988 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
7e7c4b6008
Put ff_ prefix on non-static {put_signed,put,add}_pixels_clamped_mmx()
...
functions.
Originally committed as revision 24987 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Vitor Sessak
ef4a93426a
Include stdint.h instead of inttypes.h, it is enough for what this file need.
...
Originally committed as revision 24966 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Vitor Sessak
774b20ca72
Hopefully fix the fate-ws_snd breakage on PPC
...
Originally committed as revision 24959 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Loren Merritt
19d929f9a3
cosmetics in imdct_sse
...
Originally committed as revision 24958 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Aurelien Jacobs
601090b5c0
cosmetic
...
Originally committed as revision 24955 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
4eca52ed19
Fix typos when converting inline asm to yasm, fixes MMX-only fate-ea-vp61.
...
Originally committed as revision 24948 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Tobias Bindhammer
3156df450f
Clarify code/avoid possible bugs by using precalculated values that are used for extradata as well
...
Originally committed as revision 24941 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Tobias Bindhammer
6cd94998a4
enable a flexible lifetime
...
Originally committed as revision 24940 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Tobias Bindhammer
99d8166daf
Setting proper values in extradata for future use in muxer
...
Originally committed as revision 24939 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Martin Storsjö
e0ae6c17fe
Flush the PutBitsContext at the end of each block when encoding ADPCM IMA QT
...
Originally committed as revision 24938 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
S.N. Hemanth Meenakshisundaram
5da19b53c6
Implement avcodec_get_channel_layout().
...
Patch by S.N. Hemanth Meenakshisundaram smeenaks:ucsd+edu.
Originally committed as revision 24936 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
6697bc33e2
Revert r24931, it broke Win32 and some BSD compiles (yay fate).
...
Originally committed as revision 24934 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
3d1b1caa6b
Remove duplicate definitions of fullpel MC functions
...
This removes duplicated definitions of 8x8 and 16x16 fullpel MC
functions with various names reducing dsputil.o by 8k on x86_64.
Originally committed as revision 24933 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
694c5a2850
sp5x: remove broken code under #if 0
...
Originally committed as revision 24932 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
72f642400b
Mark xmm6 and xmm7 as clobbered in ff_vp3_idct_sse2(), which is contributing
...
to the VP6 fate failures on Win64.
Originally committed as revision 24931 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
69dad87c48
VP6: fix vp6_filter_diag4_mmx/sse on 64-bit
...
The stride can be negative and must be sign extended before being
used in pointer arithmetic.
Originally committed as revision 24926 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Måns Rullgård
94f8b2d799
ARM: update struct offsets
...
Originally committed as revision 24923 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
89fa3504ed
Move vp6_filter_diag4() x86 SIMD code from inline ASM to YASM. This should
...
help in fixing the Win64 fate failures.
Originally committed as revision 24922 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Ronald S. Bultje
3a0885146c
Move vp6_filter_diag4() from DSPContext to VP56DSPContext.
...
Originally committed as revision 24921 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Tobias Bindhammer
d09c0a1666
cleanup a bit in a64multi_encode_frame()
...
Originally committed as revision 24914 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago
Tobias Bindhammer
9f63810491
added/extended some comments in a64multi_encode_frame()
...
Originally committed as revision 24913 to svn://svn.ffmpeg.org/ffmpeg/trunk
14 years ago