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
a95906af
Commit
a95906af
authored
Nov 13, 2011
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase Pictor/PC Paint palette dynamics.
parent
105cf82a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pictordec.c
libavcodec/pictordec.c
+1
-1
pictor
tests/ref/fate/pictor
+1
-1
No files found.
libavcodec/pictordec.c
View file @
a95906af
...
...
@@ -177,7 +177,7 @@ static int decode_frame(AVCodecContext *avctx,
npal
=
FFMIN
(
esize
/
3
,
256
);
for
(
i
=
0
;
i
<
npal
;
i
++
)
{
palette
[
i
]
=
AV_RB24
(
buf
+
i
*
3
)
<<
2
;
palette
[
i
]
|=
0xFF
<<
24
;
palette
[
i
]
|=
0xFF
<<
24
|
palette
[
i
]
>>
6
&
0x30303
;
}
}
else
{
if
(
bpp
==
1
)
{
...
...
tests/ref/fate/pictor
View file @
a95906af
0, 0, 192816, 0x
f97e2ba1
0, 0, 192816, 0x
29b9c158
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