Stefano Sabatini
34ff361921
examples: apply doxy entries consistency fixes
...
Use consistent format for the @file field and file description.
2 years ago
Andreas Rheinhardt
e9182820ad
examples/hw_decode: Don't use stack packet
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Andreas Rheinhardt
46dac8cf3d
avformat/avformat, utils: Make av_find_best_stream const-correct
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
4 years ago
Carl Eugen Hoyos
68f637b6f9
doc/examples: Always open files as "binary", not "text".
...
Fixes ticket #8638 .
4 years ago
Jun Zhao
00286673d9
doc/examples/hw_decode: re-licensed to MIT-license.
...
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
6 years ago
Jun Zhao
c6d8492cff
doc/examples/hw_decode: Remove setting deprecated refcounted_frames
...
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>
7 years ago
Michael Niedermayer
b3e9f3f5f5
doc/examples/hw_decode: Remove logically dead code in decode_write()
...
Fixes CID1415951
Reviewed-by: Jun Zhao <mypopydev@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Michael Niedermayer
49a0b3f6bc
doc/examples/hw_decode: Remove useless NULL check
...
Reviewed-by: Jun Zhao <mypopydev@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
7 years ago
Mark Thompson
10bcc41bb4
examples: Don't call deprecated functions which don't do anything
7 years ago
Mark Thompson
b0d9eab7f2
examples/hw_decode: Use hw-config information to find pixfmt
...
This removes all remaining device-type specificity.
7 years ago
Jun Zhao
1e0c75ea16
examples/hw_decode: Add a HWAccel decoding example.
...
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>
7 years ago