History

replace LayerBsInfo with FrameBsInfo in thread-based private data structure

huade committed 11 years ago

Commit 7b286bc1 parent 5d9b9527 files · +41 −23Browse files

Showing the changes to codec/encoder/core/src/encoder.cpp (1 of 7 files). Show all

Unified · Split

codec/encoder/core/src/encoder.cpp+1−0
@@ -233,6 +233,7 @@ void InitFrameCoding (sWelsEncCtx* pEncCtx, const EVideoFrameType keFrameType) { · 232 unmodified lines
233 // for bitstream writing233 // for bitstream writing
234 pEncCtx->iPosBsBuffer = 0; // reset bs pBuffer position234 pEncCtx->iPosBsBuffer = 0; // reset bs pBuffer position
235 pEncCtx->pOut->iNalIndex = 0; // reset NAL index235 pEncCtx->pOut->iNalIndex = 0; // reset NAL index
236 pEncCtx->pOut->iLayerBsIndex = 0; // reset index of Layer Bs
236 237
237 InitBits (&pEncCtx->pOut->sBsWrite, pEncCtx->pOut->pBsBuffer, pEncCtx->pOut->uiSize);238 InitBits (&pEncCtx->pOut->sBsWrite, pEncCtx->pOut->pBsBuffer, pEncCtx->pOut->uiSize);
238 239

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t