Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
1cded1f8
Commit
1cded1f8
authored
Mar 05, 2015
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avfilter/vf_paletteuse: indent fix after
7ccc5848
parent
7ccc5848
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
vf_paletteuse.c
libavfilter/vf_paletteuse.c
+8
-8
No files found.
libavfilter/vf_paletteuse.c
View file @
1cded1f8
...
...
@@ -317,10 +317,10 @@ end:
* recomputing them (they are generally computed by the caller for other uses).
*/
static
av_always_inline
int
color_get
(
struct
cache_node
*
cache
,
uint32_t
color
,
uint8_t
r
,
uint8_t
g
,
uint8_t
b
,
const
struct
color_node
*
map
,
const
uint32_t
*
palette
,
const
enum
color_search_method
search_method
)
uint8_t
r
,
uint8_t
g
,
uint8_t
b
,
const
struct
color_node
*
map
,
const
uint32_t
*
palette
,
const
enum
color_search_method
search_method
)
{
int
i
;
const
uint8_t
rgb
[]
=
{
r
,
g
,
b
};
...
...
@@ -347,10 +347,10 @@ static av_always_inline int color_get(struct cache_node *cache, uint32_t color,
}
static
av_always_inline
int
get_dst_color_err
(
struct
cache_node
*
cache
,
uint32_t
c
,
const
struct
color_node
*
map
,
const
uint32_t
*
palette
,
int
*
er
,
int
*
eg
,
int
*
eb
,
const
enum
color_search_method
search_method
)
uint32_t
c
,
const
struct
color_node
*
map
,
const
uint32_t
*
palette
,
int
*
er
,
int
*
eg
,
int
*
eb
,
const
enum
color_search_method
search_method
)
{
const
uint8_t
r
=
c
>>
16
&
0xff
;
const
uint8_t
g
=
c
>>
8
&
0xff
;
...
...
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