History

avcodec/videotoolbox: allow not setting the kCVPixelBufferPixelFormatTypeKey

If AVVideotoolboxContext.cv_pix_fmt_type is set to 0, don't set the kCVPixelBufferPixelFormatTypeKey value on the VT decoder. This makes VT output its native format, which can be much faster on some hardware iterations (if the native format does not match with the requested format, it will be converted, which is slow). The default is still forcing nv12.

wm4 committed 9 years ago

Commit ade7c1a1 parent 227f6e14 files · +9 −3Browse files

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

Unified · Split

doc/APIchanges+4−0
@@ -15,6 +15,10 @@ libavutil: 2015-08-28 · 14 unmodified lines
15 15
16API changes, most recent first:16API changes, most recent first:
17 17
182017-03-02 - xxxxxxx - lavc 57.81.104 - videotoolbox.h
19 AVVideotoolboxContext.cv_pix_fmt_type can now be set to 0 to output the
20 native decoder format. (The default value is not changed.)
21
182017-03-02 - xxxxxxx - lavu 55.47.101, lavc 57.81.102, lavf 57.66.103222017-03-02 - xxxxxxx - lavu 55.47.101, lavc 57.81.102, lavf 57.66.103
19 Remove requirement to use AVOption or accessors to access certain fields23 Remove requirement to use AVOption or accessors to access certain fields
20 in AVFrame, AVCodecContext, and AVFormatContext that were previously24 in AVFrame, AVCodecContext, and AVFormatContext that were previously

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