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
f0a5f710
Commit
f0a5f710
authored
Mar 09, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/hue: reindent.
parent
3da54858
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
vf_hue.c
libavfilter/vf_hue.c
+10
-10
No files found.
libavfilter/vf_hue.c
View file @
f0a5f710
...
...
@@ -287,12 +287,12 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpic)
direct
=
1
;
outpic
=
inpic
;
}
else
{
outpic
=
ff_get_video_buffer
(
outlink
,
outlink
->
w
,
outlink
->
h
);
if
(
!
outpic
)
{
av_frame_free
(
&
inpic
);
return
AVERROR
(
ENOMEM
);
}
av_frame_copy_props
(
outpic
,
inpic
);
outpic
=
ff_get_video_buffer
(
outlink
,
outlink
->
w
,
outlink
->
h
);
if
(
!
outpic
)
{
av_frame_free
(
&
inpic
);
return
AVERROR
(
ENOMEM
);
}
av_frame_copy_props
(
outpic
,
inpic
);
}
if
(
!
hue
->
flat_syntax
)
{
...
...
@@ -328,9 +328,9 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpic)
hue
->
var_values
[
VAR_N
]
+=
1
;
if
(
!
direct
)
av_image_copy_plane
(
outpic
->
data
[
0
],
outpic
->
linesize
[
0
],
inpic
->
data
[
0
],
inpic
->
linesize
[
0
],
inlink
->
w
,
inlink
->
h
);
av_image_copy_plane
(
outpic
->
data
[
0
],
outpic
->
linesize
[
0
],
inpic
->
data
[
0
],
inpic
->
linesize
[
0
],
inlink
->
w
,
inlink
->
h
);
process_chrominance
(
outpic
->
data
[
1
],
outpic
->
data
[
2
],
outpic
->
linesize
[
1
],
inpic
->
data
[
1
],
inpic
->
data
[
2
],
inpic
->
linesize
[
1
],
...
...
@@ -338,7 +338,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpic)
hue
->
hue_cos
,
hue
->
hue_sin
);
if
(
!
direct
)
av_frame_free
(
&
inpic
);
av_frame_free
(
&
inpic
);
return
ff_filter_frame
(
outlink
,
outpic
);
}
...
...
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