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
867e7bb4
Commit
867e7bb4
authored
Oct 19, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix order of operations in comments
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
3d3a7f50
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
gmc_altivec.c
libavcodec/ppc/gmc_altivec.c
+2
-2
opt.h
libavutil/opt.h
+1
-1
pixfmt.h
libavutil/pixfmt.h
+2
-2
No files found.
libavcodec/ppc/gmc_altivec.c
View file @
867e7bb4
...
...
@@ -66,7 +66,7 @@ void ff_gmc1_altivec(uint8_t *dst /* align 8 */, uint8_t *src /* align1 */, int
srcvA
=
vec_perm
(
src_0
,
src_1
,
vec_lvsl
(
0
,
src
));
if
(
src_really_odd
!=
0x0000000F
)
{
// if
src & 0xF
== 0xF, then (src+1) is properly aligned
// if
(src & 0xF)
== 0xF, then (src+1) is properly aligned
// on the second vector.
srcvB
=
vec_perm
(
src_0
,
src_1
,
vec_lvsl
(
1
,
src
));
}
else
{
...
...
@@ -90,7 +90,7 @@ void ff_gmc1_altivec(uint8_t *dst /* align 8 */, uint8_t *src /* align1 */, int
srcvC
=
vec_perm
(
src_0
,
src_1
,
vec_lvsl
(
stride
+
0
,
src
));
if
(
src_really_odd
!=
0x0000000F
)
{
// if
src & 0xF
== 0xF, then (src+1) is properly aligned
// if
(src & 0xF)
== 0xF, then (src+1) is properly aligned
// on the second vector.
srcvD
=
vec_perm
(
src_0
,
src_1
,
vec_lvsl
(
stride
+
1
,
src
));
}
else
{
...
...
libavutil/opt.h
View file @
867e7bb4
...
...
@@ -320,7 +320,7 @@ typedef struct AVOptionRanges {
/**
* Look for an option in obj. Look only for the options which
* have the flags set as specified in mask and flags (that is,
* for which it is the case that
opt->flags & mask
== flags).
* for which it is the case that
(opt->flags & mask)
== flags).
*
* @param[in] obj a pointer to a struct whose first element is a
* pointer to an AVClass
...
...
libavutil/pixfmt.h
View file @
867e7bb4
...
...
@@ -59,8 +59,8 @@
* allocating the picture.
*
* @note
* Make sure that all newly added big-endian formats have
pix_fmt & 1
== 1
* and that all newly added little-endian formats have
pix_fmt & 1
== 0.
* Make sure that all newly added big-endian formats have
(pix_fmt & 1)
== 1
* and that all newly added little-endian formats have
(pix_fmt & 1)
== 0.
* This allows simpler detection of big vs little-endian.
*/
enum
AVPixelFormat
{
...
...
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