Commit Graph

11632 Commits

Author SHA1 Message Date
Cyril Russo
d3d8748177 Fix documentation of av_audio_convert.
Patch by Cyril Russo, stage D nexvision A laposte net

Originally committed as revision 23285 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-24 10:11:21 +00:00
Reimar Döffinger
6d9b7a7dab Document CODEC_FLAG_EMU_EDGE and avcodec_align_dimensions interaction.
Originally committed as revision 23258 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-23 15:34:39 +00:00
Stefano Sabatini
6a2c9b8bcb Rename pixelFormatBpsAVI to pix_fmt_bps_avi and pixelFormatBpsMOV to
pix_fmt_bps_mov.

The new names are consistent with the predominant FFmpeg style.

Originally committed as revision 23244 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-21 23:19:50 +00:00
Stefano Sabatini
1beff414a2 Rename findPixelFormat() to find_pix_fmt().
Less ugly and more consistent with the FFmpeg predominant style.

Originally committed as revision 23243 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-21 23:19:45 +00:00
Stefano Sabatini
6531b5c9f4 Rename ff_raw_pixelFormatTags symbol to ff_raw_pix_fmt_tags.
The new name is shorter and consistent with the FFmpeg style.

Originally committed as revision 23206 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-20 23:09:11 +00:00
Stefano Sabatini
4d2f703a34 Fix doxy reference to unexisting function.
Originally committed as revision 23203 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-20 21:27:01 +00:00
Michael Niedermayer
2b65bb45b5 Change eval API to take parent log context and log level offset.
this is based on stefanos work, especially all bugs are his fault ;)

Originally committed as revision 23201 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-19 22:55:29 +00:00
Baptiste Coudurier
d545fa56f1 fix x264 encoding when delay is > number of input frames
Originally committed as revision 23197 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-19 20:48:29 +00:00
Alex Converse
c2341b8596 Add a chomp BSF to consume zero padding at the end of a packet.
Originally committed as revision 23196 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-19 20:18:40 +00:00
Alex Converse
c16d5a6f14 Make aac_decode_frame() consume zero padding at the end of a packet.
Originally committed as revision 23195 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-19 20:18:34 +00:00
David Conrad
7382617a2f Bump minor version for CODEC_ID_VP8
Originally committed as revision 23194 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-19 20:13:50 +00:00
Google
a98c2dfab0 Add VP8 CODEC_ID
Patch by Google

Originally committed as revision 23191 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-19 16:50:00 +00:00
Maxim Poliakovski
15f9fa3d61 Fix signedness of q_delta field of the IVIMbInfo.
Patch by Maxim max_pole () gmx * de

Originally committed as revision 23170 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-19 06:46:50 +00:00
Francesco Lavra
603a5f04b2 Factorize some code into the new function ff_toupper4().
Patch by Francesco Lavra, francescolavra interfree it

Originally committed as revision 23158 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-18 19:16:40 +00:00
Stefano Sabatini
fecd7b457e Add log_level_offset to AVCodecContext.
Originally committed as revision 23153 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-17 22:49:34 +00:00
Benoit Fouet
f40f329e92 Fix typo ('B', 'O', 'W', '1') => ('B', '0', 'W', '1')
Originally committed as revision 23150 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-17 09:53:59 +00:00
Stefano Sabatini
edd259f92f Change the order of parameters for ff_eval_expr() and
ff_parse_and_eval_expr(), place the names for constants/functions
before the corresponding values.

This looks more readable, as the user is expected to know the names
before the values.

Originally committed as revision 23149 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-16 23:00:22 +00:00
Sebastian Vater
ec1d1afc09 Factorize code into a single function.
Patch by Sebastian Vater, cdgs D basty A gmail

Originally committed as revision 23148 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-16 21:03:08 +00:00
Stefano Sabatini
ed395eb421 Add missing rawvideo pixel formats to codec tags mappings for nut.
Originally committed as revision 23146 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-16 17:08:47 +00:00
Stefano Sabatini
73762de18e Add NV12 and NV21 AVI tags.
Both are listed in fourcc.org.

Originally committed as revision 23145 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-16 07:56:31 +00:00
Laurent Aimar
48962f2eb7 Reindent after last commit on dxva2 h264 AVHWAccel.
Originally committed as revision 23141 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-14 23:09:08 +00:00
Laurent Aimar
efb816ef64 Fixed h264 long term support with dxva2 AVHWAccel.
Based on a commit for vaapi(r22869).

Originally committed as revision 23140 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-14 23:08:23 +00:00
Alex Converse
0175d7886f fmaxf -> FFMAX to fix pre-C99 systems
Originally committed as revision 23138 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-14 19:38:17 +00:00
Alex Converse
759510e6af aacenc: Add a rate only trellis for codebook selection for the TLS.
Originally committed as revision 23136 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-14 16:49:51 +00:00
Alex Converse
4d986b7172 aacenc: Use exact values when quantizing, not fuzzy values.
This requires us to code small escapes; we can't avoid it.

