Video Input of MB86291

Similar documents
Jasmine Sub-board Limitation MB87P2020-A

BLDC DRIVE USING AN OPTICAL ENCODER

HDSP2X4. HDMI 2 x 4 Splitter with Full HD 1080p

The following document contains information on Cypress products.

Setup Guide. Introduction

EXT-SDHDX. Mini SDI to HDMI Converter

Setup Guide. Introduction

SW-HD3X14K. SW-HD3X14K 3x1 HDMI Switcher with 4K Support

SDI-SDHDXPRO User Manual. Version1.2

Content. 3G SDI 1x16 Splitter with Re-Clock Technology 1 INTRODUCTION..1 2 SPECIFICATION PACKAGE CONTENT. 3 4 PANEL DESCRIPTION..

User Manual. AtlonA COMPOSITE VIDEO (BNC) + STEREO AUDIO TO HDMI VIDEO FORMAT CONVERTER AND SCALER AT-HD120

AtlonA. HDMI/DVI to Composite and S-Video Down-Converter AT-HD530. User Manual

SP-HD1X24K. 1x2 HDMI Splitter with 4K Cinema resolutions & EDID

Model: HDCMP31. Installation Guide

User Manual. AtlonA. HDMI to VGA/COMPONENT and Stereo Audio Format Converter (Not HDCP Compatible) AT-HD420

1 x 3 Component Video W/Audio Distribution Amplifier AT-COMP-13AD

USER MANUAL HDMI 1x4 Distribution Amplifier w/ CAT5e/6 outputs up to 394ft. (120 meters)

SDI-HDSDXPRO. USER MANUAL Version 1.1

PCI Express JPEG Frame Grabber Hardware Manual Model 817 Rev.E April 09

Garmin GC 10 Marine Camera Instructions

QUADRO AND NVS DISPLAY RESOLUTION SUPPORT

QUADRO AND NVS DISPLAY RESOLUTION SUPPORT

Content. 3G SDI 4X1 Switcher 1 INTRODUCTION. 1 2 SPECIFICATION PACKAGE CONTENT PANEL DESCRIPTION CONNECTION AND OPERATION..

SDI-HDRPTPRO. User Manual. HD-SDI Repeater with Signal Equalization & Re-clocking. Version 1.2

HDMI to HDMI Scaler Box AT-HD560. User Manual

Model: HD41-ARC. Installation Guide

Warranty and Registration. Warranty: One Year. Registration: Please register your product at Port, or. or Windows.

PCI Frame Grabber. Model 611 (Rev.D)

User Manual. VGA to Component or Component to VGA Converter Scaler AT-VGA300CV

Application Note 20C20XW-DIG / 21C20XW-DIG

Enable-IT 821P PoE Extender Quickstart Guide Professional Grade Networking

Enable-IT 824WP Outdoor Waterproof PoE Extender Kit Quickstart Guide Professional Grade Networking

PC/HDTV 2-Way Converter

User Manual. AtlonA. Passive VGA Extender with Wall Plate or Box options up to 330ft over 1 x CAT5/6/7 Cable AT-VGA100-SR and AT-WPVGA-SR AT-WPVGA-SR

CN12 Technical Reference Guide. CN12 NTSC/PAL Camera. Technical Reference Guide PCB Rev

User Manual. June 30, Copyright 2004 Canopus Co., Ltd. All rights reserved.

HDMI 1.4 OVER SINGLE CAT5/6/7 EXTENDER WITH BI-DIRECTIONAL IR and RS232 TRANSMITTER & RECEIVER AT-HD4-100SR

Children cannot always recognize potential hazards properly. This 5.1 system is not designed for operation in a heavy industry environment.

Enable-IT 865 Q PRO Gigabit Professional Grade PoE Extender Kit Quickstart Guide

Atlona HDMI to HDMI Scaler w/audio

Miniature Fiber Optic 3G/HD/SD-SDI Digital Video Extension Kit up to 1200ft. AT-3GSDI20SR

Instruction Guide. Component/Composite/S-Video to DVI-D/HDTV Scaler and Converter Component/Composite/S-Video to VGA/HDTV Scaler and Converter

HDMI Converter. Operating Instructions(P/N of this Instructions is INSYH0101)

PCI MPEG Frame Grabber. Model 616. August 6, 2002

Low Voltage Multifunctional LED Controller / DMX Decoder. Specification

