Page 1
DVP-7410 1 Channel MPEG 1/2/4 Digital Video Decoder Card...
Page 2
Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable. However, Advantech Co., Ltd. assumes no responsibility for its use, nor for any infringements of the rights of third parties which may result from its use.
Chapter 1 General Information The DVP-7410 is a single-chip audio/video decoder that supports SVCD, VCD1.x, XCD 2.0, CD-DA, and CD-ROM media formats as well as the ISMA (Internet Streaming Media Alliance) streaming format. Video decoding support includes MPEG-1, MPEG-2, MP@ML, and MPEG-4 advanced simple profile (without GMC and QPEL).
Touch the metal part on the surface of your computer to neutralize the static electricity that might be on your body. Place the DVP-7410 into chassis and using screws to fix it. Connect appropriate accessories to the DVP-7410 decoder card.
To facilitate the installation of the enhanced display device drivers and utility software, you should read the instructions in this chapter carefully before you attempt installation. The device drivers for the DVP-7410 board are located on the software installation CD. The auto-run function of the driver CD will guide and link you to the utilities and device drivers under Windows system.
Page 10
2. Click "Next" when you see the following message. 3. Click "Install" when you see the following Ready to Install the Program message. DVP-7410 User’s Manual...
Page 11
4. Please read the following license agreement and select "I accept the terms in the license agreement" to next status. 5. When the following message appear click “Next” or click “Change” to install to a different folder.
Page 12
6. Installing DVP-7410 SDK. 7. When the following message appears, click "Finish" to complete the installation and restart Windows. DVP-7410 User’s Manual...
Page 19
MODE_PREVIEWING, MODE_TRICK_PLAY, MODE_STILL_MENU, MODE_WAIT_STOP, MODE_HW_SELECTED } PLAY_MODE, *LPPLAY_MODE; Description A typedef enumeration stores play mode. Parameters MODE_UNKNOWN : Unknown mode MODE_NOT_INITIALIZED : Not ready for playback MODE_INITIALIZED : Ready for playback MODE_STOPPED : Stopped MODE_PLAYING : Playing MODE_PAUSED : Paused MODE_RECORDING : Recording MODE_PREVIEWING : Previewing MODE_TRICK_PLAY : FF/REW/Slow motion...
Page 20
: Hue -- not available on playback devices VIDEO_STANDARD typedef enum VIDEO_STD_UNKNOWN, VIDEO_STD_NTSC, VIDEO_STD_PAL, VIDEO_STD_SECAM } VIDEO_STANDARD, *LPVIDEO_STANDARD; Description A typedef enumeration stores video standard information. Parameters VIDEO_STD_UNKNOWN : Unknown standard VIDEO_STD_NTSC : NTSC VIDEO_STD_PAL : PAL VIDEO_STD_SECAM : SECAM TV_OUT_MODE DVP-7410 User’s Manual...
Page 21
typedef enum TV_OUT_OFF, TV_OUT_COMPOSITE, TV_OUT_COMPONENT_YUV, TV_OUT_COMPONENT_RGB, TV_OUT_RGB_SCART } TV_OUT_MODE, *LPTV_OUT_MODE; Description A typedef enumeration stores TV out mode information. Parameters TV_OUT_OFF : TV display off TV_OUT_COMPOSITE : TV & HDTV display through Composite/SVideo connector (default) TV_OUT_COMPONENT_YUV : TV & HDTV display through Component YUV special connector TV_OUT_COMPONENT_RGB : TV &...
Page 23
Parameters AUDIO_OUTPUT_STEREO : Stereo output AUDIO_OUTPUT_LEFT_CHANNEL : Left channel outputted through both speakers or just left one AUDIO_OUTPUT_RIGHT_CHANNEL : Right channel outputted through both speakers or just right one NAVIGATION_MODE typedef enum NAVIGATION_MODE_LIST, NAVIGATION_MODE_RANDOM, NAVIGATION_MODE_DVD, NAVIGATION_MODE_VCD, NAVIGATION_MODE_VCD2, NAVIGATION_MODE_SVCD, NAVIGATION_MODE_ENCODING } NAVIGATION_MODE, *LPNAVIGATION_MODE; Description A typedef enumeration stores navigation mode information.
Page 24
Function Calls init_ADVSDK Syntax int _stdcall init_ADVSDK(void **pp) Description This function creates SDK instance. Parameters [out] A pointer to the SDK. Return Value S_OK : Success. E_FAIL : Failure. Adv_DVPAPI_SetNotifyWindow Syntax HRESULT Adv_DVPAPI_SetNotifyWindow( HWND hwndNotify, UINT NotificationID) DVP-7410 User’s Manual...
Page 25
Description Sets the user defined parameters needed to receive the navigation notification messages Parameters hwndNotify [in] Handle to the window to receive notifications. NULL can be passed to halt already established notifications. NotificationID [in] Notification message ID. For this ID we recommend using a value in the Win32 WM_APP range (0x8000 through...
Page 26
Reports that a VCD volume has finished STATUS_VCD_VOLUM LOWORD =Current volume numbe, playing and the next sequential volume E_ENDED HIWORD = Next volume (0 if none) (if any) STATUS_CAPTURE_LE Indicates the current length of a file LPCAPTURE_LENGTH NGTH_CHANGE being recorded DVP-7410 User’s Manual...
Page 27
Adv_DVPAPI_IsDriveAvailable Syntax HRESULT Adv_DVPAPI_IsDriveAvailable( DRIVE_ID Drive, LPBOOL lpAvailable) Description Retrieves the availability of a given system drive letter Parameters Drive [in] DRIVE_ID of the drive to query availability. lpAvailable [out] Boolean specifying if drive is available or not. Return Value The returned HRESULT can take one of the following values: E_INVALIDARG : lpAvailable argument is invalid.
Page 28
For this operation to succeed, the caller must allocate the correct amount of list elements by using Adv_DVPAPI_GetFileListCount method. Adv_DVPAPI_SetSearchExtensions Syntax HRESULT Adv_DVPAPI_SetSearchExtensions( LPBSTR Extensions, BYTE bItems) Description Sets the extensions to be used by the Adv_DVPAPI_CreateFileList method Parameters Extensions [in] Array of extensions bItems [in] Number of extensions given. DVP-7410 User’s Manual...
Page 29
Return Value E_FAIL: Failure. S_OK: Success. E_INVALIDARG: Extensions argument is invalid or bItems > MAX_EXTENSIONS Remarks If no extensions are set by using this method, the navigator interface uses mpg as the only valid extension. Adv_DVPAPI_CreateFileList Syntax HRESULT Adv_DVPAPI_CreateFileList( DRIVE_ID Drive, LPWORD lpwItems) Description Searches a given system drive for files matching the default, or given set of...
Page 30
[in] Full path of the file containing the list. Return Value E_FAIL: Failure. S_OK: Success. E_INVALIDARG: lpPath argument is invalid. Adv_DVPAPI_GetFileFromPlayList Syntax HRESULT Adv_DVPAPI_GetFileFromPlayList( WORD wIndex, BSTR lpPath) Description Retrieves the file path of a given play list index. DVP-7410 User’s Manual...
Page 31
Parameters wIndex [in] Play List index of path to be retrieved. lpPath [out] Retrieved wide character string (BSTR) path. Return Value E_FAIL: Failure. S_OK: Success. E_INVALIDARG: One or both of the arguments is(are) invalid. Adv_DVPAPI_SavePlayList Syntax HRESULT Adv_DVPAPI_SavePlayList( BSTR lpPath) Description Saves the Navigator's Play List to the given file.
Page 32
E_ACCESSDENIED:Play List already contains the maximum number of elements (500). Adv_DVPAPI_GetFileListCount Syntax HRESULT Adv_DVPAPI_GetFileListCount( LPWORD lpwItems) Description Retrieves the number of files contained in the list created by the CreateFileList method. Parameters lpwItems [out] Number of files in the currently scanned list. DVP-7410 User’s Manual...
Page 33
Return Value E_FAIL: Failure. S_OK: Success. E_INVALIDARG: pwItems argument is invalid. Remarks The maximum number of files that can be contained in the Navigator interface list is 500.
Page 34
[in] Number of file paths in the given list. The maximum number of paths is 500. Return Value E_FAIL: Failure. S_OK: Success. E_INVALIDARG: lpList argument is invalid or wListItems is out of range. E_ACCESSDENIED : This interface is not initialized. Remarks DVP-7410 User’s Manual...
Page 35
Only MEDIA_FORMAT_UNKNOWN or MEDIA_FORMAT_DATA formats require lists to be given to the Navigator Control. The list must be given prior to attempting to initialize the Navigator Control. To replace an already initialized list, the Navigator Control must be uninitialized -- see Adv_DVPAPI_UnInitController. A playback list can be prepared with help of the Navigator interface method Adv_DVPAPI_CreateFileList Adv_DVPAPI_InitController...
Page 36
HRESULT Adv_DVPAPI_UnInitController(void) Description Aborts current navigation closing any devices in use. Parameters This function has no parameters Return Value E_FAIL: Failure. S_OK: Success. E_FALSE: This interface is already uninitialized. Adv_DVPAPI_SetVideoInputReceiver Syntax HRESULT Adv_DVPAPI_SetVideoInputReceiver( const HWND hwndReceiver) Description DVP-7410 User’s Manual...
Page 37
Sets a window to receive forwarded video window input messages. Parameters hwndReceiver [in] Handle of the window to forward input messages received by the video window. This parameter cannot be NULL. Return Value E_FAIL: Failure. S_OK: Success. E_INVALIDARG: hwndReceiver argument is invalid. Remarks This method will post input messages received by the video window to the caller provided window.
Page 38
[in] Pointer to the rectangular position to be taken by the video frame within the parents client area. Return Value E_FAIL: Failure. S_OK: Success. E_INVALIDARG: lprPosition argument is invalid. E_ACCESSDENIED : This interface is not initialized. Adv_DVPAPI_GetPlaybackMode Syntax DVP-7410 User’s Manual...
Page 39
HRESULT Adv_DVPAPI_GetPlaybackMode( LPPLAY_MODE lpMode) Description Retrieves the current playback mode (Playing, Paused, Stopped, etc.) . Parameters lpMode [out] Pointer to the current playback mode. Return Value E_FAIL: Failure. S_OK: Success. E_INVALIDARG: lpMode argument is invalid. Adv_DVPAPI_Play Syntax HRESULT Adv_DVPAPI_Play(void) Description Starts playback.
Page 40
Description Stops playback (like pause but in stopped mode). Parameters This function has no parameters Return Value E_FAIL: Failure. S_OK: Success. E_ACCESSDENIED : This interface is not initialized. Remarks Use Adv_DVPAPI_Play to restart playback from stopped mode. DVP-7410 User’s Manual...
Page 41
Adv_DVPAPI_Seek Syntax HRESULT Adv_DVPAPI_Seek( NAV_SEEK_MODE Mode, UINT uSecs) Description Changes the playback position. Parameters Mode [in] NAV_SEEK_MODE direction the seeking is to take. uSecs [in] Number of seconds, from current location, to seek to. Return Value E_FAIL: Failure. S_OK: Success. E_ACCESSDENIED : This interface is not initialized.
Page 42
If the media was playing when this method was called the next file starts in play mode, otherwise in stopped mode. Adv_DVPAPI_CopyFrame Syntax HRESULT Adv_DVPAPI_CopyFrame(void) DVP-7410 User’s Manual...
Page 43
Description Copies the contents of the video buffer to the Window’s Clipboard in 24 bit bitmap format. Parameters This function has no parameters. Return Value E_FAIL: Failure. S_OK: Success. E_ACCESSDENIED : This interface is not initialized. Remarks The return value for calling this method while being out of context i.e.
Page 44
E_ACCESSDENIED : This interface is not initialized. E_INVALIDARG : dwLevel argument is out of range. E_NOTIMPL : No method is supported. Adv_DVPAPI_GetPictureControlValue Syntax HRESULT Adv_DVPAPI_GetPictureControlValue( PICTURE_CONTROL picCtl, LPDWORD lpdwValue) Description Retrieves the current values for Brightness, Contrast, Saturation or Hue. DVP-7410 User’s Manual...
Page 45
Parameters picCtl [in] Picture control to be modified. lpdwValue [out] Picture control value. The valid range for these controls is from 0 to 1000. Return Value E_FAIL: Failure. S_OK: Success. E_ACCESSDENIED : This interface is not initialized. E_INVALIDARG : lpdwValue argument is invalid. Adv_DVPAPI_SetPictureControl Syntax HRESULT Adv_DVPAPI_SetPictureControl(...
Page 46
Cref [in] New video key color. Return Value E_FAIL: Failure. S_OK: Success. E_ACCESSDENIED : This interface is not initialized. E_INVALIDARG : Cref argument is invalid. E_NOTIMPL : No method is supported. Adv_DVPAPI_GetLength Syntax HRESULT Adv_DVPAPI_GetLength( LPDWORD lpdwLength) DVP-7410 User’s Manual...
Page 47
Description Retrieves the length of the currently loaded media in milliseconds. Parameters lpdwLength [out] Pointer to currently loaded file length in milliseconds. Return Value E_FAIL: Failure. S_OK: Success. E_ACCESSDENIED : This interface is not initialized. E_INVALIDARG : lpdwLength argument is invalid. Adv_DVPAPI_GetVideoSourceSize Syntax HRESULT Adv_DVPAPI_GetVideoSourceSize(...
Page 48
E_INVALIDARG : lpVidStd argument is invalid. Remarks This method uses the video source size to determine the video standard, therefore SECAM files are returned as VIDEO_STD_PAL. Files of widths smaller than 120 pixels are returned as VIDEO_STD_UNKNOWN. Adv_DVPAPI_GetFileInfo Syntax DVP-7410 User’s Manual...
Page 49
HRESULT Adv_DVPAPI_GetFileInfo( BSTR lpPath, LPWORD lpwFile_no, LPWORD lpwFiles) Description Retrieves name and position (relative to the current list) of the currently loaded file. Parameters lpPath [out] Pointer to a NULL terminated wide character string to contain the currently loaded file path. This parameter can be NULL if not required.
Page 50
Retrieves whether or not the TV standard conversion is currently using scaling. Parameters lpbScaled [out] TRUE if scales, FALSE otherwise Return Value E_FAIL: Failure. S_OK: Success. E_ACCESSDENIED : This interface is not initialized. E_INVALIDARG : lpbScaled argument is invalid. Adv_DVPAPI_SetTVScale DVP-7410 User’s Manual...
Page 51
Syntax HRESULT Adv_DVPAPI_SetTVScale( BOOL bScaled) Description Sets whether or not the TV standard conversion is to use scaling. This API is used to prevent NTSC to PAL or PAL to NTSC field jitter artifacts due to scaling. Parameters bScaled [in] TRUE to scale video, FALSE otherwise. Return Value E_FAIL: Failure.
Page 52
Sets the display mode to be VGA or any of the supported TV modes. Parameters Mode [in] New display mode. Return Value E_FAIL: Failure. S_OK: Success. E_ACCESSDENIED : This interface is not initialized. E_NOTIMPL: Method is not supported. DVP-7410 User’s Manual...
Page 53
Remarks TV display has to be already enabled in order to set it to a particular standard/scale mode. So for instance, to set the TV display to PAL from VGA only mode, first call Adv_DVPAPI_SetDisplayMode(DISPLAY_TV) and then Adv_DVPAPI_SetDisplayMode(DISPLAY_TV_PAL). Adv_DVPAPI_GetHDTVMode Syntax HRESULT Adv_DVPAPI_GetHDTVMode( PINT piHDTVModeIndex) Description...
Page 54
Selects the HDTV SubD (VGA connector) mode index based on a list of modes taken from Sigma registry (0..n). These modes include display resolution and monitor frequency. Parameters iHDTVModeIndex [in] HDTV SubD mode Return Value E_FAIL: Failure. DVP-7410 User’s Manual...
Page 55
S_OK: Success. E_ACCESSDENIED : This interface is not initialized. Remarks Adv_DVPAPI_SetDisplayMode needs to be called using DISPLAY_HDTV_SUBD for this mode to become effective Adv_DVPAPI_GetDestinationInDisplay Syntax HRESULT Adv_DVPAPI_GetDestinationInDisplay( LONG *pLeft, LONG *pTop, LONG *pWidth, LONG *pHeight) Description Retrieves video's destination rectangle within the display device. Parameters pLeft [out] Video's left coordinate...
Page 56
Retrieves the current audio mode (stereo, left, right). Parameters lpMode [out] Pointer to the currently set output mode. Return Value E_FAIL: Failure. S_OK: Success. E_ACCESSDENIED : This interface is not initialized. E_INVALIDARG : lpMode argument is invalid. DVP-7410 User’s Manual...
Page 57
Adv_DVPAPI_SetAudioOutputMode Syntax HRESULT Adv_DVPAPI_SetAudioOutputMode( AUDIO_OUTPUT_MODE Mode) Description Sets the audio mode to stereo, left or right channels. When the mode is set to the left or right channel, that particular channel is heard through both speakers. See remarks section below for exceptions to this behavior. Parameters Mode [in] New audio output mode.
Page 58
LPNAVIGATION_MODE lpMode) Description Retrieves the currently set navigation mode. Parameters lpMode [out] Pointer to the currently set Navigation mode Return Value E_FAIL: Failure. S_OK: Success. E_ACCESSDENIED : This interface is not initialized. E_NOTIMPL: Method is not supported. Adv_DVPAPI_SetNavigationMode DVP-7410 User’s Manual...
Page 59
Syntax HRESULT Adv_DVPAPI_SetNavigationMode( NAVIGATION_MODE Mode) Description Sets Navigation mode to either List (Normal) or Random. Parameters Mode [in] New navigation mode Return Value E_FAIL: Failure. S_OK: Success. E_ACCESSDENIED : Mode cannot be changed on current MEDIA_FORMAT Remarks Only the MEDIA_FORMAT_UNKNOWN and MEDIA_FORMAT_DATA media formats can be set to NAVIGATION_MODE_LIST or NAVIGATION_MODE_RANDOM.
Page 60
HRESULT Adv_DVPAPI_SwitchTo7420( BOOL m_switch) Description Switch the Video output to DVP-7420 Quad output data. Parameters m_switch [in] switch to DVP-7420 flag. TRUE : switch to DVP-7420, FALSE : switch to DVP-7410. Default is FALSE. Return Value E_FAIL: Failure. S_OK: Success. Adv_DVPAPI_MuteOn...