History

lavf/qsvvpp: add P010 output format support

Zhong Li committed 7 years ago

Commit e62f6251 parent ef56c282 files · +2 −0Browse files

Showing the changes to libavfilter (2 of 2 files). Show all

Unified · Split

2 files
  1. libavfilter/qsvvpp.c +1 −0
  2. libavfilter/vf_vpp_qsv.c +1 −0
libavfilter/qsvvpp.c+1−0
@@ -153,6 +153,7 @@ static int map_frame_to_surface(AVFrame *frame, mfxFrameSurface1 *surface) · 152 unmodified lines
153153 {
154154 switch (frame->format) {
155155 case AV_PIX_FMT_NV12:
156+ case AV_PIX_FMT_P010:
156157 surface->Data.Y = frame->data[0];
157158 surface->Data.UV = frame->data[1];
158159 break;
libavfilter/vf_vpp_qsv.c+1−0
@@ -367,6 +367,7 @@ static int query_formats(AVFilterContext *ctx) · 366 unmodified lines
367367 };
368368 static const enum AVPixelFormat out_pix_fmts[] = {
369369 AV_PIX_FMT_NV12,
370+ AV_PIX_FMT_P010,
370371 AV_PIX_FMT_QSV,
371372 AV_PIX_FMT_NONE
372373 };

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