Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
VideoLAN
x264
Commits
3a095b2c
Commit
3a095b2c
authored
Jun 10, 2008
by
Fiona Glaser
Browse files
Fix regression in r850
Bug resulted in rare incorrect chroma encoding
parent
5e59162c
Changes
2
Hide whitespace changes
Inline
Side-by-side
encoder/cabac.c
View file @
3a095b2c
...
...
@@ -307,7 +307,7 @@ static void x264_cabac_mb_qp_delta( x264_t *h, x264_cabac_t *cb )
/* Avoid writing a delta quant if we have an empty i16x16 block, e.g. in a completely flat background area */
if
(
h
->
mb
.
i_type
==
I_16x16
&&
!
h
->
mb
.
cbp
[
h
->
mb
.
i_mb_xy
]
)
{
#ifndef RD_SKIP_BS
#ifndef RD
O
_SKIP_BS
h
->
mb
.
i_qp
=
h
->
mb
.
i_last_qp
;
#endif
i_dqp
=
0
;
...
...
encoder/cavlc.c
View file @
3a095b2c
...
...
@@ -225,7 +225,7 @@ static void cavlc_qp_delta( x264_t *h, bs_t *s )
if
(
h
->
mb
.
i_type
==
I_16x16
&&
!
(
h
->
mb
.
i_cbp_luma
|
h
->
mb
.
i_cbp_chroma
)
&&
!
array_non_zero
(
h
->
dct
.
luma16x16_dc
)
)
{
#ifndef RD_SKIP_BS
#ifndef RD
O
_SKIP_BS
h
->
mb
.
i_qp
=
h
->
mb
.
i_last_qp
;
#endif
i_dqp
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment