Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
78bc4d69
Commit
78bc4d69
authored
Jan 26, 2013
by
Rémi Denis-Courmont
Committed by
Luca Barbato
Jan 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hwaccel: do not offer unsupported pixel formats
Signed-off-by:
Luca Barbato
<
lu_zero@gentoo.org
>
parent
ec0e9200
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
h264.c
libavcodec/h264.c
+8
-0
mpegvideo.c
libavcodec/mpegvideo.c
+8
-0
No files found.
libavcodec/h264.c
View file @
78bc4d69
...
...
@@ -60,10 +60,18 @@ static const uint8_t div6[QP_MAX_NUM + 1] = {
};
static
const
enum
AVPixelFormat
hwaccel_pixfmt_list_h264_jpeg_420
[]
=
{
#if CONFIG_H264_DXVA2_HWACCEL
AV_PIX_FMT_DXVA2_VLD
,
#endif
#if CONFIG_H264_VAAPI_HWACCEL
AV_PIX_FMT_VAAPI_VLD
,
#endif
#if CONFIG_H264_VDA_HWACCEL
AV_PIX_FMT_VDA_VLD
,
#endif
#if CONFIG_H264_VDPAU_HWACCEL
AV_PIX_FMT_VDPAU
,
#endif
AV_PIX_FMT_YUVJ420P
,
AV_PIX_FMT_NONE
};
...
...
libavcodec/mpegvideo.c
View file @
78bc4d69
...
...
@@ -131,10 +131,18 @@ const enum AVPixelFormat ff_pixfmt_list_420[] = {
};
const
enum
AVPixelFormat
ff_hwaccel_pixfmt_list_420
[]
=
{
#if CONFIG_DXVA2
AV_PIX_FMT_DXVA2_VLD
,
#endif
#if CONFIG_VAAPI
AV_PIX_FMT_VAAPI_VLD
,
#endif
#if CONFIG_VDA
AV_PIX_FMT_VDA_VLD
,
#endif
#if CONFIG_VDPAU
AV_PIX_FMT_VDPAU
,
#endif
AV_PIX_FMT_YUV420P
,
AV_PIX_FMT_NONE
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment