Lines Matching refs:paramIdx
268 const INT paramIdx, const INT numParamSets, in ecData() argument
277 if (independencyFlag || (losslessData->bsQuantCoarseXXX[paramIdx][0] != in ecData()
278 quantCoarseXXXprev[paramIdx])) { in ecData()
279 losslessData->bsXXXDataMode[paramIdx][0] = FINECOARSE; in ecData()
281 losslessData->bsXXXDataMode[paramIdx][0] = KEEP; in ecData()
284 losslessData->bsXXXDataMode[paramIdx][0] = FINECOARSE; in ecData()
290 FDKwriteBits(bitstream, losslessData->bsXXXDataMode[paramIdx][0], 2); in ecData()
293 if (losslessData->bsQuantCoarseXXX[paramIdx][ps] != in ecData()
294 losslessData->bsQuantCoarseXXX[paramIdx][ps - 1]) { in ecData()
295 losslessData->bsXXXDataMode[paramIdx][ps] = FINECOARSE; in ecData()
297 losslessData->bsXXXDataMode[paramIdx][ps] = KEEP; in ecData()
300 losslessData->bsXXXDataMode[paramIdx][ps] = FINECOARSE; in ecData()
306 FDKwriteBits(bitstream, losslessData->bsXXXDataMode[paramIdx][ps], 2); in ecData()
311 if (losslessData->bsXXXDataMode[paramIdx][ps] == FINECOARSE) { in ecData()
313 if (losslessData->bsXXXDataMode[paramIdx][ps + 1] == FINECOARSE) { in ecData()
316 if ((losslessData->bsQuantCoarseXXX[paramIdx][ps + 1] == in ecData()
317 losslessData->bsQuantCoarseXXX[paramIdx][ps]) && in ecData()
318 (losslessData->bsFreqResStrideXXX[paramIdx][ps + 1] == in ecData()
319 losslessData->bsFreqResStrideXXX[paramIdx][ps])) { in ecData()
320 losslessData->bsDataPair[paramIdx][ps] = 1; in ecData()
321 losslessData->bsDataPair[paramIdx][ps + 1] = 1; in ecData()
331 losslessData->bsDataPair[paramIdx][ps] = 0; in ecData()
335 losslessData->bsDataPair[paramIdx][ps + 1] = 0; in ecData()
338 losslessData->bsDataPair[paramIdx][ps] = 0; in ecData()
342 losslessData->bsDataPair[paramIdx][ps + 1] = 0; in ecData()
347 if (losslessData->bsXXXDataMode[paramIdx][ps] == DEFAULT) { in ecData()
352 quantCoarseXXXprev[paramIdx] = 0; /* Default data are always fine */ in ecData()
355 if (losslessData->bsXXXDataMode[paramIdx][ps] == FINECOARSE) { in ecData()
356 FDKwriteBits(bitstream, losslessData->bsDataPair[paramIdx][ps], 1); in ecData()
357 FDKwriteBits(bitstream, losslessData->bsQuantCoarseXXX[paramIdx][ps], 1); in ecData()
358 FDKwriteBits(bitstream, losslessData->bsFreqResStrideXXX[paramIdx][ps], in ecData()
361 if (losslessData->bsQuantCoarseXXX[paramIdx][ps] != in ecData()
362 quantCoarseXXXprev[paramIdx]) { in ecData()
363 if (quantCoarseXXXprev[paramIdx]) { in ecData()
372 getBsFreqResStride(losslessData->bsFreqResStrideXXX[paramIdx][ps]); in ecData()
394 if (losslessData->bsDataPair[paramIdx][ps]) { in ecData()
400 if (losslessData->bsDataPair[paramIdx][ps]) { in ecData()
403 losslessData->bsQuantCoarseXXX[paramIdx][ps], in ecData()
408 losslessData->bsQuantCoarseXXX[paramIdx][ps], in ecData()
414 if (losslessData->bsDataPair[paramIdx][ps]) { in ecData()
421 quantCoarseXXXprev[paramIdx] = in ecData()
422 losslessData->bsQuantCoarseXXX[paramIdx][ps]; in ecData()
425 if (losslessData->bsDataPair[paramIdx][ps]) { in ecData()