Stefano Sabatini
34ff361921
examples: apply doxy entries consistency fixes
...
Use consistent format for the @file field and file description.
2 years ago
Stefano Sabatini
ab2ec8ef01
examples: rename qsvdec to qsv_decode
2 years ago
Andreas Rheinhardt
9190302b2e
examples/qsvdec: Don't use stack packet
...
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
3 years ago
Haihao Xiang
c3ef9e0277
doc/examples/qsvdec: simplify this example via hw_device_ctx interface
...
Signed-off-by: James Almer <jamrial@gmail.com>
3 years ago
Mark Thompson
10bcc41bb4
examples: Don't call deprecated functions which don't do anything
7 years ago
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>
7 years ago
Anton Khirnov
44c9f374f1
examples/qsvdec: convert to the new decoding API
8 years ago
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.
8 years ago
Anton Khirnov
a9e1f2cc61
examples/qsvdec: convert to codecpar
9 years ago
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.
9 years ago
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.
9 years ago
Vittorio Giovara
059a934806
lavc: Consistently prefix input buffer defines
...
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
10 years ago
Anton Khirnov
990e4a6639
Add a QSV decoding example.
10 years ago