User Manual. 1x8 S-Video Distribution Amplifier With Stereo Audio AT-SAV18

SENSORAY CO., INC. USB MPEG Capture Device. Model 2251 (Rev.A) October, 2007

AND9191/D. KAI-2093 Image Sensor and the SMPTE Standard APPLICATION NOTE.

Quick Installation Guide. Indoor / Outdoor Antenna, Antenna Cable & Surge Arrestor

what s in the Box? Camera transmitter with power cable 3M sticker 2 RVS SYSTEMS

Enable-IT Port Extended Gigabit Ethernet DSLAM Quickstart Guide

HDMI 1x8 Distribution Amplifier w/ CAT5e/6 outputs up to 394ft. (120 meters) USER MANUAL

Enable-IT Port Extended Gigabit Ethernet PoE DSLAM Quickstart Guide

MaxView Cinema Kit Quick Install Guide

User Manual. AtlonA. Portable HDMI Signal Generator with 3D Patterns AT-HD800

Obsolete Product(s) - Obsolete Product(s)

User Manual. AtlonA. 1 x 10 VGA with Stereo Audio Distribution Amplifier over CAT5/6 compatible with AT-VGA300RL AT-VGA10SS

User Manual. AtlonA. 7 PRO HD Monitor with HDMI, VGA and Component Inputs (up to 1080p or 1920x1200) AT-DIS7-PROHD

LogiCORE IP Spartan-6 FPGA Triple-Rate SDI v1.0

User Manual. 4x2 Composite Video/S-Video/Analog Audio Matrix Switcher AT-SAV-42M

Instant 802.3af Gigabit Outdoor PoE Converter. Model: INS-3AF-O-G. Quick Start Guide

for File Format for Digital Moving- Picture Exchange (DPX)

DVI Rover 700 User Guide

Fiber Converters TFC-110 Series. ŸQuick Installation Guide (1)

USER MANUAL 1X6 3G/HD/SD-SDI SPLITTER WITH RECLOCKING AT-3GSDI-16

StickIt! VGA Manual. How to install and use your new StickIt! VGA module

Instruction Manual. Wireless Transmitters (Digital) RVS-550W. Reverse With Confidence 1

Enable-IT 860C PRO Coax Gigabit Professional Grade Ethernet Extender Kit Quickstart Guide

Motion Video Compression

Installation and Operation Manual. for the. SM-6 Programmable Stereo Mixer

Model: UHD41-ARC. Installation Guide

Kramer Electronics, Ltd. USER MANUAL. Model: VP-419xl. Video To SXGA/HD Scaler

User Manual. Model 1365 Video Scaler

OWNER'S MANUAL MYCRO SUB

PROPOSED SMPTE STANDARD

Video and Image Processing Suite User Guide

Passive DVI Extenders Over single Cat5/6/7 AT-DVI60SRS

HDBASE100ME. HDBaseT 100M Extender with 2-Port Ethernet Switch. Extend Ultra HD 4K, Multi-channel Audio, Ethernet & IR over a single Cat 6 cable

COMPOSITE VIDEO (BNC) TO VGA VIDEO FORMAT CONVERTER AND SCALER AT-RGB110

Table of Contents. Introduction Pin Description Absolute Maximum Rating Electrical Specifications... 4

Lecture 2 Video Formation and Representation

blink USER GUIDE Bluetooth capable Reclocker Wyred 4 Sound. All rights reserved. v1.0

1 x 10 Component Video with Stereo and Digital Audio Distribution Amplifier over CAT5/6 compatible with AT-COMP300RL AT-COMP10SS

Analog Reconstruction Filter for HDTV Using the THS8133, THS8134, THS8135, THS8200

Design and Implementation of an AHB VGA Peripheral

Kramer Electronics, Ltd. USER MANUAL. Model: VP-100. VGA/XGA to RGBHV Converter

RG NDT INTERNATIONAL INC

ARRIS Solutions Inc. TERMS OF USE ARRIS SOFTWARE APPLICATIONS

Atlona HDBaseT-Lite Transmitter over Single CAT5e/6/7

Enable-IT 865W PRO Gigabit Professional Grade PoE Extender Kit Quickstart Guide

Module 1: Digital Video Signal Processing Lecture 5: Color coordinates and chromonance subsampling. The Lecture Contains:

VectorVGA Tempest User Manual

