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
ca9e3cb3
Commit
ca9e3cb3
authored
Dec 28, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avformat/qtpalette: Move ff_get_qtpalette() doxy to header
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
79736038
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
qtpalette.c
libavformat/qtpalette.c
+0
-9
qtpalette.h
libavformat/qtpalette.h
+9
-0
No files found.
libavformat/qtpalette.c
View file @
ca9e3cb3
...
...
@@ -28,15 +28,6 @@
#include "libavutil/intreadwrite.h"
#include "qtpalette.h"
/**
* Retrieve the palette (or "color table" in QuickTime terms), either
* from the video sample description, or from the default Macintosh
* palette.
*
* The file offset of the AVIOContext pointed to by the 'pb' variable
* should be the start of the video sample description (the sample
* description size and the data format).
*/
int
ff_get_qtpalette
(
int
codec_id
,
AVIOContext
*
pb
,
uint32_t
*
palette
)
{
int
tmp
,
bit_depth
,
color_table_id
,
greyscale
,
i
;
...
...
libavformat/qtpalette.h
View file @
ca9e3cb3
...
...
@@ -311,6 +311,15 @@ static const uint8_t ff_qt_default_palette_256[256 * 3] = {
/* 255, 0xFF */
0x00
,
0x00
,
0x00
};
/**
* Retrieve the palette (or "color table" in QuickTime terms), either
* from the video sample description, or from the default Macintosh
* palette.
*
* The file offset of the AVIOContext pointed to by the 'pb' variable
* should be the start of the video sample description (the sample
* description size and the data format).
*/
int
ff_get_qtpalette
(
int
codec_id
,
AVIOContext
*
pb
,
uint32_t
*
palette
);
#endif
/* AVFORMAT_QTPALETTE_H */
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