summaryrefslogtreecommitdiff
path: root/doc/examples
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: docs: use -bsf:[vas] instead of -[vas]bsf. mpegaudiodec: Prevent premature clipping of mp3 input buffer. lavf: move the packet keyframe setting code. oggenc: free comment header for all codecs lcl: error out if uncompressed input buffer is smaller than framesize. mjpeg: abort decoding if packet is too large. golomb: use HAVE_BITS_REMAINING() macro to prevent infloop on EOF. get_bits: add HAVE_BITS_REMAINING macro. lavf/output-example: use new audio encoding API correctly. lavf/output-example: more proper usage of the new API. tiff: Prevent overreads in the type_sizes array. tiff: Make the TIFF_LONG and TIFF_SHORT types unsigned. apetag: do not leak memory if avio_read() fails apetag: propagate errors. SBR DSP x86: implement SSE sbr_hf_g_filt SBR DSP x86: implement SSE sbr_sum_square_sse SBR DSP: use intptr_t for the ixh parameter. Conflicts: doc/bitstream_filters.texi doc/examples/muxing.c doc/ffmpeg.texi libavcodec/golomb.h libavcodec/x86/Makefile libavformat/oggenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* doc/examples: rename filtering.c into filtering_video.c.Clément Bœsch2012-02-21
|
* doc/examples: add audio decoding/filtering example.Clément Bœsch2012-02-21
| | | | | | Mostly based on doc/examples/filtering.c. lavfi API is still limited to "buffer feeding" instead of "frame feeding" at the moment, so this example code sticks with it.
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-20
| | | | | | | | | | | | | | | | * qatar/master: doxy: remove reference to removed api examples: unbreak compilation ttadec: cosmetics: reindent sunrast: use RLE trigger macro inplace of the hard coded value. sunrastenc: set keyframe flag for the output packet. mpegvideo_enc: switch to encode2(). mpegvideo_enc: force encoding delay of at least 1 frame when low_delay=0 Conflicts: doc/examples/muxing.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* examples: add -Wall to CFLAGS.Clément Bœsch2012-02-19
|
* examples/filtering: fix unused variable and return value in open_input_file().Clément Bœsch2012-02-19
|
* examples/filtering: fix deprecated function calls warnings.Clément Bœsch2012-02-19
|
* examples/filtering: fix implicit declarations and function mis-usage.Clément Bœsch2012-02-19
|
* example: Update decoding/encoding example to the new API.Michael Niedermayer2012-01-28
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* example: update muxing example to purple APIMichael Niedermayer2012-01-28
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* decoding example: reset pts/dts after subpacket.Michael Niedermayer2011-12-13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: cljr: K&R cosmetics cljr: return a more sensible value when encountering invalid headers cljr: drop unnecessary emms_c() calls without MMX code cljr: remove useless casts cljr: group encode/decode parts under single ifdefs cljr: remove stray semicolon cljr: add missing return statement in decode_end() doc: add pulseaudio to the input list avconv: remove unsubstantiated comment shorten: avoid abort() on unknown audio types cljr: add encoder build: merge lists of HTML documentation targets tests/examples: Mark some variables only used within their files as static. tests/tools/examples: Replace direct exit() calls by return. x86 cpuid: set vendor union members separately cljr: release picture at end of decoding rv40: NEON optimised rv40 qpel motion compensation Conflicts: doc/examples/muxing.c libavcodec/cljr.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mov: Don't av_malloc(0). avconv: only allocate 1 AVFrame per input stream avconv: fix memleaks due to not freeing the AVFrame for audio h264-fate: remove -strict 1 except where necessary (mr4/5-tandberg). misc Doxygen markup improvements doxygen: eliminate Qt-style doxygen syntax g722: Add a regression test for muxing/demuxing in wav g722: Change bits per sample to 4 g722dec: Signal skipping the lower bits via AVOptions instead of bits_per_coded_sample api-example: update to use avcodec_decode_audio4() avplay: use avcodec_decode_audio4() avplay: use a separate buffer for playing silence avformat: use avcodec_decode_audio4() in avformat_find_stream_info() avconv: use avcodec_decode_audio4() instead of avcodec_decode_audio3() mov: Allow empty stts atom. doc: document preferred Doxygen syntax and make patcheck detect it Conflicts: avconv.c ffplay.c libavcodec/mlpdec.c libavcodec/version.h libavformat/mov.c tests/codec-regression.sh tests/fate/h264.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
* doc/example/muxing: fix video timestampsMichael Niedermayer2011-12-02
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* muxing example: set encoder defaultsMichael Niedermayer2011-12-02
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Fix various if parenthesis misplacements.Clément Bœsch2011-11-21
|
* Replace remaining av_new_stream() with avformat_new_stream().Clément Bœsch2011-11-05
|
* examples/filtering: remove #include vsink_buffer.h, the header does not existMichael Niedermayer2011-11-05
| | | | | Found-by: teratorn Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: presets: rename presets directory lavc: make avcodec_get_context_defaults3 "officially" public lavf: replace av_new_stream->avformat_new_stream part II. lavf,lavd: replace av_new_stream->avformat_new_stream part I. lavf: add avformat_new_stream as a replacement for av_new_stream. Use correct scaling table for bwd-pred MVs in second B-field Ut Video decoder Makefile: change presets extension to .avpreset lavfi: add rgbtestsrc source, ported from MPlayer libmpcodecs lavfi: add testsrc source AVOptions: add documentation. presets: update libx264 ffpresets Conflicts: Changelog doc/APIchanges doc/ffmpeg.texi ffpresets/libx264-ipod320.ffpreset ffpresets/libx264-ipod640.ffpreset ffserver.c libavcodec/avcodec.h libavcodec/options.c libavcodec/version.h libavdevice/libdc1394.c libavfilter/avfilter.h libavfilter/vsrc_testsrc.c libavformat/flvdec.c libavformat/riff.c libavformat/version.h libavformat/wtv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* examples/decoding_encoding.c: test mpeg1 and h264Michael Niedermayer2011-10-17
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/decoding_encoding.c: silence compiler warningMichael Niedermayer2011-10-17
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/decoding_encoding.c: set a codec private option to demonstrate how ↵Michael Niedermayer2011-10-17
| | | | | | to do that Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/decoding_encoding.c: switch to h264Michael Niedermayer2011-10-17
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'luzero/segment'Michael Niedermayer2011-10-17
| | | | | | | | | | | * luzero/segment: segment: extend options segment: basic pattern support and playlist output segment: introduce segmented chain muxer output-example: extend duration ratecontrol: estimate twice the qscale values Merged-by: Michael Niedermayer <michaelni@gmx.at>
* examples/encoding: rename to decoding_encoding.c as the file is an example ↵Michael Niedermayer2011-10-11
| | | | | | for both. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/encoding: List more formats to make it more clear to the reader ↵Michael Niedermayer2011-10-11
| | | | | | what is not handled in libavcodec. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/muxing.c: apply misc style fixesStefano Sabatini2011-07-27
|
* examples/muxing.c: fix typo, futur -> futureStefano Sabatini2011-07-27
|
* examples/encoding.c: adopt a less restrictive licenseStefano Sabatini2011-07-23
| | | | | | | Adopt ISC (Internet Systems Consortium) license in place of LGPL, consistent with the other examples. Fabrice explicitely approved the relicensing.
* Merge commit '142e76f1055de5dde44696e71a5f63f2cb11dedf'Michael Niedermayer2011-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '142e76f1055de5dde44696e71a5f63f2cb11dedf': swscale: fix crash with dithering due incorrect offset calculation. matroskadec: fix stupid typo (!= -> ==) build: remove duplicates from order-only directory prerequisite list build: rework rules for things in the tools dir configure: fix --cpu=host with gcc 4.6 ARM: use const macro to define constant data in asm bitdepth: simplify FUNC/FUNCC macros dsputil: remove ff_emulated_edge_mc macro used in one place 9/10-bit: simplify clipping macros matroskadec: reindent matroskadec: defer parsing of cues element until we seek. lavc: add support for codec-specific defaults. lavc: make avcodec_alloc_context3 officially public. lavc: remove a half-working attempt at different defaults for audio/video codecs. ac3dec: add a drc_scale private option lavf: add avformat_find_stream_info() lavc: introduce avcodec_open2() as a replacement for avcodec_open(). Conflicts: Makefile libavcodec/utils.c libavformat/avformat.h libswscale/swscale_internal.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* examples/muxing.c: remove doxy reference to unexisting fileStefano Sabatini2011-07-10
|
* doc/examples: add decoding/filtering example programStefano Sabatini2011-07-10
|
* examples/encoding.c: remove unnecessary includesStefano Sabatini2011-07-10
| | | | Simplify.
* examples/encoding.c: use av_image_alloc() for allocating an image bufferStefano Sabatini2011-07-10
| | | | Simplify.
* examples/encoding.c: replace "this library" with "libavcodec" in doxyStefano Sabatini2011-07-09
| | | | So it is more clear the context of the sentence.
* examples/encoding.c: remove reference to unexisting fileStefano Sabatini2011-07-09
|
* examples/muxing.c: set sample format for encodingStefano Sabatini2011-07-09
| | | | | This is required, or avcodec_open() will abort because of invalid sample format.
* examples: move metadata-example.c to doc/examplesStefano Sabatini2011-07-08
|
* examples: rename "-example" suffix from examples filesStefano Sabatini2011-07-04
| | | | | The suffix is redundant since the containing directory itself is called "examples". Simplify.
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: (40 commits) H.264: template left MB handling H.264: faster fill_decode_caches H.264: faster write_back_* H.264: faster fill_filter_caches H.264: make filter_mb_fast support the case of unavailable top mb Do not include log.h in avutil.h Do not include pixfmt.h in avutil.h Do not include rational.h in avutil.h Do not include mathematics.h in avutil.h Do not include intfloat_readwrite.h in avutil.h Remove return statements following infinite loops without break RTSP: Doxygen comment cleanup doxygen: Escape '\' in Doxygen documentation. md5: cosmetics md5: use AV_WL32 to write result md5: add fate test md5: include correct headers md5: fix test program doxygen: Drop array size declarations from Doxygen parameter names. doxygen: Fix parameter names to match the function prototypes. ... Conflicts: libavcodec/x86/dsputil_mmx.c libavformat/flvenc.c libavformat/oggenc.c libavformat/wtv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-07-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: cosmetics: fix some then/than typos doxygen: Include libavcodec and libavformat examples into the documentation avutil: elaborate documentation for av_get_random_seed Add support for aac streams in mp4/mov without extradata. aes: whitespace cosmetics adler32: whitespace cosmetics swscale: fix another yuv range conversion overflow in 16bit scaling. Fix cpu flags test program opt-test: Add missing braces to silence compiler warnings. build: Eliminate obsolete test targets. udp: Fix a compilation warning swscale: Unbreak build with --enable-small base64: add fate test aes: improve test program and add fate test adler32: make test program more useful and add fate test swscale: fix yuv range correction when using 16-bit scaling. aacenc: Make chan_map const correct Conflicts: Makefile doc/examples/muxing-example.c libavformat/udp.c libavutil/random_seed.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* doc/examples: give meaningful names to the example filesStefano Sabatini2011-06-01
| | | | | | Rename: api-example.c -> encoding-example.c output-example.c -> muxing-example.c
* api-example: uppercase first letter in "copyright"Stefano Sabatini2011-05-30
| | | | Improve consistency.
* output-example: create @file doxy from text in the copyright headerStefano Sabatini2011-05-30
|
* examples: move API examples to a dedicated dir in docStefano Sabatini2011-05-30