Commit 08d1062f authored by Raphaël Zumer's avatar Raphaël Zumer

Subsample the frame margin in chroma planes

parent c38d9325
...@@ -49,7 +49,7 @@ impl Frame { ...@@ -49,7 +49,7 @@ impl Frame {
let (chroma_width, chroma_height, chroma_padding, chroma_xdec, chroma_ydec) = ( let (chroma_width, chroma_height, chroma_padding, chroma_xdec, chroma_ydec) = (
width / chroma_sampling_period.0, width / chroma_sampling_period.0,
height / chroma_sampling_period.1, height / chroma_sampling_period.1,
MAX_SB_SIZE / chroma_sampling_period.0 + FRAME_MARGIN, (MAX_SB_SIZE + FRAME_MARGIN) / chroma_sampling_period.0,
chroma_sampling_period.0 - 1, chroma_sampling_period.0 - 1,
chroma_sampling_period.1 - 1 chroma_sampling_period.1 - 1
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment