Skip to content

Commit 0e0a671

Browse files
committed
lib: vc8000nanoe: fix some trace points
Fix some debug trace points. Signed-off-by: Hugues Fruchet <[email protected]>
1 parent 8e6a171 commit 0e0a671

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

lib/vc8000nanoe/README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,6 @@ Patch List:
8686
inc/encdebug.h
8787
source/h264/H264EncApi.c
8888
source/h264/H264Init.c
89+
90+
* Fix some trace points
91+
Impacted files: source/h264/H264EncApi.c

lib/vc8000nanoe/source/h264/H264EncApi.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,8 @@ H264EncRet H264EncSetCodingCtrl(H264EncInst inst,
660660
/* check depth*mb_width align to 4 */
661661
if ((pEncInst->mbPerRow * pCodeParams->inputLineBufDepth) & 3)
662662
{
663-
APITRACE("H264EncSetCodingCtrl: Invalid input buffer depth");
663+
APITRACE("H264EncSetCodingCtrl: Invalid input buffer depth (depth*mb_width align to 4)");
664+
APITRACEPARAM("mbPerRow", pEncInst->mbPerRow);
664665
return ENCHW_NOK;
665666
}
666667
}
@@ -1768,7 +1769,7 @@ H264EncRet H264EncStrmEncode(H264EncInst inst, const H264EncIn * pEncIn,
17681769
case H264ENC_P010:
17691770
if(!H264_BUS_ADDRESS_VALID(pEncIn->busChromaV))
17701771
{
1771-
APITRACE("H264EncStrmEncode: ERROR Invalid input busChromaU");
1772+
APITRACE("H264EncStrmEncode: ERROR Invalid input busChromaV");
17721773
return H264ENC_INVALID_ARGUMENT;
17731774
}
17741775
/* fall through */

0 commit comments

Comments
 (0)