summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* lavc: set defaults in internal codec framesStefano Sabatini2011-05-07
| | | | | | | | | This is required specifically for setting frame->format to -1, otherwise it will be set to 0 = PIX_FMT_YUV420P and code reading the format from the output decoded frame will get misled. In particular fix regressions occurring with the pending vsrc_buffer patch.
* ffmpeg: rename ost->pict_tmp to ost->resample_frameStefano Sabatini2011-05-07
| | | | | The new name is more consistent with the employed naming scheme, and more meaningful.
* ffmpeg: prefer dec/enc over ost/ist->st->codec in do_video_out()Stefano Sabatini2011-05-07
| | | | Compact code, improve readability.
* ffmpeg: move resample_changed check within the #if !CONFIG_AVFILTERStefano Sabatini2011-05-07
| | | | | | The check and the corresponding message in do_video_out() are unnecessary in the libavfilter path, as a similar check and message are performed within the buffer source.
* ffmpeg: remove useless intermediary variable resample_dst in do_video_out()Stefano Sabatini2011-05-07
|
* ffmpeg: simplify mid-stream reconfiguration when libavfilter is disabledStefano Sabatini2011-05-07
| | | | | | | | | | | | Implement lazy initialization of the image resample context, so that the initialization code does not need to be duplicated. Also manage the case in which resample/size change mid-stream. For each packet the code computes if resampling is needed. Previously the resample check was done only at the initialization, in case size/format changed and no resample was detected at the init stage ffmpeg was silently exiting.
* lavfi: add libavfilter/avcodec.h and avfilter_copy_frame_props()Stefano Sabatini2011-05-07
| | | | | | | | avfilter_copy_frame_props() avoids code duplication and increases robustness. The added files libavfilter/avcodec.[ch] are used for containing utilities useful for gluing togheter libavfilter and libavcodec.
* lavc: add format field to AVFrameStefano Sabatini2011-05-07
| | | | | | The format is a per-frame property, having it in AVFrame simplify the operation of extraction of that information, since avoids the need to access the codec/stream context.
* lavc: add width and height fields to AVFrameStefano Sabatini2011-05-07
| | | | | | width and height are per-frame properties, setting these values in AVFrame simplify the operation of extraction of that information, since avoids the need to check the codec/stream context.
* Use MAP_FAILED to check for mmap failure instead of manuallyReimar Döffinger2011-05-07
| | | | recreating the value.
* Use av_fast_malloc instead of av_fast_realloc.Reimar Döffinger2011-05-07
| | | | Avoids a memleak, is less code and might be faster.
* Simplify condition.Reimar Döffinger2011-05-07
|
* msvideo1enc: minor cosmetic cleanup, use FFALIGN, avoid calculating valueReimar Döffinger2011-05-07
| | | | twice and add a missing "const".
* Merge remote branch 'qatar/master'Michael Niedermayer2011-05-07
|\ | | | | | | | | | | * qatar/master: mov: fix composition timestamps on movie fragments. wmavoice: Use proper size in memeset().
| * mov: fix composition timestamps on movie fragments.Yusuke Nakamura2011-05-05
| | | | | | | | This fixes, for instance, the case that there is a track that has some samples with composition time offset and has a track run without sample-composition-time-offsets-present.
| * wmavoice: Use proper size in memeset().Alex Converse2011-05-05
| | | | | | | | | | sizeof(array_functrion_argument) gives the size of the pointer type not the size of the array to which it points.
* | mp3enc:simplifyMichael Niedermayer2011-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp3enc:better variable name for the frames field file postion.Michael Niedermayer2011-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp3enc: drop nested structsMichael Niedermayer2011-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp3enc:use FFMIN()Michael Niedermayer2011-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp3enc:Drop unneeded floating point math.Michael Niedermayer2011-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp3enc: drop sum and count bytes instead of bitrates from decoded headers.Michael Niedermayer2011-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp3enc: remove unneeded ifdefMichael Niedermayer2011-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp3enc: remove unneeded static const variables.Michael Niedermayer2011-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mp3enc: mux a XING headerPeter Belkner2011-05-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch below provides exactly that to the MP3 muxer. A XING header containing * the numer of frames, * the size, and * a TOC is generated. It's based on an idea by Anton Khirnov (restricted to the number of frames) found at http://patches.ffmpeg.org/patch/1891/ The TOC is generated as found in lame's "VbrTag.c". According to my tests the following reproduces the number of frames, the size and the TOC in "c.mp3" from "b.mp3" (except a shift due to shorter XING header generated by FFmpeg): lame -V2 a.wav b.mp3 ffmpeg -i b.mp3 -acodec copy -y c.mp3
* | avfilter: dont use AVFilterLink as priv for pictures as its freed too early.Michael Niedermayer2011-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter: Fix ticket82 / fix initial buffer values.Michael Niedermayer2011-05-07
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | AVFilter: use picture pool to avoid malloc().Michael Niedermayer2011-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avfilter_unref_buffer: favor av_freep()Michael Niedermayer2011-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | mpegvideo: fix 422 lowresMichael Niedermayer2011-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | aiffdec:Rewrite get_meta()Michael Niedermayer2011-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Allow encodiing empty subtitles.JULIAN GARDNER2011-05-06
| |
* | swscale: Dither for unscaled 10->8bit per channelMichael Niedermayer2011-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | swscale: dont reshuffle bytesMichael Niedermayer2011-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge remote branch 'qatar/master'Michael Niedermayer2011-05-06
|\| | | | | | | | | | | | | * qatar/master: configure: warn if pkg-config is missing Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * configure: warn if pkg-config is missingMans Rullgard2011-05-05
| | | | | | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* | avidec: correct frame_offset for seekingMichael Niedermayer2011-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Silence a warning if pkg_config is not installed.Carl Eugen Hoyos2011-05-06
| |
* | Makefile:Put lost tab back.Michael Niedermayer2011-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | avidec: detect mpeg4 keyframes in indexless aviMichael Niedermayer2011-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | In svq3 decoder, check negative mb_type, fix potential crash.Baptiste Coudurier2011-05-06
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | fate: mention fate documentation in the error messageFrancesco Cosoleto2011-05-06
| | | | | | | | | | Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | MPEG: support 4:4:4 lowresMichael Niedermayer2011-05-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | MPEG: support 4:4:4 intra lowresMichael Niedermayer2011-05-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavfi-regression: provide filter arguments to showfiltfmtsStefano Sabatini2011-05-05
| | | | | | | | | | | | In do_lavfi_pixfmts(), provide the filter arguments to showfiltfmts, since some filter may require non-null or non-empty argument string for working properly.
* | eval: add sqrt function for computing the square rootStefano Sabatini2011-05-05
| |
* | configure: add strong dependencies for movie source and mp filterStefano Sabatini2011-05-05
| |
* | SVQ3: do not modify const input bufferBaptiste Coudurier2011-05-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | SVQ3: Check that things match up after a frame.Baptiste Coudurier2011-05-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | SVQ3: Move svq3 specific fields to their own context.Baptiste Coudurier2011-05-05
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>