Michael Niedermayer
f4348e6cce
Check for VUI overeading and reset num_reoder_frames.
...
This helps the video from issue1831
Originally committed as revision 23328 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 21:51:27 +00:00
Martin Storsjö
8ac942d8f5
Cosmetics: reindent after the previous commit
...
Originally committed as revision 23324 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 19:16:15 +00:00
Martin Storsjö
11f6181af1
api-example: Try to avoid decoding incomplete frames
...
Use a larger input audio buffer, refill it when it has less than 4 KB data
left.
Originally committed as revision 23323 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 19:13:28 +00:00
Alex Converse
0ecfa7b7c7
aacenc: Split find_max_val() from find_min_book() to eliminate duplicate searches.
...
Originally committed as revision 23322 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 18:35:01 +00:00
Alex Converse
af2ee6fc49
Remove useless costly inf checks from the trellis scalefactor search.
...
Originally committed as revision 23319 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 18:32:59 +00:00
Alex Converse
acc9f51fe1
aacenc: Trellis over scalefactors using an estimated codebook rather than every codebook.
...
The minimal codebook to encode the band without clipping is used (as is done in the TLS).
Originally committed as revision 23318 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 18:31:55 +00:00
Alex Converse
144c5e3dd2
aacenc: Only trellis over a column of 61 scalefactors (reduced from 256).
...
This still provides plenty of dynamic range, makes every move legal, and greatly reduces the search space.
Originally committed as revision 23317 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 18:28:18 +00:00
Alex Converse
05e659ef83
aacenc: Factor out find_min_book so it can be used by multiple coefficient coders.
...
Originally committed as revision 23316 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 18:24:16 +00:00
Michael Niedermayer
31a7a6eb5e
Correct golomb vlc decoding tables.
...
Fixes issue 1930
Originally committed as revision 23311 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 14:23:48 +00:00
Carl Eugen Hoyos
a7890f4474
Headers for libvpx are installed into vpx subdirectory.
...
Originally committed as revision 23307 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 08:58:14 +00:00
David Conrad
cc46005f50
theora: Don't read an excess bit for maximum length long bit runs if the run
...
exactly ends the remaining blocks.
Originally committed as revision 23304 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 03:19:54 +00:00
James Zern
8299a7f819
VP8 decoding via libvpx.
...
Patch by James Zern for Google, Inc., jzern google com
Originally committed as revision 23303 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-05-25 01:19:08 +00:00
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