projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove trailing whitespaces
[nihav.git]
/
nihav-duck
/
src
/
codecs
/
vp5.rs
diff --git
a/nihav-duck/src/codecs/vp5.rs
b/nihav-duck/src/codecs/vp5.rs
index c520b96b61c0e333bcfd6b0b2cfa52fc1f653dca..f6a649ec11e398660bae13ce6f5e8305a1a3cf2f 100644
(file)
--- a/
nihav-duck/src/codecs/vp5.rs
+++ b/
nihav-duck/src/codecs/vp5.rs
@@
-32,7
+32,7
@@
impl VP56Parser for VP5BR {
validate!((hdr.disp_w <= hdr.mb_w) && (hdr.disp_h <= hdr.mb_h));
hdr.scale = bc.read_bits(2) as u8;
}
validate!((hdr.disp_w <= hdr.mb_w) && (hdr.disp_h <= hdr.mb_h));
hdr.scale = bc.read_bits(2) as u8;
}
-
+
Ok(hdr)
}
fn decode_mv(&self, bc: &mut BoolCoder, model: &VP56MVModel) -> i16 {
Ok(hdr)
}
fn decode_mv(&self, bc: &mut BoolCoder, model: &VP56MVModel) -> i16 {
@@
-192,7
+192,7
@@
impl VP56Parser for VP5BR {
if idx > 0 {
coeffs[ZIGZAG[idx]] *= fstate.ac_quant;
}
if idx > 0 {
coeffs[ZIGZAG[idx]] *= fstate.ac_quant;
}
-
+
idx += 1;
if idx >= 64 {
break;
idx += 1;
if idx >= 64 {
break;