History

Convert tabs to spaces in multiline comments

Martin Storsjö committed 11 years ago

Commit b05468b1 parent 853423b67 files · +805 −805Browse files

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

Unified · Split

codec/decoder/core/src/decoder.cpp+31−31
@@ -323,12 +323,12 @@ void WelsDecoderDefaults (PWelsDecoderContext pCtx, SLogContext* pLogCtx) { · 322 unmodified lines
323323 }
324324
325325 /*
326− * destory_mb_blocks
326+ * destory_mb_blocks
327327 */
328328
329329
330330 /*
331− * get size of reference picture list in target layer incoming, = (iNumRefFrames
331+ * get size of reference picture list in target layer incoming, = (iNumRefFrames
332332 */
333333 static inline int32_t GetTargetRefListSize (PWelsDecoderContext pCtx) {
334334 int32_t iNumRefFrames = 0;
@@ -350,7 +350,7 @@ static inline int32_t GetTargetRefListSize (PWelsDecoderContext pCtx) { · 15 unmodified lines
350350 }
351351
352352 /*
353− * request memory blocks for decoder avc part
353+ * request memory blocks for decoder avc part
354354 */
355355 int32_t WelsRequestMem (PWelsDecoderContext pCtx, const int32_t kiMbWidth, const int32_t kiMbHeight) {
356356 const int32_t kiPicWidth = kiMbWidth << 4;
@@ -431,7 +431,7 @@ int32_t WelsRequestMem (PWelsDecoderContext pCtx, const int32_t kiMbWidth, const · 74 unmodified lines
431431 }
432432
433433 /*
434− * free memory blocks in avc
434+ * free memory blocks in avc
435435 */
436436 void WelsFreeMem (PWelsDecoderContext pCtx) {
437437 int32_t iListIdx = 0;
@@ -460,7 +460,7 @@ void WelsFreeMem (PWelsDecoderContext pCtx) { · 22 unmodified lines
460460 }
461461
462462 /*!
463− * \brief Open decoder
463+ * \brief Open decoder
464464 */
465465 int32_t WelsOpenDecoder (PWelsDecoderContext pCtx) {
466466 // function pointers
@@ -492,7 +492,7 @@ int32_t WelsOpenDecoder (PWelsDecoderContext pCtx) { · 25 unmodified lines
492492 }
493493
494494 /*!
495− * \brief Close decoder
495+ * \brief Close decoder
496496 */
497497 void WelsCloseDecoder (PWelsDecoderContext pCtx) {
498498 WelsFreeMem (pCtx);
@@ -511,7 +511,7 @@ void WelsCloseDecoder (PWelsDecoderContext pCtx) { · 12 unmodified lines
511511 }
512512
513513 /*!
514− * \brief configure decoder parameters
514+ * \brief configure decoder parameters
515515 */
516516 int32_t DecoderConfigParam (PWelsDecoderContext pCtx, const SDecodingParam* kpParam) {
517517 if (NULL == pCtx || NULL == kpParam)
@@ -549,14 +549,14 @@ int32_t DecoderConfigParam (PWelsDecoderContext pCtx, const SDecodingParam* kpPa · 31 unmodified lines
549549
550550 /*!
551551 *************************************************************************************
552− * \brief Initialize Wels decoder parameters and memory
552+ * \brief Initialize Wels decoder parameters and memory
553553 *
554− * \param pCtx input context to be initialized at first stage
554+ * \param pCtx input context to be initialized at first stage
555555 *
556− * \return 0 - successed
557− * \return 1 - failed
556+ * \return 0 - successed
557+ * \return 1 - failed
558558 *
559− * \note N/A
559+ * \note N/A
560560 *************************************************************************************
561561 */
562562 int32_t WelsInitDecoder (PWelsDecoderContext pCtx, const bool bParseOnly, SLogContext* pLogCtx) {
@@ -574,13 +574,13 @@ int32_t WelsInitDecoder (PWelsDecoderContext pCtx, const bool bParseOnly, SLogCo · 11 unmodified lines
574574
575575 /*!
576576 *************************************************************************************
577− * \brief Uninitialize Wels decoder parameters and memory
577+ * \brief Uninitialize Wels decoder parameters and memory
578578 *
579− * \param pCtx input context to be uninitialized at release stage
579+ * \param pCtx input context to be uninitialized at release stage
580580 *
581− * \return NONE
581+ * \return NONE
582582 *
583− * \note N/A
583+ * \note N/A
584584 *************************************************************************************
585585 */
586586 void WelsEndDecoder (PWelsDecoderContext pCtx) {
@@ -598,18 +598,18 @@ void GetVclNalTemporalId (PWelsDecoderContext pCtx) { · 11 unmodified lines
598598
599599 /*!
600600 *************************************************************************************
601− * \brief First entrance to decoding core interface.
601+ * \brief First entrance to decoding core interface.
602602 *
603− * \param pCtx decoder context
604− * \param pBufBs bit streaming buffer
605− * \param kBsLen size in bytes length of bit streaming buffer input
606− * \param ppDst picture payload data to be output
607− * \param pDstBufInfo buf information of ouput data
603+ * \param pCtx decoder context
604+ * \param pBufBs bit streaming buffer
605+ * \param kBsLen size in bytes length of bit streaming buffer input
606+ * \param ppDst picture payload data to be output
607+ * \param pDstBufInfo buf information of ouput data
608608 *
609− * \return 0 - successed
610− * \return 1 - failed
609+ * \return 0 - successed
610+ * \return 1 - failed
611611 *
612− * \note N/A
612+ * \note N/A
613613 *************************************************************************************
614614 */
615615 int32_t WelsDecodeBs (PWelsDecoderContext pCtx, const uint8_t* kpBsBuf, const int32_t kiBsLen,
@@ -807,13 +807,13 @@ int32_t DecoderSetCsp (PWelsDecoderContext pCtx, const int32_t kiColorFormat) { · 191 unmodified lines
807807 }
808808
809809 /*!
810− * \brief make sure synchonozization picture resolution (get from slice header) among different parts (i.e, memory related and so on)
811− * over decoder internal
810+ * \brief make sure synchonozization picture resolution (get from slice header) among different parts (i.e, memory related and so on)
811+ * over decoder internal
812812 * ( MB coordinate and parts of data within decoder context structure )
813− * \param pCtx Wels decoder context
814− * \param iMbWidth MB width
815− * \pram iMbHeight MB height
816− * \return 0 - successful; none 0 - something wrong
813+ * \param pCtx Wels decoder context
814+ * \param iMbWidth MB width
815+ * \pram iMbHeight MB height
816+ * \return 0 - successful; none 0 - something wrong
817817 */
818818 int32_t SyncPictureResolutionExt (PWelsDecoderContext pCtx, const int32_t kiMbWidth, const int32_t kiMbHeight) {
819819 int32_t iErr = ERR_NONE;

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