⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hal_resize.h

📁 一款SmartPhone的驱动代码
💻 H
字号:
/************************************************************************
;  	HAL_RESIZE.h
;
; 	Copyright (c) 2002 Epson Research and Development, Inc.
;
;  	All Rights Reserved.
;	2002.11.12	D Eric 		Start.					
;														
;************************************************************************/

#ifndef __HAL_RESIZE_H__
#define __HAL_RESIZE_H__


typedef enum
{
	OutSourceView=0x00,
	OutSourceCap=0x08
} ResizeOutSource;

typedef enum
{
	NoResizeScaling=0,
	VHReduction=1,
	VReductionHAverage=2
} ResizeScalingMode;

void ActvSequenceModeSet( unsigned char activeSequenceMode );
unsigned char ActvSequenceModeGet( void );
void ViewSWReset( void );
void OutSourceSet( ResizeOutSource OutSource );
ResizeOutSource OutSourceGet( void );
void ViewEnSet( BOOL enable );
BOOL ViewEnGet( void );
void ViewStartXPosSet( unsigned short pos );
unsigned short ViewStartXPosGet( void );
void ViewStartYPosSet( unsigned short pos );
unsigned short ViewStartYPosGet( void );
void ViewEndXPosSet( unsigned short  pos );
unsigned short ViewEndXPosGet( void );
void ViewEndYPosSet( unsigned short  pos );
unsigned short ViewEndYPosGet( void );
unsigned char ViewScalingRateGet( void );
void ViewScalingRateSet( unsigned char  scalingRate );
void ViewScalingModeSet( ResizeScalingMode scalingMode );
ResizeScalingMode ViewScalingModeGet( void );
void CapEnSet( BOOL enable );
BOOL CapEnGet( void );
void CapSWReset( void );
void CapStartXPosSet( unsigned short pos );
unsigned short CapStartXPosGet( void );
void CapStartYPosSet( unsigned short pos );
unsigned short CapStartYPosGet( void );
void CapEndXPosSet( unsigned short pos );
unsigned short CapEndXPosGet( void );
void CapEndYPosSet( unsigned short pos );
unsigned short CapEndYPosGet( void );
unsigned char CapScalingRateGet( void );
void CapScalingRateSet( unsigned char scalingRate );
void CapScalingModeSet( ResizeScalingMode scalingMode );
ResizeScalingMode CapScalingModeGet( void );

#endif // __HAL_RESIZE_H__










⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -