Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 124437

Forum Post: question about 720P in vip

$
0
0

i am using dm8168 , dvrrdk 3.0

when i set vip0 portA ,and vip1 portA enable.and then set input data format is SYSTEM_DF_YUV422P,

vip 0 portA : size is SYSTEM_STD_720P_60,  and driver is new which i add.

vip1 portA size is SYSTEM_STD_D1, driver is tvp5158

the project can run ,but display is not correctly. vip0 portA can not display ok, vip1 portA can display ok.  it seems that capture size is not right.

i print data size in function Vps_captLmParseDescWrInfo();   the value of channelNum,*fid, *frameWidth and *frameHeight , as follows:

[m3vpss ] libin 00: info channelNum 38,fid 0,frameWidth 1,frameHeight 2
[m3vpss ] libin 00: info channelNum 38,fid 0,frameWidth 1,frameHeight 2
[m3vpss ] libin 00: info channelNum 108,fid 1,frameWidth 720,frameHeight 288
[m3vpss ] libin 00: info channelNum 38,fid 0,frameWidth 1212,frameHeight 9
[m3vpss ] libin 00: info channelNum 38,fid 0,frameWidth 1,frameHeight 2
[m3vpss ] libin 00: info channelNum 108,fid 0,frameWidth 720,frameHeight 288
[m3vpss ] libin 00: info channelNum 38,fid 0,frameWidth 1053,frameHeight 15

now i know channelNum is vpdma channel, 38 is VPSHAL_VPDMA_CHANNEL_VIP0_MULT_PORTA_SRC0, 108 is VPSHAL_VPDMA_CHANNEL_VIP1_MULT_PORTA_SRC0

the size of channnel 38 is random,  i dont know what mistake i made.

create time information as follows

:

[host] IPC_BITSOUT:BitBuffer Alloc.PoolID:0,Size:0x2F76000
[host] IPCBITSOUTLINK:Translated Addr Virt:0x2bdea080 To Phy:0x88000080
[host] 108: IPC_BITS_OUT : Create Done !!!
[m3video] 10813: IPC_BITS_IN : Create in progress !!!
[m3video] 10813: SYSTEM: Opening ListMP [HOST_IPC_OUT_24] ...
[m3video] 10814: SYSTEM: Opening ListMP [HOST_IPC_IN_24] ...
[m3video] 10815: SYSTEM: Opening MsgQ [HOST_MSGQ] ...
[m3video] 10817: IPC_BITS_IN : Create Done !!!
[m3video] 10817: DECODE: Create in progress ... !!!
[m3video] DECLINK_H264:HEAPID:0 USED:4264
[m3video] DECLINK_H264:HEAPID:3 USED:8933376
[m3video] 10942: DECODE: Creating CH0 of 1920 x 1080 [PROGRESSIVE] [NON-TILED ],target bitrate = 2000 Kbps ...
[m3video] DECLINK_H264:HEAPID:0 USED:2368
[m3video] DECLINK_H264:HEAPID:3 USED:8933376
[m3video] 11065: DECODE: Creating CH1 of 1920 x 1080 [PROGRESSIVE] [NON-TILED ],target bitrate = 2000 Kbps ...
[m3video] DECLINK_H264:HEAPID:0 USED:2368
[m3video] DECLINK_H264:HEAPID:3 USED:8933376
[m3video] 11189: DECODE: Creating CH2 of 1920 x 1080 [PROGRESSIVE] [NON-TILED ],target bitrate = 2000 Kbps ...
[m3video] DECLINK_H264:HEAPID:0 USED:2368
[m3video] DECLINK_H264:HEAPID:3 USED:8933376
[m3video] 11313: DECODE: Creating CH3 of 1920 x 1080 [PROGRESSIVE] [NON-TILED ],target bitrate = 2000 Kbps ...
[m3video] 11314: DECODE: All CH Create ... DONE !!!
[m3vpss ] 11318: IPC_IN_M3 : Create in progress !!!
[m3vpss ] 11318: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_0] ...
[m3video] DECLINK:HEAPID:0 USED:11488
[m3vpss ] 11318: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_0] ...
[m3video] DECLINK:HEAPID:3 USED:107986944
[m3vpss ] 11319: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
[m3video] 11316: DECODE: Create ... DONE !!!
[m3vpss ] 11321: IPC_IN_M3 : Create Done !!!
[m3video] 11317: IPC_OUT_M3 : Create in progress !!!
[m3vpss ] 11321: CAPTURE: Create in progress !!!
[m3video] 11317: IPC_OUT_M3 : Create Done !!!
[m3vpss ] 11350: CAPTURE: VIP0 PortA capture mode is [16-bit, Non-mux Embedded Sync] !!!
[m3vpss ] 11443: CAPTURE: VIP1 PortA capture mode is [ 8-bit, Non-mux Embedded Sync] !!!
[m3vpss ] UTILS: DMA: Allocated CH (TCC) = 58 (58)
[m3vpss ] CAPTURE::HEAPID:0 USED:608
[m3vpss ] CAPTURE::HEAPID:4 USED:29085696
[m3vpss ] 11466: CAPTURE: Create Done !!!
[m3vpss ] 11466: DEI : Create in progress !!!
[m3vpss ] 11626: DEI : Loading Up-scaling Co-effs
[m3vpss ] 11626: DEI : Co-effs Loading ... DONE !!!
[m3video] 11628: IPC_IN_M3 : Create in progress !!!
[m3video] 11628: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
[m3vpss ] DEI:HEAPID:0 USED:64
[m3video] 11629: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
[m3vpss ] DEI:HEAPID:1 USED:6240
[m3video] 11631: IPC_IN_M3 : Create Done !!!
[m3vpss ] DEI:HEAPID:4 USED:34195968
[m3video] 11631: ENCODE: Create in progress ... !!!
[m3vpss ] 11626: DEI : Create Done !!!
[m3vpss ] 11627: MERGE : Create Done !!!
[m3vpss ] 11627: IPC_OUT_M3 : Create in progress !!!
[m3vpss ] 11628: IPC_OUT_M3 : Create Done !!!
[m3video] 11651: ENCODE: Creating CH0 of 1280 x 720, pitch = (1280, 1280) [PROGRESSIVE] [NON-TILED ], bitrate = 2000 Kbps ...


Viewing all articles
Browse latest Browse all 124437

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>