Andreas Rheinhardt
9190302b2e
examples/qsvdec: Don't use stack packet
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2021-10-03 20:50:50 +02:00
Haihao Xiang
c3ef9e0277
doc/examples/qsvdec: simplify this example via hw_device_ctx interface
...
Signed-off-by: James Almer <jamrial@gmail.com>
2021-08-11 13:47:47 -03:00
Mark Thompson
10bcc41bb4
examples: Don't call deprecated functions which don't do anything
2018-02-09 21:38:42 +00:00
Zhong Li
1efbbfedca
examples/qsvdec: do not set the deprecated field refcounted_frames
...
It is used by the deprecated API avcodec_decode_video2 and ignored by the
new decode APIs (avcodec_send_packet/avcodec_receive_frame).
Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2017-12-29 16:13:02 +00:00
Anton Khirnov
44c9f374f1
examples/qsvdec: convert to the new decoding API
2016-11-23 13:08:43 +01:00
Anton Khirnov
1dd2b6c91c
examples/qsvdec: switch to the hwcontext API
...
The code now does not depend on VA and will work on windows as well.
2016-11-23 13:08:33 +01:00
Anton Khirnov
a9e1f2cc61
examples/qsvdec: convert to codecpar
2016-02-24 10:08:30 +01:00
Anton Khirnov
539e5ac2ec
examples/qsvdec: free the lavc decoder before closing MFX/VAAPI
...
lavc expects MFX to still be in a usable state on close.
2015-09-28 15:46:10 +02:00
Anton Khirnov
3ee462dca1
examples/qsvdec: do not free the surfaces in the frame_free() callback
...
Even though libmfx might not need them anymore, avcodec might still
access the surfaces. So free them separately at the end.
2015-09-28 15:45:29 +02:00
Vittorio Giovara
059a934806
lavc: Consistently prefix input buffer defines
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
2015-07-27 15:24:59 +01:00
Anton Khirnov
990e4a6639
Add a QSV decoding example.
2015-02-28 21:51:24 +01:00