📄 al576dll.h
字号:
// AL576DLL.h : main header file for the AL576DLL DLL
//
#if !defined(AFX_AL576DLL_H__A5F1AB02_8F68_4FA2_9CF7_A6BCD877D17D__INCLUDED_)
#define AFX_AL576DLL_H__A5F1AB02_8F68_4FA2_9CF7_A6BCD877D17D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
#include "al576_lib.h"
int __declspec(dllexport) dummy();
inline void __declspec(dllexport) AL576_RegWrite(AL576_HANDLE hAL576, UINT RegNo, UINT Data);
inline UINT __declspec(dllexport) AL576_RegRead(AL576_HANDLE hAL576, UINT RegNo);
inline void __declspec(dllexport) AL576_MemWrite(AL576_HANDLE hAL576, UINT Addr, UINT Data);
inline UINT __declspec(dllexport) AL576_MemRead(AL576_HANDLE hAL576, UINT Addr);
inline void __declspec(dllexport) AL576_DirectRegWrite(AL576_HANDLE hAL576, UINT RegNo, UINT Data);
inline UINT __declspec(dllexport) AL576_DirectRegRead(AL576_HANDLE hAL576, UINT RegNO);
inline void __declspec(dllexport) AL576_DirectMemWrite(AL576_HANDLE hAL576, UINT Addr, UINT Data);
inline UINT __declspec(dllexport) AL576_DirectMemRead(AL576_HANDLE hAL576, UINT Addr);
inline void __declspec(dllexport) AL576_HCIWrite(AL576_HANDLE hAL576, UINT Addr,UINT Data);
inline UINT __declspec(dllexport) AL576_HCIRead(AL576_HANDLE hAL576, UINT Addr);
inline UINT __declspec(dllexport) AL576_InformBitstreamCount(AL576_HANDLE hAL576);
inline UINT __declspec(dllexport) AL576_GrabABitstreamData(AL576_HANDLE hAL576);
UINT __declspec(dllexport) AL576_Load2Flash(AL576_HANDLE hAL576,FILE *fp,UINT Type);
void __declspec(dllexport) AL576_RiscEnable(AL576_HANDLE hAL576) ;
void __declspec(dllexport) AL576_RiscDisable(AL576_HANDLE hAL576) ;
AL576_HANDLE __declspec(dllexport) AL576_InitSystem(char *VideoFile,char *AudioFile, char *ParaFile);
void __declspec(dllexport) AL576_CloseSystem(AL576_HANDLE hAL576);
int __declspec(dllexport) AL576_StartEncoder(AL576_HANDLE hAL576, int CodingType);
int __declspec(dllexport) AL576_StopEncoder(AL576_HANDLE hAL576);
int __declspec(dllexport) AL576_SetVideoCodec(AL576_HANDLE hAL576, int CodecType, int ACPrediction, int Quantization, int MAXQuantDelta);
int __declspec(dllexport) AL576_SetStreamType(AL576_HANDLE hAL576, int CodedStreamType);
int __declspec(dllexport) AL576_SetSearchWindow(AL576_HANDLE hAL576, int PFrame_X, int PFrame_Y, int BFrame_X, int BFrame_Y);
int __declspec(dllexport) AL576_SetVideoBitrate(AL576_HANDLE hAL576, int BitrateMode, int BitrateLevel);
int __declspec(dllexport) AL576_SetPictureResolution(AL576_HANDLE hAL576, int StartColumn, int EndColumn, int StartRow, int EndRow);
int __declspec(dllexport) AL576_SetGOP(AL576_HANDLE hAL576, int N, int M);
int __declspec(dllexport) AL576_SetAudioBitrate(AL576_HANDLE hAL576, int AudioBitrate);
int __declspec(dllexport) AL576_SetAudioSampleRate(AL576_HANDLE hAL576, int RateNum);
int __declspec(dllexport) AL576_SetAudioMode(AL576_HANDLE hAL576, int Mode);
int __declspec(dllexport) AL576_SetInputPCMType(AL576_HANDLE hAL576, int Type);
/////////////////////////////////////////////////////////////////////////////
// CAL576DLLApp
// See AL576DLL.cpp for the implementation of this class
//
class CAL576DLLApp : public CWinApp
{
public:
CAL576DLLApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAL576DLLApp)
//}}AFX_VIRTUAL
//{{AFX_MSG(CAL576DLLApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_AL576DLL_H__A5F1AB02_8F68_4FA2_9CF7_A6BCD877D17D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -