Menu

#227 video decoder adv7183 test have dump info when running ffmpeg

master head
closed
None
low
rejected
BF561-EZKIT
2014-09-11
2014-07-25
panmingquan
No

video decoder adv7183 test have dump info when running ffmpeg.

Booting kernel from Legacy Image at 02000000 ...

Image Name: bf561-0.5-3.16.0-rc4-ADI-2014R1-
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 7208232 Bytes = 6.9 MiB
Load Address: 00001000
Entry Point: 00228eb0
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting Kernel at = 00228eb0
Linux version 3.16.0-rc4-ADI-2014R1-pre-00375-g0fedefa-dirty (test@linux66-561-jtag-capture) (gcc version 4.3.5 (ADI-master/git-db9494f) ) #2 Thu Jul 17 09:29:30 CST 2014
register early platform devices
bootconsole [early_shadow0] enabled
bootconsole [early_BFuart0] enabled
early printk enabled on early_BFuart0
Board Memory: 64MB
Kernel Managed Memory: 64MB
Memory map:
fixedcode = 0x00000400-0x00000490
text = 0x00001000-0x001737c0
rodata = 0x001737e4-0x001f1d7c
bss = 0x001f2000-0x002075d8
data = 0x002075e0-0x00222000
stack = 0x00220000-0x00222000
init = 0x00222000-0x007f1000
available = 0x007f1000-0x03c00000
DMA Zone = 0x03c00000-0x04000000
Hardware Trace active and enabled
Boot Mode: 0
Reset caused by Software reset
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF561 Rev 0.5
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 600 MHz core clock and 100 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
L2 SRAM : uncacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
L2 SRAM : cacheable (write-through) in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 15240
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf561-ezkit:eth0:off
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 52700K/61440K available (1481K kernel code, 106K rwdata, 505K rodata, 5948K init, 85K bss, 8740K reserved, 4096K DMA)
NR_IRQS:153
Configuring Blackfin Priority Driven Interrupts
Calibrating delay loop... 1191.93 BogoMIPS (lpj=2383872)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
devtmpfs: initialized
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 16 KB (15 KB free)
Blackfin L2 SRAM: 128 KB (128 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
ezkit_init(): registering device resources
bfin-spi bfin-spi.0: master is unqueued, this is deprecated
bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs@ffc00500, dma channel@16
i2c-gpio i2c-gpio.0: using pins 1 (SDA) and 0 (SCL)
Linux video capture interface: v2.00
Switched to clocksource bfin_cs_cycles
NET: Registered protocol family 2
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
debug-mmrs: setting up Blackfin MMR debugfs
msgmni has been set to 102
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 35, base_baud = 6250000) is a BFIN-UART
console [ttyBF0] enabled
console [ttyBF0] enabled
bootconsole [early_BFuart0] disabled
bootconsole [early_BFuart0] disabled
bootconsole [early_shadow0] disabled
brd: module loaded
physmap platform flash device: 00800000 at 20000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000020 Chip ID 0x0022ed
Amd/Fujitsu Extended Query Table at 0x0040
Amd/Fujitsu Extended Query version 1.3.
physmap-flash.0: Swapping erase regions for top-boot CFI table.
number of CFI chips: 1
Creating 5 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000040000 : "bootloader(nor)"
0x000000040000-0x000000200000 : "linux kernel(nor)"
0x000000200000-0x0000007f0000 : "file system(nor)"
0x0000007f0000-0x0000007fe000 : "config(nor)"
0x0000007fe000-0x000000800000 : "u-boot env(nor)"
smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre nico@fluxnic.net
smc91x smc91x.0 eth0: SMC91C11xFD (rev 1) at 2c010300 IRQ 82
[nowait]
smc91x smc91x.0 eth0: Ethernet addr: 00:e0:22:fe:b1:3c
ppi probe success
bfin_capture bfin_capture.0: v4l2 device registered
bfin_capture bfin_capture.0: video device registered as: video0
adv7183 0-0020: chip found @ 0x40 (i2c-gpio0)
bfin_capture bfin_capture.0: v4l2 sub device registered
bfin_wdt: initialized: timeout=20 sec (nowayout=0)
TCP: cubic registered
NET: Registered protocol family 17
smc91x smc91x.0 eth0: link down
smc91x smc91x.0 eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
IP-Config: Complete:
device=eth0, hwaddr=00:e0:22:fe:b1:3c, ipaddr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174
host=bf561-ezkit, domain=, nis-domain=(none)
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
dma_alloc_init: dma_page @ 0x008c8000 - 1024 pages at 0x03c00000
Freeing unused kernel memory: 5948K (00222000 - 007f1000)