Bring out the Best in Pixels Video Pipe in Intel Processor Graphics

LavryBlack Series Model AD10 Analog to Digital Converter

BENESTON USER MANUAL AHD-ER03H. AHD to HDMI & VGA & AV Converter AHD-ER03H

Fiber Converters TFC-1000 Series. ŸQuick Installation Guide (1) ŸTechical Specifications (4)

Owner s Manual. VGA + Audio to HDMI Adapter/Scaler. Model: P HDSC2

Installation and Operation Manual. for the. IPC-2, Twin stereo level matching interface

Kramer Electronics, Ltd. USER MANUAL. Models: VP-715, Video To SXGA / HD Scaler VP-716, Video To SXGA / DVI / HD Scaler

Satellite Receiver. Chapter REMOTE CONTROL USING THE MENUS USING TEXT FIELDS. About Your Satellite Receiver. What you ll find in this chapter:

Transcription:

Application Note Video Input of MB86291 Fujitsu Microelectronics Europe GmbH History 25 th April. 01 MM V1.0 First version 1

Warranty and Disclaimer To the maximum extent permitted by applicable law, Fujitsu Mikroelektronik GmbH restricts its warranties and its liability for all products delivered free of charge (eg. software include or header files, application examples, application Notes, target boards, evaluation boards, engineering samples of IC s etc.), its performance and any consequential damages, on the use of the Product in accordance with (i) the terms of the License Agreement and the Sale and Purchase Agreement under which agreements the Product has been delivered, (ii) the technical descriptions and (iii) all accompanying written materials. In addition, to the maximum extent permitted by applicable law, Fujitsu Mikroelektronik GmbH disclaims all warranties and liabilities for the performance of the Product and any consequential damages in cases of unauthorised decompiling and/or reverse engineering and/or disassembling. Note, all these products are intended and must only be used in an evaluation laboratory environment. 1. Fujitsu Mikroelektronik GmbH warrants that the Product will perform substantially in accordance with the accompanying written materials for a period of 90 days form the date of receipt by the customer. Concerning the hardware components of the Product, Fujitsu Mikroelektronik GmbH warrants that the Product will be free from defects in material and workmanship under use and service as specified in the accompanying written materials for a duration of 1 year from the date of receipt by the customer. 2. Should a Product turn out to be defect, Fujitsu Mikroelektronik GmbH s entire liability and the customer s exclusive remedy shall be, at Fujitsu Mikroelektronik GmbH s sole discretion, either return of the purchase price and the license fee, or replacement of the Product or parts thereof, if the Product is returned to Fujitsu Mikroelektronik GmbH in original packing and without further defects resulting from the customer s use or the transport. However, this warranty is excluded if the defect has resulted from an accident not attributable to Fujitsu Mikroelektronik GmbH, or abuse or misapplication attributable to the customer or any other third party not relating to Fujitsu Mikroelektronik GmbH. 3. To the maximum extent permitted by applicable law Fujitsu Mikroelektronik GmbH disclaims all other warranties, whether expressed or implied, in particular, but not limited to, warranties of merchantability and fitness for a particular purpose for which the Product is not designated. 4. To the maximum extent permitted by applicable law, Fujitsu Mikroelektronik GmbH s and its suppliers liability is restricted to intention and gross negligence. NO LIABILITY FOR CONSEQUENTIAL DAMAGES To the maximum extent permitted by applicable law, in no event shall Fujitsu Mikroelektronik GmbH and its suppliers be liable for any damages whatsoever (including but without limitation, consequential and/or indirect damages for personal injury, assets of substantial value, loss of profits, interruption of business operation, loss of information, or any other monetary or pecuniary loss) arising from the use of the Product. Should one of the above stipulations be or become invalid and/or unenforceable, the remaining stipulations shall stay in full effect. 2

