Anton Khirnov
fdfe01365d
hwcontext: allocate the destination frame for the pool size
The source frame may be cropped, so that its dimensions are smaller than
the pool dimensions. The transfer_data API requires the allocated size
of the destination frame to be the same as the pool size.
9 years ago
Anton Khirnov
59e7361cc7
hwcontext: add a QSV implementation
9 years ago
Anton Khirnov
1c9e8616c5
hwcontext: add a function for opening devices
9 years ago
Anton Khirnov
c46db38cde
hwcontext: add a dxva2 implementation
9 years ago
Anton Khirnov
a0f469da74
hwcontext: initialize sw_format in av_hwframe_ctx_alloc()
9 years ago
Mark Thompson
551c6775ab
lavu: VAAPI hwcontext implementation
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Mark Thompson
b1f01e85a9
lavu: add a way to query hwcontext frame constraints
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Anton Khirnov
ad884d1002
hwcontext: add a CUDA implementation
9 years ago
Anton Khirnov
a001ce31bc
hwcontext: add a VDPAU implementation
9 years ago
Anton Khirnov
89923e418b
lavu: add a framework for handling hwaccel frames
9 years ago