From 7039a6511ba96bd8a7d76c354d50f4bb7acd1a44 Mon Sep 17 00:00:00 2001 From: Derek Buitenhuis Date: Tue, 15 Oct 2019 19:36:50 +0100 Subject: [PATCH] Correct the definition of plane_pixel_height Fixes #168. Signed-off-by: Derek Buitenhuis Github: Closes #177 Signed-off-by: Michael Niedermayer --- ffv1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffv1.md b/ffv1.md index 7abd17e..64440e1 100644 --- a/ffv1.md +++ b/ffv1.md @@ -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