Part Number: DRA72XEVM
Tool/software: Linux
Hi TI,
Using PVSDK_03_04 SDK in DRA72XEVM board. Using NullSrc + Decode + Display usecase.
In NullSrcLink_processData() function, based on channel number OSA_bufGetEmptyBuffer(&pObj->outBufQue, &pBuffer, OSA_TIMEOUT_NONE); function will be called.
For each channel number 104 bytes will be assigned for System_Buffer *pBuffer. (Getting the address and processing and releasing mechanism should happen)
In a couple of iterations between the channels 1560 is getting incremented instead of increasing 104 bytes.
[HOST] [HOST ] 43.252851 s: ITS getting empty pBuffer is 0x2f7878 ChId = 0
[HOST] [HOST ] 43.252912 s: ITS putting full pBuffer is 0x2f7878 ChId = 0
[HOST] [HOST ] 43.252912 s: ITS getting empty pBuffer is 0x2f78e0 ChId = 1 8e0 - 878 = 104 bytes
[HOST] [HOST ] 43.252943 s: ITS putting full pBuffer is 0x2f78e0 ChId = 1
[HOST] [HOST ] 43.252943 s: ITS getting empty pBuffer is 0x2f7948 ChId = 2
[HOST] [HOST ] 43.252943 s: ITS putting full pBuffer is 0x2f7948 ChId = 2
[HOST] [HOST ] 43.252973 s: ITS getting empty pBuffer is 0x2f79b0 ChId = 3
[HOST] [HOST ] 43.252973 s: ITS putting full pBuffer is 0x2f79b0 ChId = 3
[HOST] [HOST ] 43.285731 s: ITS getting empty pBuffer is 0x2f7ef8 ChId = 0
[HOST] [HOST ] 43.285731 s: ITS putting full pBuffer is 0x2f7ef8 ChId = 0
[HOST] [HOST ] 43.285762 s: ITS getting empty pBuffer is 0x2f7f60 ChId = 1
[HOST] [HOST ] 43.285762 s: ITS putting full pBuffer is 0x2f7f60 ChId = 1
[HOST] [HOST ] 43.285762 s: ITS getting empty pBuffer is 0x2f7fc8 ChId = 2
[HOST] [HOST ] 43.285792 s: ITS putting full pBuffer is 0x2f7fc8 ChId = 2
[HOST] [HOST ] 43.285792 s: ITS getting empty pBuffer is 0x2f8030 ChId = 3
[HOST] [HOST ] 43.285853 s: ITS putting full pBuffer is 0x2f8030 ChId = 3
[HOST] [HOST ] 43.318642 s: ITS getting empty pBuffer is 0x2f8578 ChId = 0
[HOST] [HOST ] 43.318642 s: ITS putting full pBuffer is 0x2f8578 ChId = 0
[HOST] [HOST ] 43.318642 s: ITS getting empty pBuffer is 0x2f85e0 ChId = 1
[HOST] [HOST ] 43.318672 s: ITS putting full pBuffer is 0x2f85e0 ChId = 1
[HOST] [HOST ] 43.318672 s: ITS getting empty pBuffer is 0x2f8648 ChId = 2
[HOST] [HOST ] 43.318672 s: ITS putting full pBuffer is 0x2f8648 ChId = 2
[HOST] [HOST ] 43.318703 s: ITS getting empty pBuffer is 0x2f86b0 ChId = 3
[HOST] [HOST ] 43.318703 s: ITS putting full pBuffer is 0x2f86b0 ChId = 3
[HOST] [HOST ] 43.351674 s: ITS getting empty pBuffer is 0x2f8bf8 ChId = 0
[HOST] [HOST ] 43.351704 s: ITS putting full pBuffer is 0x2f8bf8 ChId = 0
[HOST] [HOST ] 43.351735 s: ITS getting empty pBuffer is 0x2f8c60 ChId = 1
[HOST] [HOST ] 43.351765 s: ITS putting full pBuffer is 0x2f8c60 ChId = 1
[HOST] [HOST ] 43.351765 s: ITS getting empty pBuffer is 0x2f8cc8 ChId = 2
[HOST] [HOST ] 43.351765 s: ITS putting full pBuffer is 0x2f8cc8 ChId = 2
[HOST] [HOST ] 43.351796 s: ITS getting empty pBuffer is 0x2f8d30 ChId = 3
[HOST] [HOST ] 43.351796 s: ITS putting full pBuffer is 0x2f8d30 ChId = 3
[HOST] [HOST ] 43.384645 s: ITS getting empty pBuffer is 0x2f7878 ChId = 0
[HOST] [HOST ] 43.384676 s: ITS putting full pBuffer is 0x2f7878 ChId = 0
[HOST] [HOST ] 43.384676 s: ITS getting empty pBuffer is 0x2f78e0 ChId = 1
[HOST] [HOST ] 43.384676 s: ITS putting full pBuffer is 0x2f78e0 ChId = 1
[HOST] [HOST ] 43.384706 s: ITS getting empty pBuffer is 0x2f7ef8 ChId = 2
[HOST] [HOST ] 43.384706 s: ITS putting full pBuffer is 0x2f7ef8 ChId = 2 ef8 -8e0 = Decimal value: 1560, Hex value: 618
[HOST] [HOST ] 43.384706 s: ITS getting empty pBuffer is (nil) ChId = 3
[HOST] [HOST ] 43.384706 s: pBuffer is NULL ERROR ChId = 3
In which scenario is it happening ?
Kindly suggest me to solve this issue !!!
Regards,
Rajesh Kannan S