History

cuvid: support AVCodecContext.hw_device_ctx API

This is a newer API that is intended for decoders like the cuvid wrapper. Until now, the wrapper required to set an awkward "incomplete" hw_frames_ctx to set the device. Now the device can be set directly, and the user can get AV_PIX_FMT_CUDA output for a specific device simply by setting hw_device_ctx. This still does a dummy ff_get_format() call at init time, and should be fully backward compatible.

wm4 committed 9 years ago

Commit c0f17a91 parent 974ee163 files · +17 −4Browse files

Showing the changes to doc/APIchanges (1 of 3 files). Show all

Unified · Split

doc/APIchanges+5−0
@@ -15,6 +15,11 @@ libavutil: 2015-08-28 · 14 unmodified lines
1515
1616 API changes, most recent first:
1717
18+2017-05-05 - xxxxxxxxxx - lavc 57.94.100 - avcodec.h
19+ The cuvid decoders now support AVCodecContext.hw_device_ctx, which removes
20+ the requirement to set an incomplete AVCodecContext.hw_frames_ctx only to
21+ set the Cuda device handle.
22+
1823 2017-04-11 - 8378466507 - lavu 55.61.100 - avstring.h
1924 Add av_strireplace().
2025

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t