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
81c55121
Commit
81c55121
authored
Mar 17, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
transform: use restrict qualifier as appropriate
parent
226b2238
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/video_filter/transform.c
modules/video_filter/transform.c
+1
-1
No files found.
modules/video_filter/transform.c
View file @
81c55121
...
@@ -101,7 +101,7 @@ static void R270(int *sx, int *sy, int w, int h, int dx, int dy)
...
@@ -101,7 +101,7 @@ static void R270(int *sx, int *sy, int w, int h, int dx, int dy)
typedef
void
(
*
convert_t
)(
int
*
,
int
*
,
int
,
int
,
int
,
int
);
typedef
void
(
*
convert_t
)(
int
*
,
int
*
,
int
,
int
,
int
,
int
);
#define PLANAR(f) \
#define PLANAR(f) \
static void Planar##f(plane_t *
dst, const plane_t *
src) \
static void Planar##f(plane_t *
restrict dst, const plane_t *restrict
src) \
{ \
{ \
for (int y = 0; y < dst->i_visible_lines; y++) { \
for (int y = 0; y < dst->i_visible_lines; y++) { \
for (int x = 0; x < dst->i_visible_pitch; x++) { \
for (int x = 0; x < dst->i_visible_pitch; x++) { \
...
...
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