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
6695f178
Commit
6695f178
authored
Jan 21, 2016
by
Vittorio Giovara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pixdesc: Use AV_CEIL_RSHIFT in documentation
parent
1546a41a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
pixdesc.h
libavutil/pixdesc.h
+3
-3
No files found.
libavutil/pixdesc.h
View file @
6695f178
...
...
@@ -84,16 +84,16 @@ typedef struct AVPixFmtDescriptor {
/**
* Amount to shift the luma width right to find the chroma width.
* For YV12 this is 1 for example.
* chroma_width =
-((-luma_width) >>
log2_chroma_w)
* chroma_width =
AV_CEIL_RSHIFT(luma_width,
log2_chroma_w)
* The note above is needed to ensure rounding up.
* This value only refers to the chroma components.
*/
uint8_t
log2_chroma_w
;
///< chroma_width = -((-luma_width )>>log2_chroma_w)
uint8_t
log2_chroma_w
;
/**
* Amount to shift the luma height right to find the chroma height.
* For YV12 this is 1 for example.
* chroma_height=
-((-luma_height) >>
log2_chroma_h)
* chroma_height=
AV_CEIL_RSHIFT(luma_height,
log2_chroma_h)
* The note above is needed to ensure rounding up.
* This value only refers to the chroma components.
*/
...
...
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