Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
fca6a0dd
Commit
fca6a0dd
authored
17 years ago
by
Diego Biurrun
Browse files
Options
Downloads
Patches
Plain Diff
Add explanatory comments to some #endifs.
Originally committed as revision 9084 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
9f77cab2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/imgresample.c
+4
-4
4 additions, 4 deletions
libavcodec/imgresample.c
with
4 additions
and
4 deletions
libavcodec/imgresample.c
+
4
−
4
View file @
fca6a0dd
...
@@ -282,7 +282,7 @@ static void v_resample4_mmx(uint8_t *dst, int dst_width, const uint8_t *src,
...
@@ -282,7 +282,7 @@ static void v_resample4_mmx(uint8_t *dst, int dst_width, const uint8_t *src,
}
}
emms
();
emms
();
}
}
#endif
#endif
/* HAVE_MMX */
#ifdef HAVE_ALTIVEC
#ifdef HAVE_ALTIVEC
typedef
union
{
typedef
union
{
...
@@ -409,7 +409,7 @@ void v_resample16_altivec(uint8_t *dst, int dst_width, const uint8_t *src,
...
@@ -409,7 +409,7 @@ void v_resample16_altivec(uint8_t *dst, int dst_width, const uint8_t *src,
dst_width
--
;
dst_width
--
;
}
}
}
}
#endif
#endif
/* HAVE_ALTIVEC */
/* slow version to handle limit cases. Does not need optimisation */
/* slow version to handle limit cases. Does not need optimisation */
static
void
h_resample_slow
(
uint8_t
*
dst
,
int
dst_width
,
static
void
h_resample_slow
(
uint8_t
*
dst
,
int
dst_width
,
...
@@ -942,8 +942,8 @@ int main(int argc, char **argv)
...
@@ -942,8 +942,8 @@ int main(int argc, char **argv)
exit
(
1
);
exit
(
1
);
}
}
av_log
(
NULL
,
AV_LOG_INFO
,
"MMX OK
\n
"
);
av_log
(
NULL
,
AV_LOG_INFO
,
"MMX OK
\n
"
);
#endif
#endif
/* HAVE_MMX */
return
0
;
return
0
;
}
}
#endif
#endif
/* TEST */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment