Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-30Fix various unused variable warningsClément Bœsch
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-28cmdutils: remove OPT_FUNC2Stefano Sabatini
Make ff* tools only accept opt_* functions taking two arguments. The distinction between functions with one and two arguments is quite pointless. Simplify parse_options() code.
2011-05-27Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: (31 commits) ARM: add ARMv6 optimised av_clip_uintp2 ARM: remove volatile from asm statements in libavutil/intmath ARM: fix av_clipl_int32_arm() v4l: include avdevice.h ffserver: move close_connection() call to avoid a temporary string and copy. lavf: initialize demuxer private options. AVOptions: set string default values. lavdevice: mark v4l for removal on next major bump. swscale: fix compile on ppc. swscale: fix compile on x86-32. build: Remove generated .version file on distclean. configure: Add -D_GNU_SOURCE to CPPFLAGS on OS/2. doc: Drop hint at --enable-memalign-hack for MinGW, it is now autodetected. ffplay: Remove disabled code. Mark parameterless function declarations as 'void'. swscale: use av_clip_uint8() in yuv2yuv1_c(). swscale: remove VOF/VOFW. swscale: split chroma buffers into separate U/V planes. swscale: replace formatConvBuffer[VOF] by allocated array. rgb2rgb: remove duplicate mmx/mmx2/3dnow/sse2 functions. ... Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-26ffplay: Remove disabled code.Diego Biurrun
2011-05-19Add support for request_sample_format in ffmpeg and ffplay.Justin Ruggles
2011-05-17ffplay: remove audio_write_get_buf_size() forward declarationStefano Sabatini
Move up the definition of audio_write_get_buf_size(), so that it is defined before it is used. Simplify. (cherry picked from commit 8776f3d22e401e30d17856e341f6cabbbefa92f7)
2011-05-13Merge remote branch 'qatar/master'Michael Niedermayer
* qatar/master: (33 commits) rtpdec_qdm2: Don't try to parse data packet if no configuration is received ac3enc: put the counting of stereo rematrixing bits in the same place to make the code easier to understand. ac3enc: clean up count_frame_bits() and count_frame_bits_fixed() mpegvideo: make FF_DEBUG_DCT_COEFF output coeffs via av_log() instead of just via AVFrame. srtdec: make sure we don't write past the end of buffer wmaenc: improve channel count and bitrate error handling in encode_init() matroskaenc: make sure we don't produce invalid file with no codec ID matroskadec: check that pointers were initialized before accessing them lavf: fix function name in compute_pkt_fields2 av_dlog message lavf: fix av_find_best_stream when providing a wanted stream. lavf: fix av_find_best_stream when decoder_ret is given and using a related stream. ffmpeg: factorize quality calculation tiff: add support for SamplesPerPixel tag in tiff_decode_tag() tiff: Prefer enum TiffCompr over int for TiffContext.compr. mov: Support edit list atom version 1. configure: Enable libpostproc automatically if GPL code is enabled. Cosmetics: fix prototypes in oggdec oggdec: fix memleak with continuous streams. matroskaenc: add missing new line in av_log() call dnxhdenc: add AVClass in private context. ... swscale changes largely rewritten by me or replaced by baptsites due to lots of bugs in ronalds code. Above code is also just in case its not obvios to a large extended duplicates that where cherry picked from ffmpeg. Conflicts: configure ffmpeg.c libavformat/matroskaenc.c libavutil/pixfmt.h libswscale/ppc/swscale_template.c libswscale/swscale.c libswscale/swscale_template.c libswscale/utils.c libswscale/x86/swscale_template.c tests/fate/h264.mak tests/ref/lavfi/pixdesc_le tests/ref/lavfi/pixfmts_copy_le tests/ref/lavfi/pixfmts_null_le tests/ref/lavfi/pixfmts_scale_le tests/ref/lavfi/pixfmts_vflip_le Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-12configure: Do not unconditionally add -D_POSIX_C_SOURCE to CPPFLAGS.Diego Biurrun
Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems since it causes certain system functions to be hidden on some (BSD) systems. The solution is to only add the flag on systems that really require it, i.e. glibc-based ones. This change makes BSD systems compile out-of-the-box without the need for adding specific flags manually. It also allows dropping a number of flags set manually on a file-per-file basis, but were only present to work around breakage introduced by the presence of _POSIX_C_SOURCE. Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions in several places already, so it is preferable to define it globally instead of littering source files with individual #defines only needed for glibc.
2011-05-11ffplay: add a dummy option -i so that it is easy to switch between ffmpeg -i ↵Benjamin Larsson
"file" and ffplay -i "file". Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-10Add the notion of pixel size in h264 related functions.Oskar Arvidsson
In high bit depth the pixels will not be stored in uint8_t like in the normal case, but in uint16_t. The pixel size is thus 1 in normal bit depth and 2 in high bit depth. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-05-07ffplay: fix null pointer read when codec unavilable.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-07lavfi: add libavfilter/avcodec.h and avfilter_copy_frame_props()Stefano Sabatini
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.
2011-05-05ffplay: set CODEC_FLAG_EMU_EDGE earlierMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-05ffplay: fix memleak if avfilter is disabledalexandru_mg3
2011-05-05ffplay: removed unused variable channels.Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-02replace deprecated av_get_pict_type_char() with av_get_picture_type_char()Stefano Sabatini
2011-05-02Replace deprecated av_get_pict_type_char() with av_get_picture_type_char().Stefano Sabatini
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-05-02ffplay: demuxer specific options supportMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-05-01lavfi: rename AVFilterBufferRefVideoProps.pixel_aspect to sample_aspect_ratioStefano Sabatini
Improve consistency with libavcodec. This breaks libavfilter API/ABI. The non-sequential 2.1.0 -> 2.4.0 bump is due to the mess previously done with the lavfi minor number.
2011-05-01lavc: add a sample_aspect_ratio field to AVFrameStefano Sabatini
The sample aspect ratio is a per-frame property, so it makes sense to define it in AVFrame rather than in the codec/stream context. Simplify application-level sample aspect ratio information extraction, and allow further simplifications.
2011-05-01lavc: add a pkt_pos field to AVFrameStefano Sabatini
This is similar to what was done with pkt_pts. This simplifies the operation of extracting the pos information from the AVPacket, and allows further simplifications.
2011-04-29Replace some commented-out debug printf() / av_log() messages with av_dlog().Diego Biurrun
2011-04-27ffplay: move output_picture() code to queue_picture()Stefano Sabatini
Move output_picture() code to queue_picture(), and remove it. Simplify code path.
2011-04-27ffplay: rename video_refresh_timer() to video_refresh()Stefano Sabatini
The new name is shorter and less confusing.
2011-04-27ffplay: rename decode_thread to read_thread, parse_tid to read_tidStefano Sabatini
The new names are less misleading and more reciprocally consistent.
2011-04-26ffplay: fix logic for selecting the show mode in case of missing videoStefano Sabatini
Also automatically select the show mode only if not specified by the user. Fix trac issue #109. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-26ffplay: name ShowMode enumStefano Sabatini
Help debugging with GDB, maybe cleaner/safer. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-25ffplay: avoid SIGFPE exception in SDL_DisplayYUVOverlayStefano Sabatini
In video_image_display(), fix exception occurring when the size of the rectangle passed to SDL_DisplayYUVOverlay() is 0x0, which happens when interactively resizing the SDL window. This is done by forcing the minimum size to 1x1. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-24Merge remote branch 'qatar/master'Michael Niedermayer
* qatar/master: Handle unicode file names on windows rtp: Rename the open/close functions to alloc/free Lowercase all ff* program names. Refer to ff* tools by their lowercase names. NOT Pulled Replace more FFmpeg instances by Libav or ffmpeg. Replace `` by $() syntax in shell scripts. patcheck: Allow overiding grep program(s) through environment variables. NOT Pulled Remove stray libavcore and _g binary references. vorbis: Rename decoder/encoder files to follow general file naming scheme. aacenc: Fix whitespace after last commit. cook: Fix small typo in av_log_ask_for_sample message. aacenc: Finish 3GPP psymodel analysis for non mid/side cases. Remove RDFT dependency from AAC decoder. Add some debug log messages to AAC extradata Fix mov debug (u)int64_t format strings. bswap: use native types for av_bwap16(). doc: FLV muxing is supported. applehttp: Handle AES-128 encrypted streams Add a protocol handler for AES CBC decryption with PKCS7 padding doc: Mention that DragonFly BSD requires __BSD_VISIBLE set Conflicts: ffplay.c ffprobe.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-23Lowercase all ff* program names.Diego Biurrun
2011-04-23ffplay: factorize code calling output_packet() in video_thread()Stefano Sabatini
Slightly simplify. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-23ffplay: remove reference to unused QETimer symbolStefano Sabatini
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-23ffplay: rename stream_pause() to stream_toggle_pause()Stefano Sabatini
The new name is less misleading, since the function will resume the stream if it is currently paused. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-20Merge remote branch 'qatar/master'Michael Niedermayer
* qatar/master: (37 commits) In avcodec_open(), set return code to an error value only when an error occurs instead of unconditionally at the start of the function. lavc: remove reference to opt.h from Makefile. prefer avio_check() over url_exist() avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols lavu: remove misc disabled cruft lavu: remove FF_API_OLD_IMAGE_NAMES cruft NOT PULLED lavu: remove FF_API_OLD_EVAL_NAMES cruft lavc: remove misc disabled cruft. lavc: remove the FF_API_INOFFICIAL cruft. lavc: remove the FF_API_SET_STRING_OLD cruft. lavc: remove the FF_API_USE_LPC cruft. lavc: remove the FF_API_SUBTITLE_OLD cruft. lavc: remove the FF_API_VIDEO_OLD cruft. lavc: remove the FF_API_AUDIO_OLD cruft. lavc: remove the FF_API_OPT_SHOW cruft. lavc: remove the FF_API_MM_FLAGS cruft. lavf: remove misc disabled cruft. lavf: remove FF_API_INDEX_BUILT cruft lavf: remove FF_API_URL_CLASS cruft. lavf: remove FF_API_SYMVER cruft ... Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-19lavc: remove the FF_API_SET_STRING_OLD cruft.Anton Khirnov
2011-04-13ffplay: implement -showmode optionStefano Sabatini
The new option allows to select the starting show mode.
2011-04-13ffplay: use symbolic constant values for show_audioStefano Sabatini
Also rename VideoState->show_audio to show_mode. Improve readability.
2011-04-13ffplay: remove audio_write_get_buf_size() forward declarationStefano Sabatini
Move up the definition of audio_write_get_buf_size(), so that it is defined before it is used. Simplify.
2011-04-13ffplay: avoid unnecessary intermediary struct in queue_picture()Stefano Sabatini
When CONFIG_AVFILTER, use a AVFrame -> AVPicture cast rather than explicitely copy the image information from AVFrame to a new AVPicture. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-13ffplay: remove unused field VideoState.dtg_active_formatStefano Sabatini
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-13Fix compilation with --disable-avfilter.Carl Eugen Hoyos
2011-04-12ffplay: fix weird brace placement in video_image_display()Stefano Sabatini
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-12ffplay: rename output_picture2() to output_picture()Stefano Sabatini
The "2" suffix is confusing. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-12ffplay: remove useless intermediary variable dst_pix_fmt in queue_picture()Stefano Sabatini
Simplify. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-12ffplay: avoid forward declaration for packet_queue_put()Stefano Sabatini
Define the function before it is used. Simplify. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-12ffplay: compact expression in compute_mod()Stefano Sabatini
Prefer "return X ? Y : Z" over "if (x) return Y; else return Z", reduce line count. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
2011-04-11Add the notion of pixel size in h264 related functions.Oskar Arvidsson
In high bit depth the pixels will not be stored in uint8_t like in the normal case, but in uint16_t. The pixel size is thus 1 in normal bit depth and 2 in high bit depth. Preparatory patch for high bit depth h264 decoding support. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-08Merge remote branch 'qatar/master'Michael Niedermayer
* qatar/master: proto: include os_support.h in network.h matroskaenc: don't write an empty Cues element. lavc: add a FF_API_REQUEST_CHANNELS deprecation macro avio: move extern url_interrupt_cb declaration from avio.h to url.h avio: make av_register_protocol2 internal. avio: avio_ prefix for url_set_interrupt_cb. avio: AVIO_ prefixes for URL_ open flags. proto: introduce listen option in tcp doc: clarify configure features proto: factor ff_network_wait_fd and use it on udp Conflicts: ffmpeg.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-08ffplay: Set EMU_EDGE if dr1, this is an alternative fix for ticket40.Michael Niedermayer
Idea borrowed from mplayer. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2011-04-07avio: avio_ prefix for url_set_interrupt_cb.Anton Khirnov