aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/mediatek/vdec/hal/vdec_hw_vp6.h
blob: 2ae6e680017e1dd7bcbd3106732630d88606b5b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef _VDEC_HW_VP6_H_
#define _VDEC_HW_VP6_H_
//#include "typedef.h"
//#include "vdec_info_common.h"



// *********************************************************************
//  Video Decoder HW Functions
// *********************************************************************
void vVDecWriteVP6VLD(UINT32 u4VDecID, UINT32 u4Addr, UINT32 u4Val, UINT32 u4BSID);
UINT32 u4VDecReadVP6VLD(UINT32 u4VDecID, UINT32 u4Addr);
void vVDecWriteVP6MC(UINT32 u4VDecID, UINT32 u4Addr, UINT32 u4Val);
UINT32 u4VDecReadVP6MC(UINT32 u4VDecID, UINT32 u4Addr);
UINT32 u4VDecVP6VLDGetBits(UINT32 u4BSID, UINT32 u4VDecID, UINT32 dShiftBit);
UINT32 u4VDecWaitVP6GetBitsReady(UINT32 u4VDecID, UINT32 u4BSID);
UINT32 u4VDecReadVP6VldRPtr(UINT32 u4BSID, UINT32 u4VDecID, UINT32 *pu4Bits, UINT32 u4VFIFOSa);
void vVDecWriteVP6PP(UINT32 u4VDecID, UINT32 u4Addr, UINT32 u4Val, UINT32 u4BSID);
UINT32 u4VDecReadVP6PP(UINT32 u4VDecID, UINT32 u4Addr);
UINT32 u4VDecVP6BOOLGetBits(UINT32 u4BSID, UINT32 u4VDecID, UINT32 dShiftBit);
void vVDecVP6WriteVLD2(UINT32 u4Addr, UINT32 u4Val);    //MULTI-STREAM PANDA
UINT32 u4VDecVP6ReadVLD2(UINT32 u4Addr);    //MULTI-STREAM PANDA
void vVDecVP6SetVLD2VFIFO(UINT32 u4VFifoSa, UINT32 u4VFifoEa);  //MULTI-STREAM PANDA
BOOL fgVDecVP6WaitVld2FetchOk(void);    //MULTI-STREAM PANDA
void vVDecVP6SetVLD2Wptr(UINT32 u4WPtr);    //MULTI-STREAM PANDA
UINT32 u4VDecVP6VLD2GetBits(UINT32 dShiftBit);  //MULTI-STREAM PANDA
BOOL fgVDecWaitVld2FetchOk(UINT32 u4VDecID);    //MULTI-STREAM PANDA
void vVDecVP6WriteVLD2Shift(UINT32 u4Addr, UINT32 u4Val);    //MULTI-STREAM PANDA
UINT32 u4VDecVP6ReadVLD2Shift(UINT32 u4Addr);    //MULTI-STREAM PANDA
UINT32 u4VDecReadVP6DCAC(UINT32 u4VDecID, UINT32 u4Addr);
#endif