Skip to content

Commit db93758

Browse files
committed
lib: vc8000nanoe: fix some trace points
Fix some debug trace points. Signed-off-by: Hugues Fruchet <[email protected]
1 parent 1a87a15 commit db93758

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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)