Opened 10 years ago Last modified 10 years ago #1338 new defectAdaptive QP Selection and multiple slices / slice segments
Description
Adaptive QP selection appears to be incorrect when multiple slices / slice segments are used.
The statistics are reset at the start of compressSlice, and the delta calculated previously is added to the QpBase (a rate-controlled version of the slice's QP, used only for Adaptive Qp Selection) if the slice is not an I_SLICE.
The statistics are used to update the delta at the end of encodeSlice.
However, all slices are compressed. Once all slices are compressed, they are then encoded. So the statistics will only ever represent values gathered from the last slice of the previously coded picture.
Is the intension to gather statistics on a picture and use that for the next picture, or to gather statistics on a slice (including all slice segments) and use that for the next slice?
In addition, the 52 element array TComTrQuant::m_qpDelta will underflow if negative QPs are used as an index (valid for bit depths > 8). Change History (1)comment:1 Changed 10 years ago by DefaultCC Plugin
Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|