Skip to content

Commit

Permalink
Correct the definition of plane_pixel_height
Browse files Browse the repository at this point in the history
Fixes #168.

Signed-off-by: Derek Buitenhuis <[email protected]>
Github: Closes #177
Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
dwbuiten authored and michaelni committed Oct 16, 2019
1 parent 9dea828 commit 7039a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffv1.md
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,7 @@ SliceContent( ) { |

`plane_pixel_height[ 0 ]` and `plane_pixel_height[ 1 + ( chroma_planes ? 2 : 0 ) ]` value is `slice_pixel_height`.

If `chroma_planes` is set to 1, `plane_pixel_height[ 1 ]` and `plane_pixel_height[ 2 ]` value is `ceil( slice_pixel_height / log2_v_chroma_subsample )`.
If `chroma_planes` is set to 1, `plane_pixel_height[ 1 ]` and `plane_pixel_height[ 2 ]` value is `ceil( slice_pixel_height / (1 << log2_v_chroma_subsample) )`.

### slice\_pixel\_height

Expand Down

0 comments on commit 7039a65

Please sign in to comment.