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
ceee4407
Commit
ceee4407
authored
Dec 26, 2012
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavfi/tile: small align cosmetics.
parent
4cd724da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
vf_tile.c
libavfilter/vf_tile.c
+5
-5
No files found.
libavfilter/vf_tile.c
View file @
ceee4407
...
...
@@ -100,7 +100,7 @@ static int query_formats(AVFilterContext *ctx)
static
int
config_props
(
AVFilterLink
*
outlink
)
{
AVFilterContext
*
ctx
=
outlink
->
src
;
TileContext
*
tile
=
ctx
->
priv
;
TileContext
*
tile
=
ctx
->
priv
;
AVFilterLink
*
inlink
=
ctx
->
inputs
[
0
];
const
unsigned
total_margin_w
=
(
tile
->
w
-
1
)
*
tile
->
padding
+
2
*
tile
->
margin
;
const
unsigned
total_margin_h
=
(
tile
->
h
-
1
)
*
tile
->
padding
+
2
*
tile
->
margin
;
...
...
@@ -141,7 +141,7 @@ static void get_current_tile_pos(AVFilterContext *ctx, unsigned *x, unsigned *y)
static
void
draw_blank_frame
(
AVFilterContext
*
ctx
,
AVFilterBufferRef
*
out_buf
)
{
TileContext
*
tile
=
ctx
->
priv
;
AVFilterLink
*
inlink
=
ctx
->
inputs
[
0
];
AVFilterLink
*
inlink
=
ctx
->
inputs
[
0
];
unsigned
x0
,
y0
;
get_current_tile_pos
(
ctx
,
&
x0
,
&
y0
);
...
...
@@ -152,7 +152,7 @@ static void draw_blank_frame(AVFilterContext *ctx, AVFilterBufferRef *out_buf)
}
static
int
end_last_frame
(
AVFilterContext
*
ctx
)
{
TileContext
*
tile
=
ctx
->
priv
;
TileContext
*
tile
=
ctx
->
priv
;
AVFilterLink
*
outlink
=
ctx
->
outputs
[
0
];
AVFilterBufferRef
*
out_buf
=
tile
->
out_ref
;
int
ret
;
...
...
@@ -171,7 +171,7 @@ static int end_last_frame(AVFilterContext *ctx)
static
int
filter_frame
(
AVFilterLink
*
inlink
,
AVFilterBufferRef
*
picref
)
{
AVFilterContext
*
ctx
=
inlink
->
dst
;
TileContext
*
tile
=
ctx
->
priv
;
TileContext
*
tile
=
ctx
->
priv
;
AVFilterLink
*
outlink
=
ctx
->
outputs
[
0
];
unsigned
x0
,
y0
;
...
...
@@ -208,7 +208,7 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
static
int
request_frame
(
AVFilterLink
*
outlink
)
{
AVFilterContext
*
ctx
=
outlink
->
src
;
TileContext
*
tile
=
ctx
->
priv
;
TileContext
*
tile
=
ctx
->
priv
;
AVFilterLink
*
inlink
=
ctx
->
inputs
[
0
];
int
r
;
...
...
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