Originally committed as revision 23135 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-14 16:49:40 +00:00
Alex Converse
51cbabc792 aacenc: Use an estimated codebook for the TLS (two loop search).
Originally committed as revision 23134 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-14 16:49:30 +00:00
Alex Converse
960323a230 aacenc: Select the TLS (two-loop search) as the default scalefactor coder.
Originally committed as revision 23133 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-14 16:49:21 +00:00
Alex Converse
31184aac87 aacenc: Fix psy logic.
Set band info before determining scalefactors. Use the look ahead for
windowing decision.

Originally committed as revision 23132 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-14 16:49:11 +00:00
Carl Eugen Hoyos
eb0a4d3222 Fix compilation of AC3 decoder if E-AC3 decoder was disabled.
Originally committed as revision 23131 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 20:41:36 +00:00
Sebastian Vater
6d81016282 Reindent after r23124. Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23128 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 19:18:54 +00:00
Sebastian Vater
7a0e859cdb Grayscale support. Patch by Sebastian Vater <cdgs basty googlemail com>.
Originally committed as revision 23124 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 19:16:03 +00:00
Måns Rullgård
57fcb7d7da Add mpegaudiodec_float.o dependency on tables header with hardcoded tables
Originally committed as revision 23123 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 18:41:18 +00:00
Michael Niedermayer
40914d97cc 1.0 and the resulting exactly representable value must be marked as float as well,
gcc is hopelessly trash.

Originally committed as revision 23119 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 18:06:44 +00:00
Michael Niedermayer
0628f3e8cf Cast constants to float to avoid gcc converting to and from
float<->double in every operation.

Originally committed as revision 23118 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 17:58:17 +00:00
Michael Niedermayer
e969e261a5 Use standard C for implementing sign_extend() and zero_extend().
This fixes compilation of probetest

Originally committed as revision 23116 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 16:32:21 +00:00
Sebastian Vater
299ac811ba Reindent after r23112.
Patch by Sebastian Vater <cdgs basty googlemail com>.

Originally committed as revision 23113 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 15:41:49 +00:00
Sebastian Vater
65d213ec86 Move handling of paletted data to the IFF demuxer. This allows future
handling of things such as masking/EHB/HAM for this type of data.

Patch by Sebastian Vater <cdgs basty googlemail com>.

Originally committed as revision 23112 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 15:39:40 +00:00
Sebastian Vater
ebcf7c3227 Handle palette underflows, fill remaining space with black (zero) data.
Patch by Sebastian Vater <cdgs basty googlemail com>.

Originally committed as revision 23111 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 15:33:36 +00:00
Sebastian Vater
2f955ea41b Move a while(..){..} -> do{..}while(..), slightly faster.
Patch by Sebastian Vater <cdgs basty googlemail com>.

Originally committed as revision 23110 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 13:18:25 +00:00
Michael Niedermayer
bfbdc58e52 Fix compilation with low precission mpeg audio decoding.
Originally committed as revision 23107 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 10:04:31 +00:00
Michael Kostylev
3e48d792b6 Fix mpegaudio tablegen.
Patch by Michael Kostylev, michael D kostylev A gmail

Originally committed as revision 23106 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 10:02:48 +00:00
Michael Kostylev
56b37cd1c7 Support writing 2d float arrays.
Patch by Michael Kostylev, michael D kostylev A gmail

Originally committed as revision 23105 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-13 10:02:04 +00:00
Loren Merritt
f39ab2071f change a variable-length array to a malloc.
Originally committed as revision 23103 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-12 22:38:05 +00:00
Reimar Döffinger
b3ab319944 Set coded_frame to NULL when closing a codec, since it might
be invalid after the codec is "gone".

Originally committed as revision 23101 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-12 17:05:56 +00:00
Michael Niedermayer
3b7117b73a Do the same sign flip optimization to the low freq decoder.
as with the high freq 10-20 cycles faster

Originally committed as revision 23099 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 21:31:54 +00:00
Michael Niedermayer
4b070a7a61 Factorize READ_FLIP_SIGN() optimization out
Originally committed as revision 23098 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 21:20:33 +00:00
Michael Niedermayer
0c0d88aed5 Optimize decoding high freqs.
this is 10-20cpu cycles faster on duron (whole is about 50-60 cpu cylses)
I wonder why gcc isnt doing this on its own ...

Originally committed as revision 23097 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 21:10:55 +00:00
Michael Niedermayer
fd9451c68f Make lsf_sf_expand() 4 times faster.
Originally committed as revision 23096 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 20:33:48 +00:00
Michael Niedermayer
b91d46614d float based mp1/mp2/mp3 decoders.
Originally committed as revision 23095 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 19:52:42 +00:00
Alex Converse
495af353db Set cur_channel in the AAC encoder context where needed.
Most coder functions read it. Carting this around in the context may be
suboptimal; a refactor should be considered.

Originally committed as revision 23094 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-11 18:53:49 +00:00