Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
ffmpeg
Commits
da92865b
Commit
da92865b
authored
Dec 24, 2021
by
rcombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/drawutils: re-enable P010 and P016 support
These formats now work as expected.
parent
66343e46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drawutils.c
libavfilter/drawutils.c
+0
-2
filter-pixfmts-pad
tests/ref/fate/filter-pixfmts-pad
+2
-0
No files found.
libavfilter/drawutils.c
View file @
da92865b
...
...
@@ -91,8 +91,6 @@ int ff_draw_init(FFDrawContext *draw, enum AVPixelFormat format, unsigned flags)
return
AVERROR
(
ENOSYS
);
if
(
desc
->
flags
&
~
(
AV_PIX_FMT_FLAG_PLANAR
|
AV_PIX_FMT_FLAG_RGB
|
AV_PIX_FMT_FLAG_ALPHA
))
return
AVERROR
(
ENOSYS
);
if
(
format
==
AV_PIX_FMT_P010LE
||
format
==
AV_PIX_FMT_P016LE
)
return
AVERROR
(
ENOSYS
);
if
(
format
==
AV_PIX_FMT_YUVJ420P
||
format
==
AV_PIX_FMT_YUVJ422P
||
format
==
AV_PIX_FMT_YUVJ444P
||
format
==
AV_PIX_FMT_YUVJ411P
||
format
==
AV_PIX_FMT_YUVJ440P
)
full_range
=
1
;
...
...
tests/ref/fate/filter-pixfmts-pad
View file @
da92865b
...
...
@@ -25,6 +25,8 @@ nv12 381574979cb04be10c9168540310afad
nv21 0fdeb2cdd56cf5a7147dc273456fa217
nv24 193b9eadcc06ad5081609f76249b3e47
nv42 1738ad3c31c6c16e17679f5b09ce4677
p010le c57224f2dc09601c66aa3365b3cd7254
p016le c57224f2dc09601c66aa3365b3cd7254
p210le abc02945a9b9585f0914716e4787cefb
p216le 1b43feb94b8a030c0c699aa0deff017b
p410le 1f0294141ae1657d6c10c6a0d46a879f
...
...
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