aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
Commit message (Collapse)AuthorAgeFilesLines
...
| * build: Separate logic for building examples from that for building avtoolsDiego Biurrun2017-02-211-0/+5
| |
* | Merge commit 'acb0dea27efff4b35796015b96570b59fd517078'James Almer2017-09-292-50/+94
|\| | | | | | | | | | | | | | | | | | | | | | | * commit 'acb0dea27efff4b35796015b96570b59fd517078': build: Split logic for building examples off into a separate Makefile We already have a Makefile in doc/examples, but it's separate from the build system and meant to be installed as part of the documentation to help users compile the installed .c example files. Move it to Makefile.example to make place for the new build system Makefile. Merged-by: James Almer <jamrial@gmail.com>
| * build: Split logic for building examples off into a separate MakefileDiego Biurrun2017-02-211-0/+26
| |
| * examples: fix a typo in an error messageAleksandr Slobodeniuk2016-12-021-1/+1
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | add missing ignore filesJesse Liu2017-09-101-0/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | examples/hw_decode: Add a HWAccel decoding example.Jun Zhao2017-07-302-0/+267
| | | | | | | | | | | | | | | | | | Works with VAAPI, VDPAU, DXVA2 and D3D11VA. Signed-off-by: Liu, Kaixuan <kaixuan.liu@intel.com> Signed-off-by: Jun Zhao <jun.zhao@intel.com> Reviewed-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Mark Thompson <sw@jkqxz.net>
* | examples/encode_video: slightly improve error reportingStefano Sabatini2017-05-311-3/+4
| |
* | examples/encode_video: add logStefano Sabatini2017-05-311-1/+4
| | | | | | | | This helps to visualize how the send/receive API works.
* | examples: do not use AVFrame accessorMuhammad Faiz2017-04-233-3/+3
| | | | | | | | | | Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
* | doc/examples/decode_video: Fix format string vulnerabilityMichael Niedermayer2017-04-091-1/+1
| | | | | | | | | | | | Fixes: CID1404843 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit 'c7ab0eb3050acdd3b8cab2c55fc9c1b2e8610a65'James Almer2017-04-041-7/+10
|\| | | | | | | | | | | | | * commit 'c7ab0eb3050acdd3b8cab2c55fc9c1b2e8610a65': examples/decode_video: allocate the packet dynamically Merged-by: James Almer <jamrial@gmail.com>
| * examples/decode_video: allocate the packet dynamicallyAnton Khirnov2016-11-231-5/+8
| | | | | | | | AVPackets on stack are discouraged.
* | Merge commit '728ea23cce07467b732f538c87c13da13dd6dcf3'James Almer2017-04-041-22/+23
|\| | | | | | | | | | | | | * commit '728ea23cce07467b732f538c87c13da13dd6dcf3': examples/decode_video: switch to the new decoding API Merged-by: James Almer <jamrial@gmail.com>
| * examples/decode_video: switch to the new decoding APIAnton Khirnov2016-11-231-20/+23
| |
* | Merge commit 'f78d360bba6dcfb585847a49a84e89c25950fbdb'James Almer2017-04-041-54/+56
|\| | | | | | | | | | | | | * commit 'f78d360bba6dcfb585847a49a84e89c25950fbdb': examples/decode_video: use a parser for splitting the input Merged-by: James Almer <jamrial@gmail.com>
| * examples/decode_video: use a parser for splitting the inputAnton Khirnov2016-11-231-57/+56
| | | | | | | | | | Do not rely on the decoder handling this, as it's not guaranteed to work.
* | doc/examples/extract_mvs: re-indent after previous commitMatthieu Bouron2017-04-041-28/+28
| |
* | doc/examples/extract_mvs: make pkt local to the main functionMatthieu Bouron2017-04-041-12/+6
| |
* | doc/examples/extract_mvs: switch to new decoding APIMatthieu Bouron2017-04-041-37/+35
| |
* | Merge commit '59ab9e8ba1df7e3347a4cd2bd56c32e74aede802'Clément Bœsch2017-04-041-7/+8
|\| | | | | | | | | | | | | * commit '59ab9e8ba1df7e3347a4cd2bd56c32e74aede802': examples/encode_video: allocate the packet dynamically Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples/encode_video: allocate the packet dynamicallyAnton Khirnov2016-11-231-7/+8
| | | | | | | | AVPackets on stack are discouraged.
* | Merge commit '5f102a9559099429826e84758b8b5182244c52db'Clément Bœsch2017-04-041-28/+31
|\| | | | | | | | | | | | | * commit '5f102a9559099429826e84758b8b5182244c52db': examples/encode_video: switch to the new encoding API Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples/encode_video: switch to the new encoding APIAnton Khirnov2016-11-231-28/+31
| |
* | Merge commit 'fee0f1de2c6a9924acb74013436dbea8f2bd1ecb'Clément Bœsch2017-04-041-0/+5
|\| | | | | | | | | | | | | * commit 'fee0f1de2c6a9924acb74013436dbea8f2bd1ecb': examples/decode_audio: flush the decoder Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples/decode_audio: flush the decoderAnton Khirnov2016-11-231-0/+5
| |
* | Merge commit '9a38184a143a1560814b084aebe628f8df46e666'Clément Bœsch2017-04-041-5/+6
|\| | | | | | | | | | | | | * commit '9a38184a143a1560814b084aebe628f8df46e666': examples/decode_audio: allocate the packet dynamically Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples/decode_audio: allocate the packet dynamicallyAnton Khirnov2016-11-231-5/+6
| | | | | | | | AVPackets on stack are discouraged now.
| * examples/decode_audio: handle planar audio now produced by the MP2 decoderAnton Khirnov2016-11-231-5/+25
| |
* | Merge commit '3d66717f7cb5555257244be8f5bce172ed3af7ac'Clément Bœsch2017-04-041-19/+24
|\| | | | | | | | | | | | | * commit '3d66717f7cb5555257244be8f5bce172ed3af7ac': examples/decode_audio: use the new audio decoding API Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples/decode_audio: use the new audio decoding APIAnton Khirnov2016-11-231-14/+20
| |
* | Merge commit '0946c754d99c05413e813ee515039adcf0f9232a'Clément Bœsch2017-04-041-36/+60
|\| | | | | | | | | | | | | * commit '0946c754d99c05413e813ee515039adcf0f9232a': examples/decode_audio: use a parser for splitting the input Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples/decode_audio: use a parser for splitting the inputAnton Khirnov2016-11-231-28/+54
| | | | | | | | | | Do not rely on the decoder handling this, as it's not guaranteed to work.
* | examples/decode_audio: reduce the scope of 2 variablesClément Bœsch2017-04-041-1/+1
| |
* | Merge commit 'f27e262dbdea1991b22e08b639ac03e642a3482c'Clément Bœsch2017-04-031-28/+41
|\| | | | | | | | | | | | | * commit 'f27e262dbdea1991b22e08b639ac03e642a3482c': examples/encode_audio: switch to the new audio encoding API Merged-by: Clément Bœsch <u@pkh.me>
| * examples/encode_audio: switch to the new audio encoding APIAnton Khirnov2016-11-231-16/+43
| |
* | Merge commit '44c9f374f188f92927b7a4aad2101289d446b814'Clément Bœsch2017-04-031-23/+25
|\| | | | | | | | | | | | | * commit '44c9f374f188f92927b7a4aad2101289d446b814': examples/qsvdec: convert to the new decoding API Merged-by: Clément Bœsch <u@pkh.me>
| * examples/qsvdec: convert to the new decoding APIAnton Khirnov2016-11-231-23/+25
| |
* | Merge commit '1dd2b6c91ca5f26207805720d4f5564de60b241b'Clément Bœsch2017-04-031-266/+51
|\| | | | | | | | | | | | | * commit '1dd2b6c91ca5f26207805720d4f5564de60b241b': examples/qsvdec: switch to the hwcontext API Merged-by: Clément Bœsch <u@pkh.me>
| * examples/qsvdec: switch to the hwcontext APIAnton Khirnov2016-11-231-266/+51
| | | | | | | | The code now does not depend on VA and will work on windows as well.
| * examples/transcode_aac: Drop pointless return value const qualifierDiego Biurrun2016-11-171-1/+1
| | | | | | | | doc/examples/transcode_aac.c:52:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
| * Ignore all generated example binariesDiego Biurrun2016-11-171-0/+5
| |
* | doc/examples/transcode_aac: replace local get_error_text with av_err2strClément Bœsch2017-04-011-26/+14
| |
* | doc/decode_audio: use <> to include libav* headersJames Almer2017-03-311-3/+3
| | | | | | | | Found-by: ubitux
* | Merge commit '905cdcaa9d081d3d945ce555b27b43a75c3af57b'James Almer2017-03-311-2/+3
|\| | | | | | | | | | | | | * commit '905cdcaa9d081d3d945ce555b27b43a75c3af57b': examples/decode_audio: Add missing header for av_free() Merged-by: James Almer <jamrial@gmail.com>
| * examples/decode_audio: Add missing header for av_free()Diego Biurrun2016-11-101-2/+3
| |
| * examples/decode_video: remove a stray unrelated commentAnton Khirnov2016-11-021-2/+0
| |
* | doc/examples/encode_audio: Favor a sample rate close to 44khz instead of the ↵Michael Niedermayer2017-03-301-1/+2
| | | | | | | | | | | | | | | | | | | | maximum sample rate This is an example, people will copy and use this. The maximum supported is quite unreasonable as a default choice Reviewed-by: Steven Liu <lingjiujianke@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/examples/filtering_audio: switch to new decoding APIMatthieu Bouron2017-03-301-33/+30
| |
* | doc/examples/filtering_video: switch to new decoding APIMatthieu Bouron2017-03-301-19/+27
| |
* | Merge commit '8191f960a669819db4de33a2439ded1630b8a73e'Clément Bœsch2017-03-291-1/+1
|\| | | | | | | | | | | | | * commit '8191f960a669819db4de33a2439ded1630b8a73e': examples/decode_video: constify the AVCodec instance Merged-by: Clément Bœsch <u@pkh.me>