Support CODEC_ID_PCM_S24* output via alsa (stereo only).
Use const where appropriate.
Spotted by Reimar.
Mention VisualOn in the new codecs' long names to explain "libvo".
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 <email@example.com>
vpxenc: add VP8E_SET_STATIC_THRESHOLD mapping
via the equivalent AVCodecContext::mb_threshold
Merge remote branch 'qatar/master'
ffplay: fix weird brace placement in video_image_display()
Signed-off-by: Stefano Sabatini <firstname.lastname@example.org>
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.
Signed-off-by: Martin Storsjö <email@example.com>
Add an AAC encoder by using the libvo-aacenc library
oggdec: use av_freep() instead of av_free()Signed-off-by: Michael Niedermayer <firstname.lastname@example.org>
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 <email@example.com>
H264: factor if() out of coef decoding loop of decode_cabac_residual_internal()Signed-off-by: Michael Niedermayer <firstname.lastname@example.org>
H264: Split out hl_motion and template it, this seems a bit fasterSigned-off-by: Michael Niedermayer <email@example.com>
H264: replace pixel_size by pixel_shiftSigned-off-by: Michael Niedermayer <firstname.lastname@example.org>
h264: Print bpp Signed-off-by: Michael Niedermayer <email@example.com>
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 <firstname.lastname@example.org>
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 <email@example.com>
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
Signed-off-by: Anton Khirnov <firstname.lastname@example.org>
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.
pthread: validate_thread_parameters() ignored slice-threading being intentionally off
The thread_type API allows you to request only FF_THREAD_FRAME (instead ofFRAME | SLICE), but it was being ignored.We don't implement both of them at the same time, so there isn't an effect...
Use consistent condition for whether to run slice-threading execute function.
Signed-off-by: Ronald S. Bultje <email@example.com>
avformat.h: fix a misplaced #endif
vaapi: cope with VA-API 0.32, i.e. fix VC-1 decoding on Sandy Bridge.
(cherry picked from commit a18e7b4fb77d3799cf21110b5e6dda4691a295b3)
Signed-off-by: Reinhard Tartler <firstname.lastname@example.org>
vaapi: filter out DELAYED_PIC_REF flag to determine field.
This fixes ticket #23.
(cherry picked from commit 621f4c98df4ee9fd604a614f31e09eef9dd7d3ca)
CrystalHD: Improve detection of h.264 content.
As previously discussed, the CrystalHD hardware returns exceptionallyuseless information about interlaced h.264 content - to the extentthat it's not possible to distinguish most MBAFF and PAFF content until...
CrystalHD: Carry picture type from input to output picture.
Now that we know the type of the input picture, we have to bringthat information to the output picture to help identify its type.We do this by adding a field to the opaque_list node.
Signed-off-by: Philip Langdale <email@example.com>
CrystalHD: Bring in h.264 parser to establish picture type.
As the hardware is unreliable, we will have to use the h.264 parserto identify whether an input picture is a field or a frame. Thischange loads the parser and extracts the picture type.
CrystalHD: Change opaque_list_pop to return the node.
In preparation for adding additional fields to the node, returnthe node instead of the pts value. This requires the caller tofree the node.
CrystalHD: Fix whitespace after previous change.
'git diff -w' confirmed to return nothing.
CrystalHD: Handle different h.264 MBAFF packing.
I found another MBAFF sample where the input:output pattern isthe same as mpeg2 and vc1 (fieldpair input, individual field output).While I'm not sure how you can output individual fields from MBAFF,if I apply the mpeg2/vc1 handling to this file, it plays correctly....
flv: Only parse keyframe index when the underlaying protocol allows seeking as we need to seek to read the indexSigned-off-by: Michael Niedermayer <firstname.lastname@example.org>
Fix support for flvtool2 "keyframes based" generated index in FLV format decoder
Current keyframes data parser unconditionally rewind metadata to the endat the end of function. As result ALL metadata located after keyframesindex not parsed,and as metadata object can have ANY placement inside metadata it can...
Fix ticket21, temporary audio array was too small.Signed-off-by: Michael Niedermayer <email@example.com>
lavf: bump minor and add an APIChanges entry for avformat cleanup
lavf: get rid of ffm-specific stuff in avformat.h
avio: deprecate av_protocol_next().
avio: add a function for iterating though protocol names.
lavf: rename a parameter of av_sdp_create from buff->buf
This is more consistent with the rest of the API.
lavf: rename avf_sdp_create to av_sdp_create.
The new name is more consistent with the rest of the API.
lavf: make av_guess_image2_codec internal
It doesn't look very useful as a public function.
avio: make URLProtocol internal.