Hello all:
I am using DM368 ipnc (ver 2.6), now I want to test the decoder function,
but it will display some error such as follow
1. if I use # ./moduletest.out alg_vidDec
CLK Hz,
ARM Hz = 432000000
DDR Hz = 340000000
VPSS Hz = 340000000
IMCOP Hz = 340000000
[OSA_FILE ] Reading file [/mnt/nand/IMG_Paramset.bin] ... ERROR
IMAGE TUNE: Paramset File is not available..... Setting DEFAULT parameter
DavinciDisplay DavinciDisplay.1: Before finishing with S_FMT:
layer.pix_fmt.bytesperline = 736,
layer.pix_fmt.width = 720,
layer.pix_fmt.height = 480,
layer.pix_fmt.sizeimage =529920
[OSA_FILE ] ReaDavinciDisplay DavinciDisplay.1: pixfmt->width = 720,
layer->layer_info.config.line_length= 736
ding file [/opt/ipnc/video-H264-1.264] ... Done. [5139335 bytes]DavinciDisplay D
avinciDisplay.1: Invalid crop values
ALG: VidDecDavinciDisplay DavinciDisplay.1: Error in S_CROP params
: Opening displaDavinciDisplay DavinciDisplay.1: Invalid crop values
y.
ERROR (drvDavinciDisplay DavinciDisplay.1: Error in S_CROP params
_display.c|DRV_dDavinciDisplay DavinciDisplay.1: Invalid crop values
isplaySetWinPos|DavinciDisplay DavinciDisplay.1: Error in S_CROP params
681): VIDIOC_S_CROP ioctl
ERROR (drv_display.c|DRV_displaySetWinSize|704): VIDIOC_S_CROP ioctl
ERROR (drv_display.c|DRV_displayExpand|596): VIDIOC_S_CROP ioctl
ALG: VidDec: Decode in progress!!!
Segmentation fault
#
2. If I use # ./CE_DEBUG=2 ./moduletest.out alg_vidDec, it will fault as follow
@6,267,865us: [+0 T:0x4001f350] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate>
Enter(alg=0x41c5e0)
@6,268,003us: [+0 T:0x4001f350] ti.sdo.ce.alg.Algorithm - Algorithm_deactivate>
Exit
@6,268,124us: [+0 T:0x4001f350] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_control> Exit
(handle=0x41c7e8, retVal=0x0)
@6,268,394us: [+0 T:0x4001f350] ti.sdo.ce.video2.VIDDEC2 - VIDDEC2_process> Ente
r (handle=0x41c7e8, inBufs=0xbed90a20, outBufs=0xbed90af8, inArgs=0xbed90b04, ou
tArgs=0xbed90280)
@6,268,534us: [+5 T:0x4001f350] CV - VISA_enter(visa=0x41c7e8): algHandle = 0x41
c5e0
@6,268,646us: [+0 T:0x4001f350] ti.sdo.ce.alg.Algorithm - Algorithm_activate> En
ter(alg=0x41c5e0)
@6,268,786us: [+0 T:0x4001f350] ti.sdo.ce.alg.Algorithm - Algorithm_activate> Ex
it
Segmentation fault
can anyone give me some advise how to correct it?
Now I want to add my own decoder(h.264->yuv420) on ipnc, but I can't get any resource about this.