summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* avconv: only set SAR once on the decoded frame.Anton Khirnov2012-04-09
| | | | No point in repeating the assignment for each output stream.
* avcodec: validate the channel layout vs. channel count for decodersJustin Ruggles2012-04-08
| | | | | Set avctx->channel_layout to 0 if the channel count does not match avctx->channels.
* audioconvert: make av_get_channel_layout accept composite names.Nicolas George2012-04-08
| | | | | | Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
* avutil: add av_get_packed_sample_fmt() and av_get_planar_sample_fmt()Justin Ruggles2012-04-08
| | | | Based on a patch by Clément Bœsch <ubitux@gmail.com>
* rtsp: Don't use av_malloc(0) if there are no streamsMartin Storsjö2012-04-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Don't use uninitialized data if there are no streamsMartin Storsjö2012-04-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* vaapi: mpeg2: fix slice_vertical_position calculation.Gwenole Beauchesne2012-04-08
| | | | | | | | | | | | | | | | | VASliceParameterBufferMPEG2.slice_vertical_position shall express the slice vertical position from the original bitstream. The HW decoder will correctly decode to the right line computed from the appropriate top_field_first and is_first_field flags. This patch aligns with DXVA's definition, which is what most HW and drivers expect. In particular, Intel PowerVR (Cedarview et al.) and NVIDIA (through VA-to-VDPAU layer). Since it looks more complex to fix binary drivers, I aligned the Intel Gen driver (Sandy Bridge et al.) to this behaviour, while maintaining compatibility with codec layers not providing this patch yet. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* hwaccel: mpeg2: decode first field, if requested.Gwenole Beauchesne2012-04-08
| | | | | | | | | | | | | | | | | | | If user opted to present fields as they come, then the first field picture needs to be submitted to the HW for decoding. In particular, this fixes MPEG-2 decoding of interlaced streams. Tested on Intel Cedar Trail, Sandy Bridge and Ivy Bridge platforms. Someone reported on the ffmpeg-devel@ list this also works on DXVA (Windows) and other Linux platforms (NVIDIA, through the VA wrapper). This also means a similar patch to non-hwaccel VDPAU may be necessary. Note: I believe the SLICE_FLAG_ALLOW_FIELD is useless since the first field shall always be submitted to the HW anyway. Nobody uses HW accels (dxva, vaapi, vdpau, etc.) without that flag though. Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Fix indentationMartin Storsjö2012-04-08
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* rtsp: Don't expose the MS-RTSP RTX data stream to the callerMartin Storsjö2012-04-08
| | | | | | | | This avoids exposing a dummy AVStream which won't get any data and which will make avformat_find_stream_info wait for info about this stream. Signed-off-by: Martin Storsjö <martin@martin.st>
* rtpdec_asf: Set the no_resync_search option for the chained asf demuxerMartin Storsjö2012-04-07
| | | | | | | | | | Searching for packet markers doesn't make sense for this use case, where packets are fed one at a time to the demuxer. This fixes playing back streams that have packets not starting with the 0x82, 0x00, 0x00 marker. Signed-off-by: Martin Storsjö <martin@martin.st>
* asfdec: Add an option for not searching for the packet markersMartin Storsjö2012-04-07
| | | | | | Some streams don't contain these. Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Clean up the tiffenc pix_fmts declaration to match the style of ↵Martin Storsjö2012-04-07
| | | | | | others Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Align codec declarationsMartin Storsjö2012-04-06
| | | | | | | Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Convert mimic.c to utf-8Martin Storsjö2012-04-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avconv: remove an unused function parameter.Anton Khirnov2012-04-06
|
* avconv: remove now pointless variables.Anton Khirnov2012-04-06
|
* avconv: drop support for building without libavfilter.Anton Khirnov2012-04-06
| | | | | | | Since the mandatory memcpy in vsrc_buffer has been eliminated, there shouldn't be any significant reason to build without lavfi anymore. This will make upcoming support for complex filtergraphs easier to do.
* nellymoserenc: fix crash due to memsetting the wrong area.Reimar Döffinger2012-04-06
| | | | | Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Signed-off-by: Martin Storsjö <martin@martin.st>
* libavformat: Only require first packet to be known for audio/video streamsJoakim Plate2012-04-06
| | | | | | | | It can take a long time before subtitles or data streams show up, so we shouldn't wait for those before assuming we have all info for streams. Signed-off-by: Martin Storsjö <martin@martin.st>
* avplay: Don't try to scale timestamps if the tb isn't setMartin Storsjö2012-04-06
| | | | | | | | | | If get_filtered_video_frame failed above, tb might not be initialized at all, so don't scale using it. This fixes cases where avplay could crash if aborting avformat_find_stream_info with ctrl+c. Signed-off-by: Martin Storsjö <martin@martin.st>
* cosmetics: Align muxer/demuxer declarationsMartin Storsjö2012-04-06
| | | | | | | Also add missing trailing commas, break long codec_tag lines and add spaces in codec_tag declarations. Signed-off-by: Martin Storsjö <martin@martin.st>
* mpeg12: Do not change frame_pred_frame_dct flag and demote error into a warningAnne Aaron2012-04-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avcodec: remove avcodec_guess_channel_layout()Justin Ruggles2012-04-05
| | | | | It is not public because the header is not installed, and its functionality has been replaced by av_get_default_channel_layout().
* avutil: Add av_get_default_channel_layout()Justin Ruggles2012-04-05
| | | | Also, use the new function in the AC-3 encoder.
* h264: Factorize declaration of mb_sizes array.Diego Biurrun2012-04-05
|
* vsrc_buffer: when no frame is available, return an error instead of segfaulting.Anton Khirnov2012-04-05
|
* configure: add dl to frei0r extralibs.Anton Khirnov2012-04-05
|
* dsputil x86: use SSE float instruction instead of SSE2 integer equivalentChristophe GISQUET2012-04-04
| | | | | | All the more required since the users are pure SSE functions. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* dsputil x86: remove deprecated parameter from scalarproduct_int16 prototypeChristophe GISQUET2012-04-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* vp8dsp x86: perform rounding shift with a single instructionChristophe GISQUET2012-04-04
| | | | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* fate: add BMP tests.Ronald S. Bultje2012-04-04
|
* swscale: handle complete dimensions for monoblack/white.Ronald S. Bultje2012-04-04
| | | | Fixes bug 269.
* aacenc: Mark deinterleave_input_samples argument as const.Diego Biurrun2012-04-04
| | | | | This fixes the warning: libavcodec/aacenc.c:524: warning: passing argument 2 of ‘deinterleave_input_samples’ discards qualifiers from pointer target type
* vf_unsharp: Mark readonly variable as const.Diego Biurrun2012-04-04
| | | | | This fixes the following warning: libavfilter/vf_unsharp.c:106: warning: initialization discards qualifiers from pointer target type
* h264: fix 4:2:2 PCM-macroblocks decodingAnton Mitrofanov2012-04-04
| | | | | | Fixes bug 239. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* w32threads: Make pthread_cond_wait follow POSIXDerek Buitenhuis2012-04-04
| | | | | | | | pthread_cond_wait is supposed to return an integer, and indeed does sometimes. Fix its function declaration to match its behavior and POSIX. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* cosmetics: Consistently place static, inline and av_cold attributes/keywords.Diego Biurrun2012-04-04
|
* sbrdsp: Use standard multiple inclusion guards.Diego Biurrun2012-04-04
|
* pcm: K&R formatting cosmeticsAneesh Dogra2012-04-04
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* rawdec: Support fourccs YV16 and YV24Piotr Bandurski2012-04-03
|
* rtmp: implement bandwidth notificationRaffaele Sena2012-04-03
| | | | | | Improve compatibility with some servers. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* rtmp: update supported audio codecs valueSamuel Pitoiset2012-04-03
| | | | | | | | The audio codecs property is composed by all values except SUPPORT_SND_INTEL (0x0008) and SUPPORT_SND_UNUSED (0x0010) which are unused. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Unscaled Planar RGB -> RGB support in swscale.Hans-Kristian Arntzen2012-04-03
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* FATE: Add RALF decoding testDerek Buitenhuis2012-04-01
| | | | Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* vsrc_buffer: allow buffering arbitrary number of frames.Anton Khirnov2012-04-01
|
* vf_scale: avoid a pointless memcpy in no-op conversion.Anton Khirnov2012-04-01
| | | | I.e. just pass the buffer along when src parameters == dst parameters.
* avfiltergraph: try to reduce format conversions in filters.Anton Khirnov2012-04-01
| | | | | | | | | | | | | Current code, with a filterchain such as (input - yuv411) -> (scale - any) -> (sink - any) will result in yuv420 being chosen for the second link, which is clearly not right. This commit attempts to improve in the following way: repeat until convergence: loop over all filters find input link with exactly one format force this format on all output links of the same type (if possible)
* avfiltergraph: add an AVClass to AVFilterGraph on next major bump.Anton Khirnov2012-04-01
| | | | It will be used for logging, possibly also AVOptions.
* id3v2: fix skipping extended header in id3v2.4Anton Khirnov2012-04-01
| | | | In v2.4, the length includes the length field itself.