修改jpegdecodedemo.c
执行后解码时间变长就不动了,请问要如何解决?
root@TinaLinux:/# jpegdecodedemo
********************************VE: enable hw clock
********************************enable_cedar_hw_clk,552
************
* This program shows how to decode a jpeg picture to yuv or rgb data
***************************************************************************
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : tina3.5
branch: tina-dev
date : Mon Jul 15 19:04:59 2019 +0800
Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
-------------------------------------------------------------------------------
[1970-01-01 05:48:50] INFO : cedarc <VeInitialize:1307>: *** ic_version = 0x1301000010210,
[1970-01-01 05:48:50] WARNING: cedarc <AddVDPlugin:1574>: 1117 get local path: /usr/lib/
[1970-01-01 05:48:50] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libaw_aacdec.so
[1970-01-01 05:48:50] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:50] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libaw_alacdec.so
[1970-01-01 05:48:50] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:50] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libaw_amrdec.so
[1970-01-01 05:48:50] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:50] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libaw_apedec.so
[1970-01-01 05:48:50] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:50] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libaw_atrcdec.so
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libaw_dsddec.so
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libaw_flacdec.so
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libaw_g729dec.so
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libaw_mp3dec.so
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libaw_oggdec.so
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libaw_opusdec.so
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libaw_radec.so
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libaw_siprdec.so
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/lVE: VE real_freq=576000000
ibaw_wavdec.so
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libawh264.so
[1970-01-01 05:48:51] INFO : cedarc <CedarPluginVDInit:79>: register h264 decoder success!
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libawh265.so
[1970-01-01 05:48:51] INFO : cedarc <CedarPluginVDInit:85>: register h265 decoder success!
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libawmjpeg.so
[1970-01-01 05:48:51] INFO : cedarc <CedarPluginVDInit:84>: register mjpeg decoder success!
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libawmpeg2.so
[1970-01-01 05:48:51] INFO : cedarc <CedarPluginVDInit:86>: register mpeg2 decoder success!
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libawmpeg4base.so
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPluginSingle:1424>: Invalid plugin, CedarPluginVDInit not found.
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libawmpeg4dx.so
[1970-01-01 05:48:51] INFO : cedarc <CedarPluginVDInit:92>: register mpeg4dx decoder success!
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libawmpeg4h263.so
[1970-01-01 05:48:51] INFO : cedarc <CedarPluginVDInit:79>: register mpeg4H263 decoder success!
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libawmpeg4normal.so
[1970-01-01 05:48:51] INFO : cedarc <CedarPluginVDInit:90>: register mpeg4Normal decoder success!
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libawvp6soft.so
[1970-01-01 05:48:51] INFO : cedarc <CedarPluginVDInit:70>: register vp6Soft decoder success!
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libawwmv12soft.so
[1970-01-01 05:48:51] INFO : cedarc <CedarPluginVDInit:88>: register Wmv12Soft decoder success!
[1970-01-01 05:48:51] WARNING: cedarc <AddVDPlugin:1584>: 1117 load so: /usr/lib/libawwmv3.so
[1970-01-01 05:48:51] INFO : cedarc <CedarPluginVDInit:74>: register vc1 decoder success!
srcBuf = 0x11a93f80,srcBufLen = 54299
JpegDecoderSetDataSource end
[1970-01-01 05:48:51] INFO : cedarc <log_set_level:43>: Set log level to 5 from /vendor/etc/cedarc.conf
[1970-01-01 05:48:51] ERROR : cedarc <DebugCheckConfig:302>: now cedarc log level:5
decode time = 4162 us
JpegDecoderGetFrame successfully,imgFrame->mWidth = 1280,imgFrame->mHeight = 480,imgFrame->mYuvData = 0x3fc2778010,imgFrame->mYuvSize = 921600
imgFrame->mRGB565Data = (nil),imgFrame->mRGB565Size = 0
srcBuf = 0x11aa4830,srcBufLen = VE: VE real_freq=576000000
54416
JpegDecoderSetDataSource end
[1970-01-01 05:48:52] ERROR : cedarc <DebugCheckConfig:302>: now cedarc log level:5
decode time = 4113 us
JpegDecoderGetFrame successfully,imgFrame->mWidth = 1280,imgFrame->mHeight = 480,imgFrame->mYuvData = 0x11ad1ce0,imgFrame->mYuvSize = 921600
imgFrame->mRGB565Data = (nil),imgFrame->mRGB565Size = 0
srcBuf = 0x11bb2cf0,srcBufLen = VE: VE real_freq=576000000
54690
JpegDecoderSetDataSource end
[1970-01-01 05:48:53] ERROR : cedarc <DebugCheckConfig:302>: now cedarc log level:5
decode time = 4117 us
JpegDecoderGetFrame successfully,imgFrame->mWidth = 1280,imgFrame->mHeight = 480,imgFrame->mYuvData = 0x11ad1ce0,imgFrame->mYuvSize = 921600
imgFrame->mRGB565Data = (nil),imgFrame->mRGB565Size = 0
srcBuf = 0x11be02b0,srcBufLen = VE: VE real_freq=576000000
55462
JpegDecoderSetDataSource end
[1970-01-01 05:48:54] ERROR : cedarc <DebugCheckConfig:302>: now cedarc log level:5
decode time = 4164 us
JpegDecoderGetFrame successfully,imgFrame->mWidth = 1280,imgFrame->mHeight = 480,imgFrame->mYuvData = 0x11ad1ce0,imgFrame->mYuvSize = 921600
imgFrame->mRGB565Data = (nil),imgFrame->mRGB565Size = 0
srcBuf = 0x11be02b0,srcBufLen = VE: VE real_freq=576000000
55067
JpegDecoderSetDataSource end
[1970-01-01 05:48:55] ERROR : cedarc <DebugCheckConfig:302>: now cedarc log level:5
decode time = 4151 us
JpegDecoderGetFrame successfully,imgFrame->mWidth = 1280,imgFrame->mHeight = 480,imgFrame->mYuvData = 0x11ad1ce0,imgFrame->mYuvSize = 921600
imgFrame->mRGB565Data = (nil),imgFrame->mRGB565Size = 0
srcBuf = 0x11c2db80,srcBufLen = VE: VE real_freq=576000000
55352
JpegDecoderSetDataSource end
[1970-01-01 05:48:56] ERROR : cedarc <DebugCheckConfig:302>: now cedarc log level:5
decode time = 4142 us
JpegDecoderGetFrame successfully,imgFrame->mWidth = 1280,imgFrame->mHeight = 480,imgFrame->mYuvData = 0x11ad1ce0,imgFrame->mYuvSize = 921600
imgFrame->mRGB565Data = (nil),imgFrame->mRGB565Size = 0
srcBuf = 0x11c5b3d0,srcBufLen = VE: VE real_freq=576000000
56259
JpegDecoderSetDataSource end
[1970-01-01 05:48:57] ERROR : cedarc <DebugCheckConfig:302>: now cedarc log level:5
decode time = 20515 us
JpegDecoderGetFrame successfully,imgFrame->mWidth = 1280,imgFrame->mHeight = 480,imgFrame->mYuvData = 0x11ad1ce0,imgFrame->mYuvSize = 921600
imgFrame->mRGB565Data = (nil),imgFrame->mRGB565Size = 0
srcBuf = 0x11c5b3d0,srcBufLen = VE: VE real_freq=576000000
56033
JpegDecoderSetDataSource end
[1970-01-01 05:48:58] ERROR : cedarc <DebugCheckConfig:302>: now cedarc log level:5
decode time = 13783 us
JpegDecoderGetFrame successfully,imgFrame->mWidth = 1280,imgFrame->mHeight = 480,imgFrame->mYuvData = 0x11ad1ce0,imgFrame->mYuvSize = 921600
imgFrame->mRGB565Data = (nil),imgFrame->mRGB565Size = 0
srcBuf = 0x11ca8fc0,srcBufLen = VE: VE real_freq=576000000
57229
JpegDecoderSetDataSource end
[1970-01-01 05:48:59] ERROR : cedarc <DebugCheckConfig:302>: now cedarc log level:5
decode time = 7855 us
JpegDecoderGetFrame successfully,imgFrame->mWidth = 1280,imgFrame->mHeight = 480,imgFrame->mYuvData = 0x11ad1ce0,imgFrame->mYuvSize = 921600
imgFrame->mRGB565Data = (nil),imgFrame->mRGB565Size = 0
srcBuf = 0x11ca8fc0,srcBufLen = VE: VE real_freq=576000000
56724
JpegDecoderSetDataSource end
[1970-01-01 05:49:00] ERROR : cedarc <DebugCheckConfig:302>: now cedarc log level:5
decode time = 11541 us
JpegDecoderGetFrame successfully,imgFrame->mWidth = 1280,imgFrame->mHeight = 480,imgFrame->mYuvData = 0x11ad1ce0,imgFrame->mYuvSize = 921600
imgFrame->mRGB565Data = (nil),imgFrame->mRGB565Size = 0
srcBuf = 0x11cf6f80,srcBufLen = VE: VE real_freq=576000000
57238
JpegDecoderSetDataSource end
[1970-01-01 05:49:01] ERROR : cedarc <DebugCheckConfig:302>: now cedarc log level:5
decode time = 511552 us
JpegDecoderGetFrame successfully,imgFrame->mWidth = 1280,imgFrame->mHeight = 480,imgFrame->mYuvData = 0x11ad1ce0,imgFrame->mYuvSize = 921600
imgFrame->mRGB565Data = (nil),imgFrame->mRGB565Size = 0
srcBuf = 0x11d24f30,srcBufLen = 58344
JpegDecoderSetDataSource end
[1970-01-01 05:49:05] ERROR : cedarc <DebugCheckConfig:302>: now cedarc log level:5
VE: VE real_freq=576000000