From ec120efaa90ac2232749b03e65900fdbabb77475 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 29 Aug 2013 22:05:08 +0200 Subject: [PATCH] doc/snow: add gray/alpha/gbr Signed-off-by: Michael Niedermayer --- doc/snow.txt | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/doc/snow.txt b/doc/snow.txt index f99133971c..080a33b38f 100644 --- a/doc/snow.txt +++ b/doc/snow.txt @@ -50,8 +50,10 @@ header: temporal_decomposition_count u header_state spatial_decomposition_count u header_state colorspace_type u header_state - chroma_h_shift u header_state - chroma_v_shift u header_state + if (nb_planes > 2) { + chroma_h_shift u header_state + chroma_v_shift u header_state + } spatial_scalability b header_state max_ref_frames-1 u header_state qlogs @@ -59,7 +61,7 @@ header: if(!keyframe){ update_mc b header_state if(update_mc){ - for(plane=0; plane<2; plane++){ + for(plane=0; planehtaps/2; i; i--) @@ -80,7 +82,7 @@ header: block_max_depth s header_state qlogs: - for(plane=0; plane<2; plane++){ + for(plane=0; plane 2) { + residual2(chroma_cr) + residual2(chroma_cb) + } residual2: for(level=0; level