OpenMaxIL deinit code problem - Raspberry Pi Forums
hi guys,
i'm having problem custom openmax il code (aren't all) customized hello_videocube example. i'm not using gles, rather i'm creating output buffer on video_scheduler component , using in sdl code.
i'm using rather standard deinit code: unfortunately, fails on second line when disabling input port buffer of video_decode component. i'm seeing in vcdbg when executing disable port command: , lot of these afterwards: had similar issues? pointers in right direction apreciated.... if needed can provide hack'n'slash code review...
thanks
i'm having problem custom openmax il code (aren't all) customized hello_videocube example. i'm not using gles, rather i'm creating output buffer on video_scheduler component , using in sdl code.
i'm using rather standard deinit code:
code: select all
ilclient_flush_tunnels(omxtunnellist, 0); ilclient_disable_port_buffers(omxvideodecode, 130, null, null, null); ilclient_disable_tunnel(omxtunnellist); ilclient_disable_tunnel(omxtunnellist+1); ilclient_teardown_tunnels(omxtunnellist); ilclient_state_transition(omxcomponentlist, omx_stateidle); ilclient_state_transition(omxcomponentlist, omx_stateloaded); ilclient_cleanup_components(omxcomponentlist);
code: select all
755682.080: h264pwr_enable(10000000,00000000) 755682.099: h264pwr_enable newa newb (1c1cddf1,00000001) 755682.141: mci: start 10000000 00000080 00049550 00049540 00000029 00000000 00000000 ffffffff 755682.172: h264pwr_enable(00040800,00000000) 755682.189: h264pwr_enable newa newb (1c1cddf1,00000001) 755682.225: video_decode:0:freebuffer(130,3e4da9c0,held:0 ril:20 count:20) 755682.245: h264pwr_disable(00040800,00000000) 755682.265: h264pwr_disable newa newb (1c1cddf1,00000001) 755682.329: mci: end 00000001 00000080 00049570 00049560 00000029 00000000 00000000 00000000 755682.351: h264pwr_disable(10000000,00000000) 755682.372: h264pwr_disable newa newb (0c1cddf1,00000001) 755682.407: video_decode:0:cb:consumed_input_buffer(3e4daa40,0b,0f) ril:20 755682.450: h264pwr_enable(00040800,00000000) 755682.474: h264pwr_enable newa newb (0c1cddf1,00000001) 755682.496: h264pwr_disable(00040800,00000000) 755682.517: h264pwr_disable newa newb (0c1cddf1,00000001) 755682.601: video_decode:0:freebuffer(130,3e4daa40,held:0 ril:19 count:19) 755682.643: video_decode:0:cb:consumed_input_buffer(3e4daac0,0b,0f) ril:19 755682.699: video_decode:0:cb:consumed_input_buffer(3e4dab40,0b,0f) ril:18 755682.758: video_decode:0:cb:consumed_input_buffer(3e4dabc0,0b,0f) ril:17 755682.812: video_decode:0:cb:consumed_input_buffer(3e4dac40,0b,0f) ril:16 755682.872: video_decode:0:freebuffer(130,3e4dab40,held:0 ril:15 count:18) 755682.914: video_decode:0:cb:consumed_input_buffer(3e4dacc0,0b,0f) ril:15 755682.969: video_decode:0:cb:consumed_input_buffer(3e4dad40,0b,0f) ril:14 755683.025: video_decode:0:cb:consumed_input_buffer(3e4dadc0,0b,0f) ril:13 755683.081: video_decode:0:freebuffer(130,3e4daac0,held:0 ril:12 count:17) 755683.123: video_decode:0:cb:consumed_input_buffer(3e4dae40,0b,0f) ril:12 755683.177: video_decode:0:cb:consumed_input_buffer(3e4daec0,0b,0f) ril:11 755683.232: video_decode:0:cb:consumed_input_buffer(3e4daf40,0b,0f) ril:10 755683.288: video_decode:0:freebuffer(130,3e4dae40,held:0 ril:9 count:16) 755683.341: video_decode:0:cb:consumed_input_buffer(3e4dafc0,0b,0f) ril:9 755683.391: video_decode:0:cb:consumed_input_buffer(3e4db040,0b,0f) ril:8 755683.443: video_decode:0:cb:consumed_input_buffer(3e4db0c0,0b,0f) ril:7 755683.492: video_decode:0:cb:consumed_input_buffer(3e4db140,0b,0f) ril:6 755683.554: video_decode:0:freebuffer(130,3e4dadc0,held:0 ril:5 count:15) 755683.591: video_decode:0:cb:consumed_input_buffer(3e4db1c0,0b,0f) ril:5 755683.644: video_decode:0:cb:consumed_input_buffer(3e4db240,0b,0f) ril:4 755683.694: video_decode:0:cb:consumed_input_buffer(3e4db2c0,0b,0f) ril:3 755683.748: video_decode:0:freebuffer(130,3e4dad40,held:0 ril:2 count:14) 755683.786: video_decode:0:cb:consumed_input_buffer(3e4da940,0b,0f) ril:2 755683.837: video_decode:0:cb:consumed_input_buffer(3e4da9c0,0b,0f) ril:1
code: select all
755684.283: video_decode:0:freebuffer(130,3e4dabc0,held:0 ril:0 count:11) 755684.449: video_decode:0:freebuffer(130,3e4da9c0,held:0 ril:0 count:10) 755684.588: h264pwr_enable(00040800,00000000) 755684.606: h264pwr_enable newa newb (00040811,00000001) 755684.646: h264pwr_disable(00040800,00000000) 755684.666: h264pwr_disable newa newb (00000011,00000001) 755684.739: h264#0: msg: slice[size=768 au=0000010e] data=99 bits 00093650+000029b8 in 231+00100000 type=p firstmb=0 dirin=ffffffff 755684.868: h264#0: msg: slice list0=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 755684.903: h264pwr_enable(00040800,00000000) 755684.919: h264pwr_enable newa newb (00040811,00000001) 755684.961: h264pwr_disable(00040800,00000000) 755684.983: h264pwr_disable newa newb (00000011,00000001) 755685.041: h264#0: msg: auend[size=64 au=0000010e] picid=16 release=16,0,4,5,1,2,3 755685.066: h264pwr_enable(00040800,00000000) 755685.086: h264pwr_enable newa newb (00040811,00000001) 755685.119: h264pwr_disable(00040800,00000000) 755685.137: h264pwr_disable newa newb (00000011,00000001) 755685.226: h264#0: msg: austart[size=640 pic=0000010f] au=0000010f:0(0) err=00000000 frnum=15 ffpicid=-1 grey=-1 dirout=ffffffff ud=33:3e4d2c3c flags=ref display=none
thanks
disregard, solved differently.
raspberrypi
Comments
Post a Comment