codec/h264/h264dec: put function parameters on one line for parseTotalCoeffAndTrailingOnes

This commit is contained in:
Saxon 2019-09-07 08:39:55 +09:30
parent 61a5065556
commit 4aa71e901c
1 changed files with 1 additions and 8 deletions

View File

@ -79,14 +79,7 @@ type block struct {
// the specifications to obtain a value of nC, parse coeff_token from br and // the specifications to obtain a value of nC, parse coeff_token from br and
// then use table 9-5 to find corresponding values of TrailingOnes(coeff_token) // then use table 9-5 to find corresponding values of TrailingOnes(coeff_token)
// and TotalCoeff(coeff_token) which are then subsequently returned. // and TotalCoeff(coeff_token) which are then subsequently returned.
func parseTotalCoeffAndTrailingOnes( func parseTotalCoeffAndTrailingOnes(br *bits.BitReader, ctx *SliceContext, usingMbPredMode bool, level, maxNumCoef, inBlockIdx int) (totalCoeff, trailingOnes, nC, outBlockIdx int, err error) {
br *bits.BitReader,
ctx *SliceContext,
usingMbPredMode bool,
level,
maxNumCoef,
inBlockIdx int,
) (totalCoeff, trailingOnes, nC, outBlockIdx int, err error) {
if level == chromaDCLevel { if level == chromaDCLevel {
if ctx.chromaArrayType == 1 { if ctx.chromaArrayType == 1 {
nC = -1 nC = -1