BusyBox v1.22.1 (2014-07-17 09:11:08 CST) hush - the humble shell

root:/> successful boot attemptifconfig eth0 10.100.4.50
root:/> Ethernet may has been activated already!
random: nonblocking pool is initialized
version
kernel: Linux release 3.16.0-rc4-ADI-2014R1-pre-00375-g0fedefa-dirty, build #2 Thu Jul 17 09:29:30 CST 2014
toolchain: /home/test/workspace/src/kernel/label/BF561-EZKIT-STD/output/host/usr/bin/bfin-linux-uclibc-gcc release gcc version 4.3.5 (ADI-master/git-db9494f)
user-dist: release git-acb4fc8, build #1 Thu Jul 17 09:23:07 CST 2014
root:/>
Linux version: 3.16.0-rc4-ADI-2014R1-pre-00375-g0fedefa-dirty
GCC version: 4.3.5 (ADI-master/git-db9494f)
user-dist version: git-acb4fc8

root:/>
** STEP 3: Start testing

dmesg |grep video
Linux video capture interface: v2.00
bfin_capture bfin_capture.0: video device registered as: video0
root:/>
ase 1 ...PASS

Case 1 ...PASS
[6ndmesg |grep capture
Linux version 3.16.0-rc4-ADI-2014R1-pre-00375-g0fedefa-dirty (test@linux66-561-jtag-capture) (gcc version 4.3.5 (ADI-master/git-db9494f) ) #2 Thu Jul 17 09:29:30 CST 2014
Linux video capture interface: v2.00
bfin_capture bfin_capture.0: v4l2 device registered
bfin_capture bfin_capture.0: video device registered as: video0
bfin_capture bfin_capture.0: v4l2 sub device registered
root:/>
Case 2 ...PASS

Case 2 ...PASS
ffmpeg -f video4linux2 -s ntsc -pix_fmt uyvy422 -r 5 -i /dev/video0 -f m
mpeg udp://10.100.4.174:1234
f;39 g version 1.2.5 Copyright (c) 2000-2014 the FFmpeg developers
;3-mvi-eo:-57k- au-io:-kB -ubt-tle-0 g-oba- h-crnss-_refcx=/aomeptest/wouksprce/erc/.ern0l/l:bel BF5d1-EmKITaSTD_outaut/lWersA0kBRmuxNng IverNeadG0.0:000 %yrrooe=/hnme/test worospafe/s c/ksrnei/lazel/eF56 -EZ8IT-3TD/1utp4t/h8st/8sr/ finfbuiada[0mt /home/test/workspace/src/kernel/label/BF561-EZKIT-STD/linux/linux-kernel/drivers/media/v4l2-core/videobuf2-core.c:2115oot --host-cc=/usr/bin/gcc --arch=bfin --target-os=linux --enable-static --enable-shared --prefix=/usr --enable-avfiltModules linked in: --disable-version3 --enable-logging --disable-pic --enable-optimizations --disable-extra-warnings --disable-ffprobe --enable-avdevice --enable-avcodec --enable-avformat --enable-swscale --enable-postproc --disable-x11grab -CPU: 0 PID: 212 Comm: ffmpeg Not tainted 3.16.0-rc4-ADI-2014R1-pre-00375-g0fedefa-dirty #2e-fft --enable-mdct --enable-rdtask: 0266e3a0 ti: 02082000 task.ti: 02082000ble-vdpau --disable-dxva2 --enable-runtime-cpudetect --disable-hardcoded-tabADSP-BF561-0.5 600(MHz CCLK) 100(MHz SCLK) (mpu off)ble-avisynth --disable-frei0r --disable-libopencore-amrnb --disable-lLinux version 3.16.0-rc4-ADI-2014R1-pre-00375-g0fedefa-dirty (test@linux66-561-jtag-capture) (gcc version 4.3.5 (ADI-master/git-db9494f) ) #2 Thu Jul 17 09:29:30 CST 2014
libavformat 54. 63.104 / 54. 63.104
SEQUENCER STATUS:54. 3.103 / 54Not tainted
SEQSTAT: 00002021 IPEND: 8008 IMASK: ffff SYSCFG: 0006
EXCAUSE : 0x212. 2.100 / 2. 2.100
physical IVG3 asserted : <0x0000a4d4> { _trap + 0x0 }
physical IVG15 asserted : <0x0000acf4> { _evt_system_call + 0x0 }om 720x480 to 720x576
logical irq 6 mapped : <0x000058e4> { _bfin_coretmr_interrupt + 0x0 }1/5 to 1/25
logical irq 35 mapped : <0x000d0c5c> { _bfin_serial_dma_rx_int + 0x0 }be inaccurate
logical irq 36 mapped : <0x000d0a64> { _bfin_serial_dma_tx_int + 0x0 }
logical irq 82 mapped : <0x000f18f4> { _smc_interrupt + 0x0 }
RETE: <0x00000000> / Maybe null pointer? /565955), uyvy422, 720x576, 165888 kb/s, 25 fps, 25 tbr, 1000k tbn, 1000k tbc
RETN: <0x02083ce8> / kernel dynamic memory /
RETX: <0x00000480> / Maybe fixed code section /
RETS: <0x001039d8> { vb2queue_cancel + 0x1c }
PC : <0x00103ac4> { ^[[36;32R^[[36;9R^[[36;1R^[[36;9R
_vb2_queue_cancel + 0x108 }
DCPLB_FAULT_ADDR: <0x008baa20> / kernel dynamic memory /
ICPLB_FAULT_ADDR: <0x00103ac4> { ___vb2_queue_cancel + 0x108 }
PROCESSOR STATE:p, [?] for help
R0 : 00000001 R1 : 00000002 R2 : 00000001 R3 : 0000003fe= 345.9kbits/s
R4 : 008a0bc0 R5 : 00000001 R6 : 40045613 R7 : 00000000
P0 : 0000000a P1 : 00173e44 P2 : 000000c4 P3 : 0021ab38
P4 : 00188300 P5 : 008baa2c FP : 008ba968 SP : 02083c0c
LB0: 000f6152 LT0: 000f6152 LC0: 00000000=-0:0-:13[20 itrcte=u345t9kb ts/h e
LB1: 00721d23 LT1: 00721d22 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000018 I0 : 0000014a
B1 : 00001fa8 L1 : 00000000 M1 : 00000010 I1 : 008bf400
B2 : 018131b0 L2 : 00000000 M2 : 00000080 I2 : 00000000
B3 : 018131a0 L3 : 00000000 M3 : 0300006b I3 : 00528000
A0.w: 00000000 A0.x: 00000000 A1.w: 00000000 A1.x: 00000000
USP : 003ffae4 ASTAT: 02003004

---[ end trace e6e1530795673443 ]---
Hardware Trace:
Last passed time: 2014-06-03_15-00-47
User-dist commit b580d78675a37b1370fe0133ea98ae0f59923bac
Kernel commit 3856b11295b008ba5003a76cd2c6f18fd87b768b
Testsuites commit 7523be936d6555031d8823c6db187bcb7c02f7ec

Case 4 ...FAIL

Discussion

  • Sonic Zhang

    Sonic Zhang - 2014-08-01
    • assigned_to: Scott Jiang
    • Resolution: none --> assigned
     
  • Scott Jiang

    Scott Jiang - 2014-08-15
    • Resolution: assigned --> rejected
     
  • Scott Jiang

    Scott Jiang - 2014-08-15

    Ffmpeg requests much more memory now. So don't use ffmpeg to test video on bf5xx boards.

     
  • panmingquan

    panmingquan - 2014-09-11
    • status: open --> closed
     
  • panmingquan

    panmingquan - 2014-09-11

    video decoder adv7183 can pass v4l2_video_capture case.

    Booting kernel from Legacy Image at 02000000 ...

    Image Name: bf561-0.5-3.16.0-ADI-2014R1-pre-
    Image Type: Blackfin Linux Kernel Image (gzip compressed)
    Data Size: 7218594 Bytes = 6.9 MiB
    Load Address: 00001000
    Entry Point: 0022aeb0
    Verifying Checksum ... OK
    Uncompressing Kernel Image ... OK
    Starting Kernel at = 0022aeb0
    Linux version 3.16.0-ADI-2014R1-pre-00412-ga08e6b6-dirty (test@linux66-561-jtag-capture) (gcc version 4.3.5 (ADI-master/git-46c6a72) ) #2 Mon Sep 8 20:02:29 CST 2014
    register early platform devices
    bootconsole [early_shadow0] enabled
    bootconsole [early_BFuart0] enabled
    early printk enabled on early_BFuart0
    Board Memory: 64MB
    Kernel Managed Memory: 64MB
    Memory map:
    fixedcode = 0x00000400-0x00000490
    text = 0x00001000-0x00173b48
    rodata = 0x00173b6c-0x001f213c
    bss = 0x001f3000-0x002085d8
    data = 0x002085e0-0x00224000
    stack = 0x00222000-0x00224000
    init = 0x00224000-0x007f4000
    available = 0x007f4000-0x03c00000
    DMA Zone = 0x03c00000-0x04000000
    Hardware Trace active and enabled
    Boot Mode: 0
    Reset caused by Software reset
    Blackfin support (C) 2004-2010 Analog Devices, Inc.
    Compiled for ADSP-BF561 Rev 0.5
    Blackfin Linux support by http://blackfin.uclinux.org/
    Processor Speed: 600 MHz core clock and 100 MHz System Clock
    NOMPU: setting up cplb tables
    Instruction Cache Enabled for CPU0
    External memory: cacheable in instruction cache
    L2 SRAM : uncacheable in instruction cache
    Data Cache Enabled for CPU0
    External memory: cacheable (write-back) in data cache
    L2 SRAM : cacheable (write-through) in data cache
    Built 1 zonelists in Zone order, mobility grouping off. Total pages: 15240
    Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf561-ezkit:eth0:off
    PID hash table entries: 256 (order: -2, 1024 bytes)
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
    Memory: 52688K/61440K available (1482K kernel code, 110K rwdata, 505K rodata, 5952K init, 85K bss, 8752K reserved, 4096K DMA)
    NR_IRQS:153
    Configuring Blackfin Priority Driven Interrupts
    Calibrating delay loop... 1191.93 BogoMIPS (lpj=2383872)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    devtmpfs: initialized
    Blackfin Scratchpad data SRAM: 4 KB
    Blackfin L1 Data A SRAM: 16 KB (16 KB free)
    Blackfin L1 Data B SRAM: 16 KB (16 KB free)
    Blackfin L1 Instruction SRAM: 16 KB (15 KB free)
    Blackfin L2 SRAM: 128 KB (128 KB free)
    NET: Registered protocol family 16
    Blackfin DMA Controller
    ezkit_init(): registering device resources
    bfin-spi bfin-spi.0: master is unqueued, this is deprecated
    bfin-spi bfin-spi.0: Blackfin on-chip SPI Controller Driver, Version 1.0, regs@ffc00500, dma channel@16
    i2c-gpio i2c-gpio.0: using pins 1 (SDA) and 0 (SCL)
    Linux video capture interface: v2.00
    Switched to clocksource bfin_cs_cycles
    NET: Registered protocol family 2
    TCP established hash table entries: 1024 (order: 0, 4096 bytes)
    TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
    TCP: Hash tables configured (established 1024 bind 1024)
    TCP: reno registered
    UDP hash table entries: 256 (order: 0, 4096 bytes)
    UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    NET: Registered protocol family 1
    debug-mmrs: setting up Blackfin MMR debugfs
    msgmni has been set to 102
    io scheduler noop registered (default)
    bfin-uart: Blackfin serial driver
    bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 35, base_baud = 6250000) is a BFIN-UART
    console [ttyBF0] enabled
    console [ttyBF0] enabled
    bootconsole [early_BFuart0] disabled
    bootconsole [early_BFuart0] disabled
    bootconsole [early_shadow0] disabled
    brd: module loaded
    physmap platform flash device: 00800000 at 20000000
    physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000020 Chip ID 0x0022ed
    Amd/Fujitsu Extended Query Table at 0x0040
    Amd/Fujitsu Extended Query version 1.3.
    physmap-flash.0: Swapping erase regions for top-boot CFI table.
    number of CFI chips: 1
    Creating 5 MTD partitions on "physmap-flash.0":
    0x000000000000-0x000000040000 : "bootloader(nor)"
    0x000000040000-0x000000200000 : "linux kernel(nor)"
    0x000000200000-0x0000007f0000 : "file system(nor)"
    0x0000007f0000-0x0000007fe000 : "config(nor)"
    0x0000007fe000-0x000000800000 : "u-boot env(nor)"
    smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre nico@fluxnic.net
    smc91x smc91x.0 eth0: SMC91C11xFD (rev 1) at 2c010300 IRQ 82
    [nowait]
    smc91x smc91x.0 eth0: Ethernet addr: 00:e0:22:fe:b1:3c
    ppi probe success
    bfin_capture bfin_capture.0: v4l2 device registered
    bfin_capture bfin_capture.0: video device registered as: video0
    adv7183 0-0020: chip found @ 0x40 (i2c-gpio0)
    bfin_capture bfin_capture.0: v4l2 sub device registered
    bfin_wdt: initialized: timeout=20 sec (nowayout=0)
    TCP: cubic registered
    NET: Registered protocol family 17
    smc91x smc91x.0 eth0: link down
    smc91x smc91x.0 eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
    IP-Config: Complete:
    device=eth0, hwaddr=00:e0:22:fe:b1:3c, ipaddr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174
    host=bf561-ezkit, domain=, nis-domain=(none)
    bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
    dma_alloc_init: dma_page @ 0x008ca000 - 1024 pages at 0x03c00000
    Freeing unused kernel memory: 5952K (00224000 - 007f4000)

    BusyBox v1.22.1 (2014-09-08 19:43:28 CST) hush - the humble shell

    root:/>successful boot attempt ifconfig eth0 10.100.4.50
    root:/> Ethernet may has been activated already!
    random: nonblocking pool is initialized
    version
    kernel: Linux release 3.16.0-ADI-2014R1-pre-00412-ga08e6b6-dirty, build #2 Mon Sep 8 20:02:29 CST 2014
    toolchain: /home/test/workspace/src/kernel/label/BF561-EZKIT-STD/output/host/usr/bin/bfin-linux-uclibc-gcc release gcc version 4.3.5 (ADI-master/git-46c6a72)
    user-dist: release git-426e749, build #1 Mon Sep 8 19:56:21 CST 2014
    root:/>
    Linux version: 3.16.0-ADI-2014R1-pre-00412-ga08e6b6-dirty
    GCC version: 4.3.5 (ADI-master/git-46c6a72)
    user-dist version: git-426e749

    root:/>
    ** STEP 3: Start testing

    dmesg |grep video
    Linux video capture interface: v2.00
    bfin_capture bfin_capture.0: video device registered as: video0
    root:/>
    ase 1 ...PASS

    Case 1 ...PASS
    [6ndmesg |grep capture
    Linux version 3.16.0-ADI-2014R1-pre-00412-ga08e6b6-dirty (test@linux66-561-jtag-capture) (gcc version 4.3.5 (ADI-master/git-46c6a72) ) #2 Mon Sep 8 20:02:29 CST 2014
    Linux video capture interface: v2.00
    bfin_capture bfin_capture.0: v4l2 device registered
    bfin_capture bfin_capture.0: video device registered as: video0
    bfin_capture bfin_capture.0: v4l2 sub device registered
    root:/>
    Case 2 ...PASS

    Case 2 ...PASS
    echo 150 > /sys/class/gpio/export
    sh: write error: No such device
    root:/> echo out > /sys/class/gpio/gpio150/direction
    sh: can't open '/sys/class/gpio/gpio150/direction': No such file or directory
    root:/> echo 0 > /sys/class/gpio/gpio150/value
    sh: can't open '/sys/class/gpio/gpio150/value': No such file or directory
    root:/> echo 152 > /sys/class/gpio/export
    sh: write error: No such device
    root:/> echo out > /sys/class/gpio/gpio152/direction
    sh: can't open '/sys/class/gpio/gpio152/direction': No such file or directory
    root:/> echo 0 > /sys/class/gpio/gpio152/value
    sh: can't open '/sys/class/gpio/gpio152/value': No such file or directory
    root:/>
    Case 3 ...PASS

    Case 3 ...PASS
    v4l2_video_capture -h
    v4l2_video_capture: option requires an argument -- h
    Usage: v4l2_video_capture [-DIrFNfmiwh]
    -D --device device to use (default /dev/video0)
    -I --input select input (default 0)
    -r --rate frame rate (default 0)
    -F --file file name (default /1.yuv)
    -N --number number of frames to capture (default 1)
    -f --format pixel format (default uyvy)
    -m --mode testing mode (default 0)
    -i --ignore ignore error frames
    -w --width image width (default 640)
    -h --height image height (default 480)

    root:/> v4l2_video_capture -I 0 -F /video_decoder_adv7183.yuv
    enum inputs
    input[0]: Composite
    input[1]: S-Video
    input[2]: Component
    set input to 0: support std
    sensed video standard is PAL Combination N
    enum formats
    format[0]: YCbCr 4:2:2 Interleaved UYVY
    negotiated formats: 720x576
    field order: sequential BT
    size = 829440
    bytesperline = 1440
    pixelformat: UYVY
    request 3 buffers
    bufffer[0]: offset = 0, lengeth = 829440
    bufffer[1]: offset = 831488, lengeth = 829440
    bufffer[2]: offset = 1662976, lengeth = 829440
    stream on success
    open image file '/video_decoder_adv7183.yuv' success
    1 frames captured, 0 error frames
    root:/>
    Case 4 ...PASS

    Case 4 ...PASS
    PASS: rcp video to host PC

    VIDEO DECODER TEST (adv7183) ............[PASS]
    Test Period is: 78 seconds.
    Ending ./video_decoder_test.exp
    close.

     

Log in to post a comment.

MongoDB Logo MongoDB