Hi ,
I am trying to capture 1080I using OMX capture-encode demo and display on LCD on DM8148 EVM .
I have followed the below TI Forum link for modifying the Capture-Encode Demo to support 1080I (interlaced ) capture ,i have made all the changes that are mentioned in the link .
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/131887.aspx#475028
I am using a DVD player which is providing the Video input 1080I @ 25fps to the DM8148EVM .
The problem is that i am not getting a proper display on LCD ,i see two images ,one extended image getting overlapped with the other normal image .I have done
algEnable.bAlgBypass = 0 which should enable the DEI algorithm ,and i should get a correct display .
I doubt whether DEI component is deinterlacing ,is there any other way to enable the DEI algorithm ? Is it the Color format issuse? DEI output buffers are in YUV422I format ,should i change it to YUV420SP?
when the application exits ,i get a below error message .
tearing down the capture-encode example
exiting thread
exiting thread
exiting thread
exiting thread
got eventState changed to: OMX_StateIdle
capture state idle
got eventState changed to: OMX_StateIdle
control tvp state idle
got eventState changed to: OMX_StateIdle
DEI state idle
got eventState changed to: OMX_StateIdle
display state idle
got eventState changed to: OMX_StateIdle
display control state idle
got eventState changed to: OMX_StateIdle
Encoder state idle
got eventState changed to: OMX_StateLoaded
display state loaded
got eventState changed to: OMX_StateLoaded
ctrl-dc state loaded
got eventState changed to: OMX_StateLoaded
encoder state loaded
got event*** unrecoverable error: OMX_ErrorUndefined (0x80001001)
Press a key to proceed
./loggerSMDump.out 0x9E400000 0x100000 all
N:VPSS P:2 #:01303 T:000000136612dc05 S:Entered Function :omxrpc_skel_freebuffer
N:VPSS P:2 #:01304 T:0000001366162023 S:drivers/m2m/src/vpsdrv_m2mDei.c @ Line 522:
N:VPSS P:2 #:01305 T:000000136616b863 S:Context fields are not retrived back. Try FVID2_stop () before closing!!
N:VPSS P:2 #:01307 T:000000136618a989 S:Entered Function :omxrpc_skel_freebuffer
N:VPSS P:2 #:01306 T:0000001366171a81 S: OMX Error in _OMX_VFPCDeiDualOutDelete :: line 1197
N:VPSS P:2 #:01308 T:00000013661b9bb1 S: OMX Error in OMX_TI_VFPC_CommandNotify :: line 1303
N:VPSS P:2 #:01309 T:00000013661be94b S: OMX Error in _OMX_BASE_HandleStateTransition :: line 371
N:VPSS P:2 #:01310 T:00000013661c45d5 S:Module<OMX.TI.VPSSM3.VFPC.DEIMDUALOUT> Leaving<_OMX_BASE_HandleStateTransition> @line<482> with error<-2147479551:ErrorUndefined>
N:VPSS P:2 #:01311 T:00000013661e2ba5 S:Entered Function :omxrpc_skel_freebuffer
N:VPSS P:2 #:01312 T:0000001366225ffb S:Entered Function :omxrpc_skel_freebuffer
N:VPSS P:2 #:01314 T:0000001366273c61 S:Entered Function :omxrpc_skel_freebuffer
N:VPSS P:2 #:01313 T:000000136625fa83 S:Module<OMX.TI.VPSSM3.VFPC.DEIMDUALOUT> Leaving<OMX_BASE_PROCESS_CmdEvent> @line<784> with error<-2147479551:ErrorUndefined>
N:VPSS P:2 #:01315 T:0000001366296917 S:Module<OMX.TI.VPSSM3.VFPC.DEIMDUALOUT> Leaving<OMX_BASE_CmdEventHandler> @line<466> with error<-2147479551:ErrorUndefined>
N:VPSS P:2 #:01317 T:00000013662aaedd S:Entered Function :omxrpc_skel_freebuffer
N:VPSS P:2 #:01316 T:000000136629e28b S:Module<OMX.TI.VPSSM3.VFPC.DEIMDUALOUT> Entering<OMX_BASE_CmdEventHandler> @line<434>
Can anyone help me where am i going wrong ?any help is appreciated .
Thanks,
N Sivaramkrishna.