00286673d9
doc/examples/hw_decode: re-licensed to MIT-license.
...
Signed-off-by: Jun Zhao <mypopydev@gmail.com >
2018-08-25 22:09:44 +08:00
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 >
2018-04-22 15:37:25 +08:00
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 >
2018-03-27 23:01:44 +02:00
49a0b3f6bc
doc/examples/hw_decode: Remove useless NULL check
...
Reviewed-by: Jun Zhao <mypopydev@gmail.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-03-27 23:01:44 +02:00
10bcc41bb4
examples: Don't call deprecated functions which don't do anything
2018-02-09 21:38:42 +00:00
b0d9eab7f2
examples/hw_decode: Use hw-config information to find pixfmt
...
This removes all remaining device-type specificity.
2017-11-29 23:49:14 +00:00
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 >
2017-07-30 00:15:05 +01:00