Changeset 1547 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibEncoder
- Timestamp:
- 22 Mar 2016, 23:55:18 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibEncoder/TEncSlice.cpp
r1545 r1547 376 376 } 377 377 378 #if W0062_RECALCULATE_QP_TO_ALIGN_WITH_LAMBDA 379 Double lambdaRef = 0.57*pow(2.0, qp_temp/3.0); 380 // QP correction due to modified lambda 381 Double qpOffset = floor((3.0*log(dLambda/lambdaRef)/log(2.0)) +0.5); 382 dQP += qpOffset; 383 #endif 384 378 385 iQP = max( -rpcSlice->getSPS()->getQpBDOffset(CHANNEL_TYPE_LUMA), min( MAX_QP, (Int) floor( dQP + 0.5 ) ) ); 379 386
Note: See TracChangeset for help on using the changeset viewer.