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
9b34899e
Commit
9b34899e
authored
Mar 31, 2009
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document read_line().
Originally committed as revision 18286 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
f9f74ab9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
pixdesc.h
libavcodec/pixdesc.h
+12
-0
No files found.
libavcodec/pixdesc.h
View file @
9b34899e
...
@@ -72,6 +72,18 @@ typedef struct AVPixFmtDescriptor{
...
@@ -72,6 +72,18 @@ typedef struct AVPixFmtDescriptor{
*/
*/
extern
const
AVPixFmtDescriptor
av_pix_fmt_descriptors
[];
extern
const
AVPixFmtDescriptor
av_pix_fmt_descriptors
[];
/**
* Reads a line from an image, and writes to \p dst the values of the
* pixel format component \p c.
*
* @param data the array containing the pointers to the planes of the image
* @param linesizes the array containing the linesizes of the image
* @param desc the pixel format descriptor for the image
* @param x the horizontal coordinate of the first pixel to read
* @param y the vertical coordinate of the first pixel to read
* @param w the width of the line to read, that is the number of
* values to write to \p dst
*/
static
inline
void
read_line
(
uint16_t
*
dst
,
const
uint8_t
*
data
[
4
],
const
int
linesize
[
4
],
const
AVPixFmtDescriptor
*
desc
,
int
x
,
int
y
,
int
c
,
int
w
)
static
inline
void
read_line
(
uint16_t
*
dst
,
const
uint8_t
*
data
[
4
],
const
int
linesize
[
4
],
const
AVPixFmtDescriptor
*
desc
,
int
x
,
int
y
,
int
c
,
int
w
)
{
{
AVComponentDescriptor
comp
=
desc
->
comp
[
c
];
AVComponentDescriptor
comp
=
desc
->
comp
[
c
];
...
...
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