Mention VisualOn in the new codecs' long names to explain "libvo".
ffplay: implement -showmode option
The new option allows to select the starting show mode.
ffplay: use symbolic constant values for show_audio
Also rename VideoState->show_audio to show_mode.Improve readability.
ffplay: remove audio_write_get_buf_size() forward declaration
Move up the definition of audio_write_get_buf_size(), so that it isdefined before it is used. Simplify.
ffplay: avoid unnecessary intermediary struct in queue_picture()
When CONFIG_AVFILTER, use a AVFrame -> AVPicture cast rather thanexplicitely copy the image information from AVFrame to a newAVPicture.
Signed-off-by: Stefano Sabatini <email@example.com>
ffplay: remove unused field VideoState.dtg_active_format
Fix compilation with --disable-avfilter.
flv demuxer: dont error out due to index problems, but inform the user about it.Signed-off-by: Michael Niedermayer <firstname.lastname@example.org>
Merge remote branch 'qatar/master'
ASS decoder also requires ass_split.o to be compiled.
flvdec: Allow parsing keyframes metadata without seeking in most cases
Stop the avio input at a point where amf_parse_object cancontinue parsing the end of the object seamlessly, when alldata is available.
If unsupported data is encountered within the keyframes object,...
Error out if vaapi is not found
Make the behaviour consistent with the other external deps.
Signed-off-by: Anton Khirnov <email@example.com>
avio: undeprecate av_url_read_fseek/fpause under nicer names
It seems their replacements won't be ready anytime soon.
Fix compilation with --disable-yasm.
Add forgotten const to enum AVSampleFormatSigned-off-by: Michael Niedermayer <firstname.lastname@example.org>
libvo-*: Don't use deprecated sample format names and enum names
Signed-off-by: Martin Storsjö <email@example.com>
flvdec: Fix support for flvtool2 "keyframes based" generated index
Current keyframes data parser unconditionally rewind metadata tothe end at the end of function. As result ALL metadata locatedafter keyframes index not parsed, and as metadata object can have...
libavcodec: Use "const enum AVSampleFormat" in AVCodec initialization
Cosmetics: Rename variable param as the more appropriate dpyname.
Cosmetics: Fix white-space in av_log() message.
Fix output of AV_CH_LAYOUT_5POINT0 via alsa by reordering channels.
Support CODEC_ID_PCM_F64* output via alsa (stereo only).
Support CODEC_ID_PCM_S24* output via alsa (stereo only).
Use const where appropriate.
Spotted by Reimar.
Fix the conversion of AV_SAMPLE_FMT_FLT and _DBL to AV_SAMPLE_FMT_S32.
(1<<31) is undefined and seems to be evaluated by gcc to -2^31 whenthese formulae require 2^31.
These conversions still need fate tests.
Convert some undefined 1<<31 shifts into 1U<<31.
According to ISO 9899:1999 S 6.5.7/4:
The result of E1 << E2 is E1 left-shifted E2 bit positions; vacated bitsare filled with zeros. If E1 has an unsigned type, the value of theresult is E1× 2^E2, reduced modulo one more than the maximum value...
vpxenc: add CQ_LEVEL mapping
via the equivalent AVCodecContext::crf modifying the range allowed byoptions.c (0-51 -> 0-63)update configure check to require libvpx 0.9.6 (Bali)
Signed-off-by: Michael Niedermayer <firstname.lastname@example.org>
vpxenc: add VP8E_SET_STATIC_THRESHOLD mapping
via the equivalent AVCodecContext::mb_threshold
ffplay: fix weird brace placement in video_image_display()
ffplay: rename output_picture2() to output_picture()
The "2" suffix is confusing.
ffplay: remove useless intermediary variable dst_pix_fmt in queue_picture()
ffplay: avoid forward declaration for packet_queue_put()
Define the function before it is used. Simplify.
ffplay: compact expression in compute_mod()
Prefer "return X ? Y : Z" over "if (x) return Y; else return Z",reduce line count.
compute rects duration in ASS decoder
Signed-off-by: Aurelien Jacobs <email@example.com>
add avcodec_get_subtitle_defaults() to initialize AVSubtitle struct
Call this new function before decode() to replace the custom andinconsistant initialization in various decoders.This function is equivalent to avcodec_get_frame_defaults() for AVFrame....
Add unconditional return statement to yuva420_rgb32_MMX() / yuva420_bgr32_MMX().
When HAVE_7REGS was not defined these functions had an empty bodycausing the following warnings during compilation.In file included from libswscale/x86/yuv2rgb_mmx.c:58:libswscale/x86/yuv2rgb_template.c: In function ‘yuva420_rgb32_MMX’:...
Fix compilation of timefilter test program.
The printf function is forbidden in library code, but not in test programs,so #undefine the printf macro that disables the system printf function.
Signed-off-by: Diego Biurrun <firstname.lastname@example.org>
Add support for AMR-WB encoding via libvo-amrwbenc
The wrapper code is based on the libamr wrapper removed in SVN rev 19365.
Add an AAC encoder by using the libvo-aacenc library
oggdec: use av_freep() instead of av_free()Signed-off-by: Michael Niedermayer <email@example.com>
vsrc_buffer.h: add file doxy
vsrc_buffer.h: add multiple inclusion guards
vsrc_buffer: tweak error message in init()
Change:Expected 7 arguments, but only %d found in '%s'\nto:Expected 7 arguments, but %d found in '%s'\n
as the user may provide more than 7 arguments, in that case the erroris not misleading.
g722: Return 8 bits per sample for g722 in av_get_bits_per_sample
This fixes a failing assert in ff_raw_read_header (infate-g722dec-1), where bits_per_coded_sample is set using thisfunction and is required to have a positive value.
Revert "fbdev: simplify logic in fbdev_read_packet()"
This change is buggy.
This reverts commit d46c9f83cf495c901e6128ce1042190f620b89c4.
ffmpeg: rename configure_filters() to configure_video_filters()
Mostly useful for the audio-filters branch, to make more apparent thedistinction between configure_audio_filters() andconfigure_video_filters().
lavfi: add fieldorder filter
fbdev: simplify logic in fbdev_read_packet()
H264: Allow templating hl_decode_mb based on pixel_size.Signed-off-by: Michael Niedermayer <firstname.lastname@example.org>
H264: factor if() out of coef decoding loop of decode_cabac_residual_internal()Signed-off-by: Michael Niedermayer <email@example.com>
H264: Split out hl_motion and template it, this seems a bit fasterSigned-off-by: Michael Niedermayer <firstname.lastname@example.org>
H264: replace pixel_size by pixel_shiftSigned-off-by: Michael Niedermayer <email@example.com>
h264: Print bpp Signed-off-by: Michael Niedermayer <firstname.lastname@example.org>
Enable decoding of high bit depth h264.
This patch completes the high bit depth h264 decoding support.
Adds 8-, 9- and 10-bit versions of some of the functions used by the h264 decoder.
This patch lets e.g. dsputil_init chose dsp functions with respect tothe bit depth to decode. The naming scheme of bit depth dependentfunctions is <base name>_<bit depth>[_
] (i.e. the old...
Add support for higher QP values in h264.
In high bit depth, the QP values may now be up to (51 + 6*(bit_depth-8)).
Preparatory patch for high bit depth h264 decoding support.
H264: fix prefetchSigned-off-by: Michael Niedermayer <email@example.com>
Add the notion of pixel size in h264 related functions.
In high bit depth the pixels will not be stored in uint8_t like in thenormal case, but in uint16_t. The pixel size is thus 1 in normal bitdepth and 2 in high bit depth.
Preparatory patch for high bit depth h264 decoding support....
Make the h264 loop filter bit depth aware.
Template dsputil_internal.h with respect to pixel size, etc.
Template h264idct_internal.h with respect to pixel size, etc.
Template h264pred_internal.h with respect to bit depth, etc.
Template h264dsp_internal.h with respect to pixel size, etc.
Move some functions in dsputil.c into a new file dsputil_internal.h.
The functions moved are used when decoding h264.Preparatory patch for high bit depth h264 decoding support.
Move the functions in h264idct into a new file h264idct_internal.h.
Move the functions in h264pred.c into a new file h264pred_internal.h.
Move the functions in h264dsp.c into a new file h264dsp_internal.h
Add pixel formats for 9- and 10-bit yuv420p.
Also add support for these formats in libswscale.
Needed for high bit depth h264 decoding.
Choose h264 chroma dc dequant function dynamically.
H264: Fix slice threadsSigned-off-by: Michael Niedermayer <firstname.lastname@example.org>
avio: add more documentation for AVIOContext.
Fix input buffer size check in adpcm_ea decoder.
Unfortunately the output buffer size check assumes that theinput buffer is never over-consumed, thus this actuallyalso allowed to write outside the output buffer if "lucky".
Parse sprite data for WMVP and WVP2, and decode sprites for the latter
Replace outdated info on the FAQ
FAQ could use some work. This updates a few little details.
Signed-off-by: Michael Niedermayer <email@example.com>Signed-off-by: Anton Khirnov <firstname.lastname@example.org>
I think the documentation of sameq is causing confusion and misuse ofthis option.
pad: fix example explanation
"row" and "column" term positions in the explanation were inverted.
Signed-off-by: Stefano Sabatini <email@example.com>Signed-off-by: Anton Khirnov <firstname.lastname@example.org>
gradfun: add notice from the MPlayer manual
Add notice telling that the filter is designed for playback only.
eval: add support for trunc, ceil, and floor functions
documentation: add setdar and setsar description to filters.texi
avio: document some members of AVIOContext.
avio: document avio_close().
avio: cosmetics, vertically align comments.
avio: cosmetics, group the reading functions.
avio: cosmetics, merge all the FF_API_OLD_AVIO blocks.
avio: cosmetics, move AVIOContext to start of the file.
avio: update file header.
os: fix OpenBSD/PowerPC compilation
When attempting to re-enable the AltiVec support it was noticedthat we need to undefine _POSIX_C_SOURCE to appease the headersfor ff_get_cpu_flags_ppc() to be able to compile.
Signed-off-by: Luca Barbato <email@example.com>
pixfmt: add PIX_FMT_BGR48LE and PIX_FMT_BGR48BE
PIX_FMT_BGR48LE is used by PhantomCINE demuxer.
oggdec: fix demuxing chained audio streams
Chained ogg served by icecast and mpd should demuxproperly now.
Add "Did you provide a clear git commit log message?" to the patch checklistSigned-off-by: Michael Niedermayer <firstname.lastname@example.org>
x11: fix memleak
replace movw instruction in ac3dsp_armv6.S
AS libavcodec/arm/ac3dsp_armv6.offmpeg-src/libavcodec/arm/ac3dsp_armv6.S: Assembler messages:ffmpeg-src/libavcodec/arm/ac3dsp_armv6.S:40: Error: selected processordoes not support `movw r8,#0x1fe0'make1: *** [libavcodec/arm/ac3dsp_armv6.o] Error 1...
daud: Don't write packets that are too large to have their size expressed in the bytestream.
Abort Ogg header parsing when we encounter a data packet.
Fixes ticket #15.