1. Overview The video capture unit of MB86291 works as shown in figure below : MB86291 Internal bus for graphics memory access On / Off Ratio Clip range Buffer address Position & size of W-layer Sync Video Input Vertical Interpolator Scaler Capture Buffer Controller Display Controller Video Output Capture Buffer Other Image Graphics Memory The video input stream corresponds to the CCIR International Radio Consultative Committee Recommendation 656 Interfaces for digital component video signals in 525-line and 625-line television systems. The vertical interpolater is used for non-interlace convertion in BOB mode and adds rasters between even or odd field. The algorithm which is used is : Generation of even rasters for odd fields : pix[x,2n] = (pix[x,2n-1]+pix[x,2n+1])/2 (n=1,2,3,... ) Generation of odd rasters for even fields : pix[x,1] = pix[x,2]; pix[x,2n-1] = (pix[x,2n]+pix[x,2+1])/2 (n=2,3,4,... ) The scaler unit shrinks input image with given ratio. Bi-linear interplation is used for rational image shrink. The capture buffer controller stores image data into graphics memory after clipping. A circular buffer management is applied for writing data into the capture buffer. Image data is stored in YCbCr format in graphics memory in this format : 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Y0 Cb 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 Y1 Cr The display controller reads image data in video capture synchronously with capture operation and displays it on screen as W-layer with other layers. Non-interlace conversion in WEAVE mode is applied by display controller. Scarlet supporses that YCbCr data is converted from RGB by following equations : R' = (219/256)R+16, G'= (219/256)G+16, B'= (219/256)B+16 Y = (77/256)R'+(150/256)G'+(29/256)B' Cr = (131/256)R'-(110/256)G'-(21/256)B'+128 Cb = -(44/256)R'-(87/256)G' +(131/256)B'+128 The inverse conversion of this is used for YCbCr data to display output. 3

2. Modes of non-interlace convertion If an interlaced video stream is given as input : odd fields are transferred in the first 1/60 second and even fields are transferred in the next 1/60 second, so half number of rasters are included in each field. Note that 1/60 second is taken for one field in NTSC while 1/50 second is taken in PAL. There are two modes of non-interlace convertion or BOB mode and WEAVE mode. 4

(1) BOB mode In BOB mode, odd fields are converted into a frame with interpolated rasters in 1/60 second. Even fields are converted in the next frame with interpolated rasters in 1/60 second. This operation is done by the vertical interpolator : 5

(2) WEAVE mode In weave mode, a frame is reconstructed from both the odd fields and even fields every 1/30 second and is displayed twice on screen in non-interlaced scanning in 1/30 second. This operation is done by the display controller. The vertical interpolator is not used for WEAVE mode. NOTE : The WEAVE mode is the appropriate mode for still pictures since the picture quality is higher compared to the BOB mode. Moving pictures in WEAVE mode will have some distortions due to the frame reconstruction from different fields. For moving pictures, the BOB mode is more appriopriate. 6

3. Applied parameters The following parameters are applied during scaler operation : (See explanations on next page) 7

The original picture size is Wa, Ha. The size after scaling should be Wb, Hb. (1) Scaler parameters The scaler shrinks input image with given ratios defined by HSC / HSCF / VSCI / VSCF registers. The input image size is defined by input data stream since input data stream includes HSYNC and VSYNC code. Note : In BOB mode, only one field is passed to the scaler unit. This means if the input image is an 720*480 pixel interlaced frame, the parameters are : Ha = 480 in BOB mode, Ha = 240 in WEAVE mode and Wa = 720 in both modes. The reduction scale is set by 5bit integer and 11bit fraction values for horizontal and vertical direction. So a setting of VSC=1.0 and HSC=1.0 would be represented by a value of 08000800 H in the CSC register. Valid settings for VSC and HSC are from 0800 H to FFFF H. No enlargement can be set! Set the vertical direction at bits 31 to 16 of the capture scale register (CSC) and the horizontal direction at bits 15 to 00. An example of the expressions for setting a reduction in the vertical and horizontal directions is shown below. Reduction in vertical direction 576 490 lines 576/490 = 1.176 1.176 x 2048=2408 0968H Reduction in horizontal direction 720 648 pixels 720/648 = 1.111 1.111 x 2048=2275 08E3H Therefore, 096808E3H is set in CSC. (2) Capture buffer controller From the scaled image, a rectangular area is clipped out before the final picture is written to the memory. The cature buffer controller applies clip range defied by CIHSTR/ CIVSTR / CIHEND / CIVEND registers and stores data into capture buffer area in graphics memory defined by CBOA / CBLA / CBW registers. Capture buffer is managed as ring buffer (if read or write pointer location crosses the limit, it returns to the origin). (3) Display controller The display controller displays image data in capture buffer as W-layer with other layes. It follows latest available frame in capture buffer. In WEAVE, the display controller reconstructs a frame from odd field and even field stored in capture buffer. In WEAVE mode, a buffer size of 2.2 frames is the minimum, a safe recommendation is a 2.5 frame buffer. 8

