ADLINK Technology PCI-MPG24 User Manual

Browse online or download User Manual for Graphics cards ADLINK Technology PCI-MPG24. ADLINK Technology PCI-MPG24 User`s manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 160
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - PCI-MPG24

Advance Technologies; Automate the World.Manual Rev. 2.01Revision Date: March 21, 2005Part No: 50-15035-100PCI-MPG244-CH MPEG4 Hardware Video Compr

Page 3 - Getting Service from ADLINK

90 Reference ManualTCFGASSOCIATION StructureThe TCFGASSOCIATION structure allows users to define rela-tionship between any two types of settings from

Page 4

Reference Manual 91_associate_typeType of this association. Refer to the Enumeration:ASSOCIATION_TYPE.TVCFG_ENTRY StructureThe TVCFG_ENTRY structure

Page 5 - Table of Contents

92 Reference ManualAUDIO_CONFIG StructureSyntaxtypedef struct _AUDIO_CONFIG{unsigned long Format;unsigned long SampleRate;unsigned long Channels;unsig

Page 6

Reference Manual 93STATISTIC StructureSyntaxtypedef struct _STATISTIC{UINT32 VideoByte;UINT32 FrameCount;} STATISTIC;MembersVideoByteTotal video by

Page 7 - Table of Contents iii

94 Reference ManualMembersDriverMajorMajor revision number of driver.DriverMinorMinor revision number of driver.BoardRevisionRevision number of refere

Page 8 - List of Tables

Reference Manual 95EnumerationsEVideoFormat EnumerationSyntaxtypedef enum{MPEG1 = 0x00,MPEG2 = 0x01,H261 = 0x02,H263 = 0x03,MPEG4 = 0x04,MPEG4XGO = 0

Page 9 - List of Figures

96 Reference ManualTV_STANDARD EnumerationSyntaxtypedef enum{ TVStandard_None= 0x00000000, TVStandard_NTSC_M= 0x00000001, TVStandard_NTSC_

Page 10

Reference Manual 97FilterMode EnumerationSyntaxtypedef enum{GO7007SB_MIDIAN= 1,GO7007SB_LOWPASS= 2,GO7007SB_NOFILTER= 0} FilterMode;MPEG4_MODE Enumer

Page 11 - 1 Introduction

98 Reference ManualFLAGS_STREAM_DEINTERLACE_MODE= 0x00000020,FLAGS_STREAM_SEARCH_RANGE= 0x00000040,FLAGS_STREAM_GOPHEAD_ENABLE= 0x00000080,FLAGS_STREA

Page 12 - Real-time Raw Data Preview

Reference Manual 99FLAGS_RESOLUTION EnumerationSyntaxenum FLAGS_RESOLUTION{FLAGS_RESOLUTION_WIDTH=0x00000001,FLAGS_RESOLUTION_HEIGHT=0x00000002,FLAGS

Page 13 - Save File

Introduction 11 IntroductionThe PCI-MPG24 is a MPEG4 hardware video compression cardthat provides four channels of real-time full D1 size MEGP4 video

Page 14 - Watchdog Timer

100 Reference ManualFLAGS_BITRATE EnumerationSyntaxenum FLAGS_BITRATE{FLAGS_BITRATE_TARGET= 0x00000004,FLAGS_BITRATE_PEAK= 0x00000008,FLAGS_BITRATE_VB

Page 15 - 1.3 System Requirement

Reference Manual 101FLAGS_MISC_FILTER= 0x00000010,FLAGS_MISC_MANDETORY= 0};SENSOR_CAPABILITIES EnumerationSyntaxenum SENSOR_CAPABILITIES{CAP_SENSOR_V

Page 16 - 1.4 PCI-MPG24 Benchmark

102 Reference ManualCAP_SENSOR_VIDEO_WHITEBALANCE_AUTO= 0x00008000,CAP_SENSOR_VIDEO_BACKLIGHT_COMPENSATION= 0x00010000,CAP_SENSOR_VIDEO_BACKLIGHT_COMP

Page 17 - Recording

Reference Manual 103CAP_AUDIO_SAMPLERATE_48K= 0x00004000,CAP_AUDIO_CHANNEL_MONO= 0x00010000,CAP_AUDIO_CHANNEL_STEREO= 0x00020000,CAP_AUDIO_SAMPLE_8BI

Page 18

104 Reference ManualASSOCIATION_TYPE EnumerationSyntaxenum ASSOCIATION_TYPE{TYPE_SYSTEM_CONFIG,TYPE_STREAM_CONFIG,TYPE_RESOLUTION_CONFIG,TYPE_BITRATE_

Page 19

Reference Manual 105ISpecifyPropertyPages.Alternatively, visit http://msdn.microsoft.com/library/ and fromthe left panel navigation, select Graphics

Page 20

106 Reference Manualexposed by both video and audio pins of WIS driver. The videoand audio capabilities of the driver, the mean time, and thedefault f

Page 21 - PCI-X Platform

Reference Manual 107Sample Codevoid CVideoControlPropertyPage::SetPinFormat(IAMStreamConfig* stream_config,

Page 22

108 Reference Manual if ( pmt->formattype != FORMAT_MPEGVideo ) goto next_stream_caps; MPEG1VIDEOINFO* format = (MPEG1VIDEOINFO*)pmt->pbFormat

Page 23

Reference Manual 109 extension->_framerate = video_config->fpscfg; extension->_resolution = video_config->rescfg; extension->_bi

Page 24

2IntroductionAdjustable Video Quality Bit and frame rates are adjustable to fit variable bandwidths, asseen in remote Internet applications.I, IP, IBP

Page 25

110 Reference Manual(ULONGLONG)(10010000000) / video_config->fpscfg.frame_rate; format->hdr.bmiHeader.biWidth = video_config->rescfg

Page 26 - 16 Introduction

Reference Manual 111 format->hdr.bmiHeader.biWidth, format->hdr.bmiHeader.biHeight, long(format->hdr.AvgTimePerFrame

Page 27 - 2 Hardware Reference

112 Reference Manual case MICROSOFT_MPEG4: if ( format->bmiHeader.biCompression != FCC_FORMAT_MICROSOFT_MPEG4 )

Page 28 - 18 Hardware Reference

Reference Manual 113(ULONGLONG)(10010000000) / video_config->fpscfg.frame_rate; format->bmiHeader.biWidth = video_config->rescfg.wi

Page 29 - PCI-MPG24 Appearance

114 Reference Manual memcpy( pmt->pbFormat + normal_format_size - seq_length, seq_header, seq_length); }

Page 30 - Figure 2-4: All in One CD

Reference Manual 115 AM_MEDIA_TYPE* pmt1; hr = stream_config->GetFormat(&pmt1); DeleteMediaType(pmt1); hr = stream_config->SetFormat(pmt);

Page 31 - PCI-MPG24 Interface

116 Reference Manual1. IGOChipConfig::GetVideoConfigThe GetVideoConfig method retrieves the video configurations.SyntaxHRESULT GetVideoConfig( TCF

Page 32 - Watchdog Timer Reset

Reference Manual 117Return ValueHRESULT3. IGOChipConfig::SetVideoSourceThe SetVideoSource method sets the video source as either S-video or composite

Page 33 - DIP switch & Setting

118 Reference ManualParameterspVal: [Out] Pointer to an unsigned integer that is Enumeration:SENSOR_CAPABILITIES.Return ValueHRESULT5. IGOChipConfig::

Page 34 - 24 Hardware Reference

Reference Manual 119ParameterspCaps: [Out] Pointer to a _VIDEO_CAPABILITIES structure toreceive video capabilities.Return ValueHRESULT7. IGOChipConfi

Page 35 - 3 Installation Guide

Introduction 3Figure 1-2: Real-time Raw Data Preview - four channelsVideo DecodingSmart software video decoding for playback or remote client mon-it

Page 36 - 26 Installation Guide

120 Reference ManualParameterspConfig: [Out] Pointer to a structure AUDIO_CONFIG thatcontains audio configurations.Return ValueHRESULTRelated ItemsIGO

Page 37 - Installation Guide 27

Reference Manual 121SyntaxHRESULT GetRevisionInfo(REVISION_INFO *pRevInfo);ParameterspRevInfo: [In] A pointer to REVISION_INFO structure to holddrive

Page 38 - 28 Installation Guide

122 Reference ManualGPIO.1. IAccessFunc::I2C_WriteRegisterThe I2C_WriteRegister method writes a single I2C register.SyntaxHRESULT I2C_WriteRegister(un

Page 39 - Installation Guide 29

Reference Manual 1232. IAccessFunc::I2C_ReadRegisterThe I2C_ReadRegister method reads a single I2C register.SyntaxHRESULT I2C_ReadRegister(Unsigned c

Page 40 - 30 Installation Guide

124 Reference Manual3. IAccessFunc::I2C_BurstWriteRegisterThe I2C_BurstWriteRegister method writes multiple continuousI2C registers (burst mode).Synta

Page 41 - Installation Guide 31

Reference Manual 125Return ValueHRESULT4. IAccessFunc::I2C_BurstReadRegisterThe I2C_BurstReadRegister method reads multiple continuousI2C registers (

Page 42 - 32 Installation Guide

126 Reference ManualI2CMode: [In] I2C mode. The value can be set at:X 0x0000:Use I2C protocol via on chip I2C controller.X 0x0001:Use SCCB protocol vi

Page 43 - Installation Guide 33

Reference Manual 127DataLen: [In] Length of data, in bits. The typical range is 0 - 16.RegData: [In] Value to be written to the SPI register.SPI_mode

Page 44 - 3.2 Hardware Installation

128 Reference ManualTable 6-10: SPI Control Register DefinitionReturn ValueHRESULT6. IAccessFunc::SPI_ReadRegisterThe SPI_ReadRegister method reads a

Page 45 - 4 ViewCreator Utility

Reference Manual 129ParametersOpLen: [In] Operation code length, in bits. The typical range is1 - 8.OpCode: [In] Operation code. AddrLen: [In] Length

Page 46 - 4.2 Component Description

4IntroductionFigure 1-3: AVI video file formatI/O Lines The PCI-MPG24 is fitted with TTL compatible I/O lines protectedagainst overloads and electrost

Page 47 - 4.3 Operation Theory

130 Reference ManualValue: [In] The signal written to the GPIO pins. The value mustbe either 0 or 1.Mode: [In] 0: On chip GPIO controller; 1: Cypress

Page 48 - Configurations

Reference Manual 131ADLINK Hardware MPEG4 Device GPIO Pin DefinitionTable 6-11: ADLINK Hardware MPEG4 Device GPIO Pinout IAdvanced InterfaceThis int

Page 49 - ViewCreator Utility 39

132 Reference Manual2. IAdvanced::WriteCBusRegFWThe WriteCBusRegFW method writes a single CBus register.SyntaxHRESULT WriteCBusRegFW(unsigned short Ad

Page 50 - 40 ViewCreator Utility

Reference Manual 133Parametersinfo: [In] structure contains OSD output information.X OSDTextoutInfo structure:typedef struct{unsigned short TotalLeng

Page 51 - 5 Programming Guide

134 Reference ManualPin InterfacesThe pins of ADLINK Hardware MPEG4 Device filter exposeMicrosoft DirectShow interfaces: IAMBufferNegotiation, IAM-Str

Page 52 - 5.2 Descriptions of Filters

Reference Manual 135ContextOSD Font BitmapsAll OSD font bitmaps are stored in the off-chip DRAM. Theaddress is from 0xA0100 to 0xAF8FF (if 8M SDRAM a

Page 53

136 Reference ManualOSD FrameAn OSD frame is made up with at least one OSD string and oneOSD_EOF. An OSD string starts with a ST_CD which is followedb

Page 54 - Video Renderer Filter

Reference Manual 137Bitmap Stored in SDRAMFor every pixel in the bitmap, 4 bit data will be used to describeOSD behavior of the pixel. Format of BITM

Page 55 - MPEG4 File Writer

138 Reference Manual In the previous equations, Xs is the source data (Y or U or V), Xd isthe result (Y or U or V), α is the alpha blending level whic

Page 56 - 5.3 Example Graphs

Reference Manual 139OrKnow Limitations1. Each OSD frame can only contain up to 90 fonts in thesingle OSD string case.2. Font size can only be 16*16,

Page 57 - Video Proc Amp:

Introduction 5Supported softwareX Support Microsoft DirectXX Support Visual Studio .net, VC++, and C++ Builder pro-gramming languageX Support Windows

Page 58 - ADLINK Hardware MPEG4 Device

140 Reference Manual2 OSD string frameX1, Y1, address1, address 2, 0x0000, X3, Y3, address 3, address4, 0x0000, 0xAAAA4 OSD string frameX1, Y1, addres

Page 59 - Video Decoder

Reference Manual 141boarder)X Basic font bitmap displayZ 16*16 bitmap size, customer defined font style and sizeZ Customer defined alpha blending lev

Page 61 - 5.4 Controlling Driver

Appendix 133AppendixAppendix A: GlossaryBrightness: Attribute of a visual sensation according to which an area appearsto exhibit more or less light C

Page 62

134 AppendixFrame:One frame (two fields) of video contains the full vertical interlacedinformation content of the picture. For NTSC this consists of 5

Page 63 - Programming Guide 53

Appendix 135Ireland) and PAL M (hybrid standard, having the same resolutionas NTSC, but uses PAL transmission and color coding technol-ogy).Saturatio

Page 64 - 54 Programming Guide

136 AppendixAppendix B: Standard Compliance This equipment has been tested and found to comply with the lim-its for a Class A digital device, pursuant

Page 65 - 6 Reference Manual

Appendix 137This equipment has been tested and found to comply withEN55022/CISPR22 and EN55024/CISPR24. To meet EC require-ments, shielded cables mus

Page 66

138 Appendix

Page 67

Warranty Policy 139Warranty PolicyThank you for choosing ADLINK. To understand your rights andenjoy all the after-sales services we offer, please rea

Page 68 - Bt878 GPIO PIN Definition

6Introductionrequests of more than two channels, full D1 size real-time decode to specifications below:Z Pentium 4, 2.4GHz CPU, 256MB DDR RAM above.X

Page 69 - EEPROM Access

140 Warranty Policy3. Our repair service is not covered by ADLINK's two-yearguarantee in the following situations:X Damage caused by not followin

Page 70 - I2C.dwOutLen = 0;

Introduction 7Configuration 1 – NTSC, CIF (320 x 240), 30 sec. ContinuousRecordingTable 1-2: Configuration 1 – NTSC, CIF (320 x 240)PortFrame RateBi

Page 71

8IntroductionConfiguration 2 – NTSC, Full (640 x 480), 30 sec. ContinuousRecordingTable 1-3: Configuration 2 – NTSC, Full (640 x 480)PortFrame RateBi

Page 72 - 6.2 Capture

Introduction 9Configuration 3 – PAL, CIF (352 x 288), 30 sec. ContinuousRecordingTable 1-4: Configuration 3 – PAL, CIF (352 x 288)PortFrame RateBitR

Page 73 - Media Types

Copyright 2005 ADLINK TECHNOLOGY INC.All Rights Reserved. The information in this document is subject to change without priornotice in order to improv

Page 74 - Data Structures

10 IntroductionConfiguration 4 – PAL, Full (768 x 576), 30 sec. ContinuousRecordingTable 1-5: Configuration 4 – PAL, Full (768 x 576)PortFrame RateBi

Page 75 - } TCFG_HEADER;

Introduction 11PCI-X PlatformX SBC: ADLINK NuPRO850X CPU: Intel Pentium 4, 3.2GHz Hyper Threading Dis-ableX Memory: DDR266 1GBX PCI-X Bus: 32-bit, 6

Page 76 - TCFGSYSTEM Structure

12 IntroductionConfiguration 1 – NTSC, CIF (320 x 240), 30 sec. ContinuousRecordingTable 1-6: Configuration 1 – NTSC, CIF (320 x 240)PortFrame RateBi

Page 77 - Reference Manual 67

Introduction 13Configuration 2 – NTSC, Full (640 x 480), 30 sec. ContinuousRecordingTable 1-7: Configuration 2 – NTSC, Full (640 x 480)PortFrame Rat

Page 78 - 68 Reference Manual

14 IntroductionConfiguration 3 – PAL, CIF (352 x 288), 30 sec. ContinuousRecordingTable 1-8: Configuration 3 – PAL, CIF (352 x 288)PortFrame RateBitR

Page 79 - Reference Manual 69

Introduction 15Configuration 4 – PAL, Full (768 x 576), 30 sec. ContinuousRecordingTable 1-9: Configuration 4 – PAL, Full (768 x 576)PortFrame RateB

Page 80

16 Introduction

Page 81 - Reference Manual 71

Hardware Reference 172 Hardware Reference2.1 PCI-MPG24 SpecificationVideo InputX Four composite video color digitizers.X Video input interface: DB15

Page 82 - 72 Reference Manual

18 Hardware ReferenceWatch Dog TimerX For monitoring the PC’s application operation and will reset the PC after a programmable inactivity time-out.X I

Page 83 - TCFG_HEADER header;

Hardware Reference 19PCI-MPG24 AppearanceFigure 2-1: PCI-MPG24PCI-MPG24 Standard accessoriesFigure 2-2: Watchdog reset cable

Page 84

Getting Service from ADLINKCustomer Satisfaction is top priority for ADLINK Technology Inc.Please contact us should you require any service or assista

Page 85

20 Hardware ReferenceFigure 2-3: BNG Interface cableFigure 2-4: All in One CD

Page 86 - 76 Reference Manual

Hardware Reference 21PCI-MPG24 InterfaceFigure 2-5: Outline DrawingConnectors & Pin DefinitionsVideo Inputs: CN3Table 2-2: Video Inputs - CN3Pin

Page 87 - Reference Manual 77

22 Hardware ReferenceGPIO: CN2Table 2-3: GPIO - CN2Watchdog Timer ResetTable 2-4: Watchdog Timer ResetPin Type Function1 IN GPIO IN 12 IN GPIO IN 23

Page 88

Hardware Reference 23DIP switch & SettingS1: Card ID setting & NTSC/PAL mode settingTable 2-5: S1 Card ID setting & NTSC/PAL mode settin

Page 89 - Reference Manual 79

24 Hardware Reference

Page 90 - 80 Reference Manual

Installation Guide 253 Installation Guide3.1 Software Driver InstallationSoftware Environment1. Operating Systems SupportedX Windows 2000 Professiona

Page 91

26 Installation Guide2. Click Next until the driver is installed completely.

Page 92 - 82 Reference Manual

Installation Guide 273. Click Finish to restart the system.

Page 93 - Reference Manual 83

28 Installation Guide4. After restarting the system, power off the system andinsert the PCI-MPG24 card into your system. Power onthe computer.5. Windo

Page 94

Installation Guide 296. At the Install Hardware Device Drivers dialog box,select Search for a suitable driver for my device (rec-ommended), click Nex

Page 96 - } TCFGVIDEOEX;

30 Installation Guide7. In the Locate Driver Files dialog box, select Specify alocation and click Next to continue.

Page 97

Installation Guide 318. At the next dialog box, select the location of the PCI-MPG24 driver files and click OK to continue. The defaultinstallation f

Page 98

32 Installation Guide11.Click Finish in the Found New Hardware Wizard.

Page 99 - Reference Manual 89

Installation Guide 3312.For other types of new device, follow steps 2 to 11.13.After installing all the devices, go to system control paneland select

Page 100

34 Installation Guide3.2 Hardware InstallationTo install the PCI-MPG24 board onto the PCI bus:1. Remove the computer cover using instructions from the

Page 101

ViewCreator Utility 354 ViewCreator Utility Once hardware installation is complete, ensure that they are con-figured correctly before running the Vie

Page 102

36 ViewCreator Utility4.2 Component DescriptionFigure 4-1: Component DescriptionTree BrowserThe Tree Browser window lists the PCI-MPG24 cards and vide

Page 103

ViewCreator Utility 374.3 Operation TheoryViewCreator provides many functions for the PCI-MPG24 card asdescribed below:PreviewSingle channel displayC

Page 104 - 94 Reference Manual

38 ViewCreator Utilitystream to a file. The path of the file can be set in the Set Recordingcommand of menu Record.ConfigurationsRecordExecute the Rec

Page 105 - Enumerations

ViewCreator Utility 39EEPROMExecute EEPROM command in the menu Tools to bring up theEEPROM dialog box. Enter the offset and output values, andthen cl

Page 106 - TV_STANDARD Enumeration

Table of Contents iTable of Contents1 Introduction ... 11.1 Features...

Page 107

40 ViewCreator Utility

Page 108 - FLAGS_FRAMERATE Enumeration

Programming Guide 415 Programming Guide5.1 DirectShow Application Programming Introduc-tionA complete documentation on DirectShow application progra

Page 109 - FLAGS_RESOLUTION Enumeration

42 Programming Guide5.2 Descriptions of FiltersThis chapter lists filters needed to build a filter graph for capturingMPEG4 video stream and previewin

Page 110 - FLAGS_MISC Enumeration

Programming Guide 43Table 5-1: ADLink Bt878 Video CaptureADLINK Hardware MPEG4 DeviceADLINK Hardware MPEG4 Device belongs to the family ofWDM Stream

Page 111

44 Programming GuideTable 5-2: ADLINK Hardware MPEG4 DeviceVideo Renderer FilterTable 5-3: Video Renderer FilterVideo Preview Pin Sup-ported Media

Page 112 - AUDIO_CAPS Enumeration

Programming Guide 45MPEG4 AVI Mux FilterTable 5-4: MPEG4 AVI Mux FilterMPEG4 File WriterTable 5-5: MPEG4 File WriterFilter Name AVI MuxFilter CLSID

Page 113

46 Programming GuideCrossBar FilterIf the device is a capture board, a CrossBar filter is needed forswitching video source.Table 5-6: CrossBar Filter

Page 114 - Filter Interfaces

Programming Guide 47ADLink Bt878 Video Capture filterVideo Decoder:Video Proc Amp:

Page 115 - HRESULT SetVideoConfig(

48 Programming GuideADLink Bt878 Crossbar filterSelect video input before or during video previewing.ADLINK Hardware MPEG4 Device Video Setting:

Page 116 - 106 Reference Manual

Programming Guide 49Video Proc Amp:Video Decoder

Page 117 - Sample Code

ii Table of Contents5 Programming Guide ... 415.1 DirectShow Application Programming Introducti

Page 118

50 Programming GuidePreviewCapture

Page 119

Programming Guide 515.4 Controlling DriverPreviewADLINK Bt878 Video CaptureThe ADLINK Bt878 Video Capture Filter provides propertypages and exposes C

Page 120

52 Programming GuideOleCreatePropertyFrame(NULL, // Parent window0, // x (Reserved)0, /

Page 121

Programming Guide 53Figure 5-1: ADLink Bt878 CrossbarFor single video port selection please refer to the Bt878 GPIO pindefinition in chapter 6.1.Capt

Page 122

54 Programming GuideUse COM interfacesIt is standard practice to use the standard DirectShow inter-faces defined for A/V capture filter and output pin

Page 123

Reference Manual 556 Reference Manual6.1 PreviewGPIO AccessThe GPIO provides a method to read board information, selectinput channel, and control dig

Page 124

56 Reference Manualrc.dwFromBit = bit;rc.dwToBit = bit;rc.dwValue = value;rc.dwOffset =0;hr = pKs->Get(PROPSETID_CUSTOMBT848,//idetificador del dri

Page 125

Reference Manual 57{ZeroMemory(&rc,sizeof(rc));rc.dwOperation = BT848_CUSTPROP_GPIO_GETGPDATABITS;rc.dwFromBit = bit;rc.dwToBit = bit;rc.dwOffset

Page 126

58 Reference ManualBt878 GPIO PIN DefinitionTable 6-1: Bt878 GPIO PIN DefinitionPin Type FunctionGPIO0 Output --GPIO1 OutputSet watchdog timer enable

Page 127

Reference Manual 59Table 6-2: Function TableEEPROM AccessADLink Bt878 Video Capture provides a method for accessing theI2C register. The interface c

Page 128

Table of Contents iiiKnow Limitations ... 139OSD Data Structure ...

Page 129

60 Reference Manualif((hr=pFilter->QueryInterface(IID_IKsPropertySet, (void **)&pKs)) == S_OK){hr = pKs->QuerySupported(PROPSETID_CUSTOMBT84

Page 130 - unsigned int *pAudioCap

Reference Manual 61sizeof(I2C),&ret);}pKs->Release();}return I2C.ucInBuf[1];}

Page 131

62 Reference Manual6.2 CaptureWDM Streaming Capture FilterTable 6-3: WDM Streaming Capture FilterFilter InterfacesMicrosoft DirectShow Interfaces: IA

Page 132

Reference Manual 63For Microsoft DirectShow interfaces, follow the links for online ref-erence. Alternatively, please visit http://msdn.microsoft.com

Page 133

64 Reference ManualMPEG1Table 6-7: MPEG1H263Table 6-8: H263MJPGTable 6-9: MJPGData StructuresTCFG_HEADER StructureThe TCFGHEADER structure will be

Page 134

Reference Manual 65unsigned long flags;unsigned long size;} TCFG_HEADER;MembersnameThe name of the configuration. It uses a string less thanMAX_NAME

Page 135

66 Reference ManualTCFGSYSTEM StructureThe TCFGSYSTEM structure describes settings of the sensor(image sensor or video decoder) being used to capture

Page 136

Reference Manual 67MembersheaderHeader information about the structure.tv_standardtv_standard can only be set as TVStandard_NTSC_Mask orTVStandard_PA

Page 137

68 Reference ManualpformatSensor pixel format. Valid only if format is RGB Bayer.X 2: RGB-Bayer in GB-formatX 3: RGB-Bayer in GR-formatX 4: RGB-Bayer

Page 138 - Return Value

Reference Manual 69vref_polarSpecifies the polarity of the vertical reference signal providedby the sensor or emulator. Only valid in non-656 mode.X

Page 139

iv List of TablesList of TablesTable 1-1: Number of Frames ... 1Table 1-2: Configuration 1 – NTSC,

Page 140

70 Reference ManualTCFGSTREAM StructureThe TCFGSTREAM structure describes settings of the outputvideo stream of the MPEG4 chip.Syntaxtypedef struct{TC

Page 141

Reference Manual 71X MPEG1: 0x00X MPEG2: 0x01X H263: 0x03X MPEG4: 0x04X MOTIONJPEG: 0x08sequenceThe sequ

Page 142 - IOSD Interfaces

72 Reference Manualmpeg4_modeMPEG4 stream mode. Valid only when compress_mode is four.Refer to Enumeration: MPEG4_MODE for details.X WIS_MPEG4: 0X DIV

Page 143 - Reference Manual 133

Reference Manual 73enabling the GOP head.X 0: Disable GOP headX 1: Enable GOP headseq_head_enableOnly encoding Microsoft format MPEG4 stream requires

Page 144 - 6.3 OSD Programming

74 Reference ManualTV_STANDARD tv_standard;unsigned longframe_rate;unsigned long drop_frame;unsigned charivtc_enable;long reserved;} TCFGFRAMER

Page 145 - OSD Fonts Display

Reference Manual 75reservedReserved for future useTCFGRESOLUTION StructureThe TCFGRESOLUTION structure describes the resolution ofan encoded stream.S

Page 146 - OSD Algorithm

76 Reference ManualMembersheaderHeader information about the structure.tv_standardtv_standard can only be set as TVStandard_NTSC_Mask orTVStandard_PAL

Page 147 - Bitmap Stored in SDRAM

Reference Manual 77v_sub_offsetIf v_sub_window is performed, this parameter specifies a rela-tive offset between the topmost pixel of the output stre

Page 148 - 138 Reference Manual

78 Reference Manualmin_bitrateThe minimum bit rate allowed for this resolution.reservedReserved for future use.TCFGBRCTRL StructureThe TCFGBRCTRL stru

Page 149 - Know Limitations

Reference Manual 79MembersheaderHeader information about the structure.target_bitrateThe desired average target bit rate of the encoded stream, inbit

Page 150 - 140 Reference Manual

List of Figures vList of FiguresFigure 1-1: Real-time Raw Data Preview - single channel ... 2Figure 1-2: Real-time Raw Data Preview - four c

Page 151 - OSD Data Structure

80 Reference ManuallambdaThe factor determining stream quality. Its value range is [0,100]. The larger the value, the smoother the stream however,the

Page 152 - 142 Reference Manual

Reference Manual 81reservedReserved for future use.TCFGMISC StructureThe TCFGSTREAM structure describes miscellaneous set-tings of the output video s

Page 153 - Appendix

82 Reference ManualMembersHeaderHeader information about the structure.av_sync_enableX 0: Disable WIS Audio/Video Synchronization algorithmX 1: Enable

Page 154 - 134 Appendix

Reference Manual 83encodingX 2: Linear filter applied in the horizontal direction before encodingv_filter_modeThe mode of pre-filtering in a vertical

Page 155 - Saturation:

84 Reference Manualv_filter_mode is 2. filter_nAY, filter_nBY and filter_nCY correspond to precedentpixel, current pixel, and following pixel respecti

Page 156 - 136 Appendix

Reference Manual 85MembersmisccfgA TCFGMISC structure for miscellaneous settings.strcfgA TCFGSTREAM structure for stream settings.rescfgA TCFGRESOLUT

Page 157 - Appendix 137

86 Reference ManualTCFGBRCTRL ctlcfg;} TCFGVIDEOEX;MemberssyscfgA TCFGSYSTEM structure for system settings.misccfgA TCFGMISC structure for miscellane

Page 158 - 138 Appendix

Reference Manual 87{TCFGSTREAM strcfg;TCFGFRAMERATE fpscfg;TCFGRESOLUTION rescfg;TCFGBRCTRL ctlcfg;} TCFG_FORMAT_EXTENSION;MembersstrcfgA TCFGSTREA

Page 159 - Warranty Policy

88 Reference Manualunsigned long _num_of_resolution_configs;TCFGRESOLUTION _resolution_configs[MAX_RESOLUTION_CONFIG];unsigned long _num_of_framera

Page 160 - 140 Warranty Policy

Reference Manual 89_num_of_resolution_configsThe count of all resolution configurations._resolution_configsAn array of TCFGRESOLUTION structures to h

Comments to this Manuals

No comments