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
b0d0e29f
Commit
b0d0e29f
authored
May 25, 2014
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/sgirledec: fix () in RBG323_TO_BGR8() macro
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9f50d3b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
sgirledec.c
libavcodec/sgirledec.c
+3
-3
No files found.
libavcodec/sgirledec.c
View file @
b0d0e29f
...
...
@@ -49,9 +49,9 @@ static av_cold int sgirle_decode_init(AVCodecContext *avctx)
* Convert SGI RBG323 pixel into AV_PIX_FMT_BGR8
* SGI RGB data is packed as 8bpp, (msb)3R 2B 3G(lsb)
*/
#define RBG323_TO_BGR8(x) (((
x
<< 3) & 0xC0) | \
((
x
<< 3) & 0x38) | \
((
x
>> 5) & 7))
#define RBG323_TO_BGR8(x) (((
(x)
<< 3) & 0xC0) | \
((
(x)
<< 3) & 0x38) | \
((
(x)
>> 5) & 7))
static
av_always_inline
void
rbg323_to_bgr8
(
uint8_t
*
dst
,
const
uint8_t
*
src
,
int
size
)
{
...
...
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