9

4. Frame Synchronization The capture buffer controller sequencially writes captured rasters into the buffer while the display controller tries to display latest completed frame. Resulting behaviors under different conditions are shown bellow to optimize buffer size. If a reader doesn t care about optimization of size, this description can be ignored. (1) Capture is faster than display in BOB mode time Capture 1 2 3 4 5 6 7 8 9 10 11 12 13 Display field frame time difference to be absorbed on the buffer 1 2 3 4 6 7 8 9 11 12 13 skip Snapshot of buffer status CBOA display pointer buffer size 2.2 2.5 frames 4 5 capture pointer display pointer 6 4 5 wrap around CBLA capture pointer 6 margin 6 stride (capture) Under this condition, it is the worst case when frame skip occurs. The display pointer runs from begin of frame-4 and reaches end of it while the capture pointer runs from begin of frame-6 and reaches end of it. The capture buffer controller overwrites frame-4 in that time. It is need to allocate enough margin to avoid buffer overrun. t d < t c + t m t d : time to display a frame t c : time to capture a field t m : time for capture to write into margin Minimun buffer size is 2 frame + margin size where margine size is calculated from t m. If capture field rate is 60 field/sec and display frame rate is 50 frame/sec, 1/50 1/60 < t m should be satisfied. Number of rasters captured in t m is margin size. MB86291 SCARLET Graphics Controller 8 Video Capture

(2) Capture is slower than display in BOB mode time Capture 1 2 3 4 5 6 7 8 9 10 11 12 Display field frame time difference to be absorbed on the buffer 1 2 3 4 4 5 6 7 8 8 9 10 11 repeat (3) Capture is fatser than display in WEAVE mode time Capture 1(o,e) 2(o,e) 3(o,e) 4(o,e) 5(o,e) 6(o,e) 7(o,e) 8(o,e) Display odd field frame even field time difference to be absorbed on the buffer 1 1 2 3 3 4 5 5 6 6 skip (4) Capture is slower than display in WEAVE mode time Capture 1(o,e) 2(o,e) 3(o,e) 4(o,e) 5(o,e) 6(o,e) Display field frame time difference to be absorbed on the buffer 1 1 2 2 2 3 3 4 4 4 5 5 6 repeat MB86291 SCARLET Graphics Controller 9 Video Capture

5. Parameter decision process Assume that an user captures an image locating at (xs,ys) and it s size is ws hs. It should be displayed in a window that size is wd*hd. Here wd is even number because of hardware limitation. (1) Decide de-interlace mode The user decides which mode of de-interlace is used by comaring input image format and size of output window. n = number of rasters per field n hd : de-interlace is not need n < hd 2n : BOB or WEAVE If de-interlace is not used, odd field and even field are displayed alternatively at same position but it is enough for relatively small size window display. (2) Decide shrink ratio rh = ws/wd rv = hs/hd Integer part of ratios are set into HSCI and VSCI respectively while fraction part of ratios are set into HSCF and VSCF respectively HSCI 2048+HSCF = floor(rh 2048+0.5) VSCI 2048+VSCF = floor(rv 2048+0.5) Factor 2048 at left hand represents bit position of integer part. Floor means round down to nearest integer ( i.e. ANSI-C function) (3) Decide clip range to be stored in capture buffer CIHSTR = floor(xs/rh+0.5) CIVSTR = floor(ys/rv+0.5) for not WEAVE mode = floor(ys/rv/2+0.5) for WEAVE mode CIHEND = CIHSTR+ wd 1 CIVEND = CIVSTR+hd 1 for not WEAVE mode = CIVSTR+hd/2 1 for WEAVE mode (4) Decide stride of capture buffer and W-layer CBW = WW= ceil( wd/32) Ceil means round up to nearest integer ( i.e. ANSI-C function) (5) Decide buffer limit CBLA = CBOA + ceil(k hd) CBW*64 MB86291 SCARLET Graphics Controller 10 Video Capture

Here K is factor that indicates buffer size by frame size. This value is ranged from 2.2 to 2.5. K=2.2 is practical and K=2.5 is safe. (6) Decide W-layer parameter WW = xd WH = yd 1 MB86291 SCARLET Graphics Controller 11 Video Capture