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
2edb2627
Commit
2edb2627
authored
Jun 28, 2019
by
Paul B Mahol
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/cfhd: add back alpha processing removed in
9cefb9e7
Fixes #7886.
parent
098ab932
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
cfhd.c
libavcodec/cfhd.c
+2
-0
No files found.
libavcodec/cfhd.c
View file @
2edb2627
...
...
@@ -884,6 +884,8 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
high
=
s
->
plane
[
plane
].
l_h
[
7
];
for
(
i
=
0
;
i
<
lowpass_height
*
2
;
i
++
)
{
horiz_filter_clip
(
dst
,
low
,
high
,
lowpass_width
,
s
->
bpc
);
if
(
avctx
->
pix_fmt
==
AV_PIX_FMT_GBRAP12
&&
act_plane
==
3
)
process_alpha
(
dst
,
lowpass_width
*
2
);
low
+=
lowpass_width
;
high
+=
lowpass_width
;
dst
+=
pic
->
linesize
[
act_plane
]
/
2
;
...
...
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