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
41740ef8
Commit
41740ef8
authored
Jun 24, 2015
by
Janne Grunau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvpx: fix test for VPX_IMAGE_ABI_VERSION
parent
a88e21f5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libvpx.c
libavcodec/libvpx.c
+2
-2
No files found.
libavcodec/libvpx.c
View file @
41740ef8
...
@@ -40,7 +40,7 @@ enum AVPixelFormat ff_vpx_imgfmt_to_pixfmt(vpx_img_fmt_t img)
...
@@ -40,7 +40,7 @@ enum AVPixelFormat ff_vpx_imgfmt_to_pixfmt(vpx_img_fmt_t img)
case
VPX_IMG_FMT_I422
:
return
AV_PIX_FMT_YUV422P
;
case
VPX_IMG_FMT_I422
:
return
AV_PIX_FMT_YUV422P
;
case
VPX_IMG_FMT_I444
:
return
AV_PIX_FMT_YUV444P
;
case
VPX_IMG_FMT_I444
:
return
AV_PIX_FMT_YUV444P
;
case
VPX_IMG_FMT_444A
:
return
AV_PIX_FMT_YUVA444P
;
case
VPX_IMG_FMT_444A
:
return
AV_PIX_FMT_YUVA444P
;
#if
def
VPX_IMAGE_ABI_VERSION >= 3
#if VPX_IMAGE_ABI_VERSION >= 3
case
VPX_IMG_FMT_I440
:
return
AV_PIX_FMT_YUV440P
;
case
VPX_IMG_FMT_I440
:
return
AV_PIX_FMT_YUV440P
;
case
VPX_IMG_FMT_I42016
:
return
AV_PIX_FMT_YUV420P16BE
;
case
VPX_IMG_FMT_I42016
:
return
AV_PIX_FMT_YUV420P16BE
;
case
VPX_IMG_FMT_I42216
:
return
AV_PIX_FMT_YUV422P16BE
;
case
VPX_IMG_FMT_I42216
:
return
AV_PIX_FMT_YUV422P16BE
;
...
@@ -68,7 +68,7 @@ vpx_img_fmt_t ff_vpx_pixfmt_to_imgfmt(enum AVPixelFormat pix)
...
@@ -68,7 +68,7 @@ vpx_img_fmt_t ff_vpx_pixfmt_to_imgfmt(enum AVPixelFormat pix)
case
AV_PIX_FMT_YUV422P
:
return
VPX_IMG_FMT_I422
;
case
AV_PIX_FMT_YUV422P
:
return
VPX_IMG_FMT_I422
;
case
AV_PIX_FMT_YUV444P
:
return
VPX_IMG_FMT_I444
;
case
AV_PIX_FMT_YUV444P
:
return
VPX_IMG_FMT_I444
;
case
AV_PIX_FMT_YUVA444P
:
return
VPX_IMG_FMT_444A
;
case
AV_PIX_FMT_YUVA444P
:
return
VPX_IMG_FMT_444A
;
#if
def
VPX_IMAGE_ABI_VERSION >= 3
#if VPX_IMAGE_ABI_VERSION >= 3
case
AV_PIX_FMT_YUV440P
:
return
VPX_IMG_FMT_I440
;
case
AV_PIX_FMT_YUV440P
:
return
VPX_IMG_FMT_I440
;
case
AV_PIX_FMT_YUV420P16BE
:
return
VPX_IMG_FMT_I42016
;
case
AV_PIX_FMT_YUV420P16BE
:
return
VPX_IMG_FMT_I42016
;
case
AV_PIX_FMT_YUV422P16BE
:
return
VPX_IMG_FMT_I42216
;
case
AV_PIX_FMT_YUV422P16BE
:
return
VPX_IMG_FMT_I42216
;
...
...
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