[x264-devel] commit: r836 borked lossless cabac nnz (Jason Garrett-Glaser )
git version control
git at videolan.org
Sat May 17 08:57:02 CEST 2008
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Sat May 17 00:47:31 2008 -0600| [fcee08ae4a37ed51ac09277805ec9e0b9d96cbb5]
r836 borked lossless cabac nnz
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=fcee08ae4a37ed51ac09277805ec9e0b9d96cbb5
---
encoder/macroblock.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/encoder/macroblock.c b/encoder/macroblock.c
index 4342159..01d09bc 100644
--- a/encoder/macroblock.c
+++ b/encoder/macroblock.c
@@ -144,6 +144,7 @@ static void x264_mb_encode_i16x16( x264_t *h, int i_qscale )
int od = block_idx_x[i]*4 + block_idx_y[i]*4*FDEC_STRIDE;
h->zigzagf.sub_4x4( h->dct.luma4x4[i], p_src+oe, p_dst+od );
dct4x4[0][block_idx_x[i]][block_idx_y[i]] = h->dct.luma4x4[i][0];
+ h->dct.luma4x4[i][0] = 0;
}
h->zigzagf.scan_4x4( h->dct.luma16x16_dc, dct4x4[0] );
return;
@@ -206,6 +207,7 @@ void x264_mb_encode_8x8_chroma( x264_t *h, int b_inter, int i_qscale )
int od = block_idx_x[i]*4 + block_idx_y[i]*4*FDEC_STRIDE;
h->zigzagf.sub_4x4( h->dct.luma4x4[16+i+ch*4], p_src+oe, p_dst+od );
h->dct.chroma_dc[ch][i] = h->dct.luma4x4[16+i+ch*4][0];
+ h->dct.luma4x4[16+i+ch*4][0] = 0;
}
continue;
}
More information about the x264-devel
mailing list