aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/hw_decode.c
Commit message (Collapse)AuthorAgeFilesLines
* examples: apply doxy entries consistency fixesStefano Sabatini2023-02-111-5/+4
| | | | Use consistent format for the @file field and file description.
* examples/hw_decode: Don't use stack packetAndreas Rheinhardt2021-10-031-9/+13
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avformat/avformat, utils: Make av_find_best_stream const-correctAndreas Rheinhardt2021-04-271-1/+1
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
* doc/examples: Always open files as "binary", not "text".Carl Eugen Hoyos2020-08-251-1/+1
| | | | Fixes ticket #8638.
* doc/examples/hw_decode: re-licensed to MIT-license.Jun Zhao2018-08-251-13/+15
| | | | Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* doc/examples/hw_decode: Remove setting deprecated refcounted_framesJun Zhao2018-04-221-1/+0
| | | | | | | | When use new decode APIs(avcodec_send_packet/avcodec_receive_frame), don't need to setting the deprecated field refcounted_frames. Reviewed-by: wm4 <nfxjfg@googlemail.com> Signed-off-by: Jun Zhao <mypopydev@gmail.com>
* doc/examples/hw_decode: Remove logically dead code in decode_write()Michael Niedermayer2018-03-271-3/+1
| | | | | | | Fixes CID1415951 Reviewed-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* doc/examples/hw_decode: Remove useless NULL checkMichael Niedermayer2018-03-271-2/+1
| | | | | Reviewed-by: Jun Zhao <mypopydev@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* examples: Don't call deprecated functions which don't do anythingMark Thompson2018-02-091-2/+0
|
* examples/hw_decode: Use hw-config information to find pixfmtMark Thompson2017-11-291-32/+22
| | | | This removes all remaining device-type specificity.
* examples/hw_decode: Add a HWAccel decoding example.Jun Zhao2017-07-301-0/+266
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>