| 1533 | } |
| 1534 | |
| 1535 | int32_t GetCurLayerNalCount (const SDqLayer* pCurDq, const int32_t kiCodedSliceNum) { |
| 1536 | int32_t iTotalNalCount = 0; |
| 1537 | int32_t iSliceIdx = 0; |
| 1538 | SWelsSliceBs* pSliceBs = NULL; |
| 1539 | for (; iSliceIdx < kiCodedSliceNum; iSliceIdx++) { |
| 1540 | pSliceBs = &pCurDq->ppSliceInLayer[iSliceIdx]->sSliceBs; |
| 1541 | if (pSliceBs != NULL && pSliceBs->uiBsPos > 0) { |
| 1542 | iTotalNalCount += pSliceBs->iNalIndex; |
| 1543 | } |
| 1544 | } |
| 1545 | |
| 1546 | return iTotalNalCount; |
| 1547 | } |
| 1548 | |
| 1549 | int32_t GetTotalCodedNalCount (SFrameBSInfo* pFbi) { |
| 1550 | int32_t iTotalCodedNalCount = 0; |
no outgoing calls
no test coverage detected