Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
7782614f
Commit
7782614f
authored
Mar 15, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
es_format: reorder two functions
parent
7bd5f5a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
src/misc/es_format.c
src/misc/es_format.c
+8
-7
No files found.
src/misc/es_format.c
View file @
7782614f
...
...
@@ -303,13 +303,6 @@ video_transform_t video_format_GetTransform( video_orientation_t src,
return
transform_FromBasicOps
(
angle
,
hflip
);
}
void
video_format_TransformTo
(
video_format_t
*
fmt
,
video_orientation_t
dst_orientation
)
{
video_transform_t
transform
=
video_format_GetTransform
(
fmt
->
orientation
,
dst_orientation
);
video_format_TransformBy
(
fmt
,
transform
);
}
void
video_format_TransformBy
(
video_format_t
*
fmt
,
video_transform_t
transform
)
{
/* Get destination orientation */
...
...
@@ -397,6 +390,14 @@ void video_format_TransformBy( video_format_t *fmt, video_transform_t transform
fmt
->
orientation
=
dst_orient
;
}
void
video_format_TransformTo
(
video_format_t
*
restrict
fmt
,
video_orientation_t
dst_orientation
)
{
video_transform_t
transform
=
video_format_GetTransform
(
fmt
->
orientation
,
dst_orientation
);
video_format_TransformBy
(
fmt
,
transform
);
}
void
video_format_ApplyRotation
(
video_format_t
*
restrict
out
,
const
video_format_t
*
restrict
in
)
{
...
...
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