xref: /haiku/src/add-ons/media/media-add-ons/radeon/VIPPort.cpp (revision ffec4cb14d0b87745137bcb115e949f1fbc895b9)
1*ffec4cb1Sshadow303 /******************************************************************************
2*ffec4cb1Sshadow303 /
3*ffec4cb1Sshadow303 /	File:			VIP.cpp
4*ffec4cb1Sshadow303 /
5*ffec4cb1Sshadow303 /	Description:	ATI Radeon Video Input Port (VIP) interface.
6*ffec4cb1Sshadow303 /
7*ffec4cb1Sshadow303 /	Copyright 2001, Carlos Hasan
8*ffec4cb1Sshadow303 /
9*ffec4cb1Sshadow303 *******************************************************************************/
10*ffec4cb1Sshadow303 
11*ffec4cb1Sshadow303 #include <Debug.h>
12*ffec4cb1Sshadow303 #include "VIPPort.h"
13*ffec4cb1Sshadow303 
CVIPPort(CRadeon & radeon)14*ffec4cb1Sshadow303 CVIPPort::CVIPPort(CRadeon & radeon)
15*ffec4cb1Sshadow303 	:	fRadeon(radeon)
16*ffec4cb1Sshadow303 {
17*ffec4cb1Sshadow303 	PRINT(("CVIPPort::CVIPPort()\n"));
18*ffec4cb1Sshadow303 }
19*ffec4cb1Sshadow303 
~CVIPPort()20*ffec4cb1Sshadow303 CVIPPort::~CVIPPort()
21*ffec4cb1Sshadow303 {
22*ffec4cb1Sshadow303 	PRINT(("CVIPPort::~CVIPPort()\n"));
23*ffec4cb1Sshadow303 }
24*ffec4cb1Sshadow303 
InitCheck() const25*ffec4cb1Sshadow303 status_t CVIPPort::InitCheck() const
26*ffec4cb1Sshadow303 {
27*ffec4cb1Sshadow303 	return fRadeon.InitCheck();
28*ffec4cb1Sshadow303 }
29*ffec4cb1Sshadow303 
Radeon()30*ffec4cb1Sshadow303 CRadeon & CVIPPort::Radeon()
31*ffec4cb1Sshadow303 {
32*ffec4cb1Sshadow303 	return fRadeon;
33*ffec4cb1Sshadow303 }
34