/*
 * Samsung HL-R5668W HD Television RS-232 Serial Interface Driver
 * Copyright (C) 2006 Eric Gumtow
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the 
 *
 *  Free Software Foundation, Inc.
 *  51 Franklin Street, Fifth Floor
 *  Boston, MA 02110-1301, USA
 *
 * ejgumtow@yahoo.com
 * http://www.ejgumtow.com/
 */


#ifndef __Samsung_HL_R5668W_driver_h__
#define __Samsung_HL_R5668W_driver_h__


#include <sys/types.h>


int r5668w_open_tv(char *port);
int r5668w_close_tv(int tv);
int r5668w_cmd(int tv, int option, ...);
void r5668w_print_dbg_stats(void);

enum {
	POWER,
	VOLUME,
	MUTE,
	INPUT_SOURCE,
	PICTURE_MODE,
	PICTURE_CONTRAST,
	PICTURE_BRIGHTNESS,
	PICTURE_SHARPNESS,
	PICTURE_COLOR,
	PICTURE_TINT,
	PICTURE_TONE,
	PICTURE_RESET,
	PICTURE_SIZE,
	PICTURE_DIG_NR,
	PICTURE_DNIE,
	PICTURE_EASY_CONTROL,
	PICTURE_DETAIL_RED,
	PICTURE_DETAIL_GREEN,
	PICTURE_DETAIL_BLUE,
	PICTURE_DETAIL_YELLOW,
	PICTURE_DETAIL_PINK,
	PICTURE_DETAIL_RESET,
	PICTURE_FILM_MODE,
	PICTURE_PIP,
	PICTURE_PIP_SOURCE,
	PICTURE_PIC_SWAP,
	PICTURE_PIP_SIZE,
	PICTURE_PIP_POSITION,
	PICTURE_PIP_AIR_CATV,
	SOUND_MODE,
	SOUND_EQLZR_LR,
	SOUND_EQLZR_100HZ,
	SOUND_EQLZR_300HZ,
	SOUND_EQLZR_1KHZ,
	SOUND_EQLZR_3KHZ,
	SOUND_EQLZR_10KHZ,
	SOUND_SRS_TSXT,
	SOUND_LANGUAGE,
	SOUND_MULTI_TRACK,
	SOUND_AUTO_VOLUME,
	SOUND_INTERNAL_MUTE,
	SOUND_DIGITAL_OUTPUT,
	SOUND_SELECT,
	SOUND_SUBWOOFER,
	SOUND_SUBWOOFER_VOLUME,
	SOUND_SUBWOOFER_FREQ,
	SOUND_MELODY
};

enum {
	OFF,
	ON
};

enum {
	TV,
	AV1,
	AV2,
	S_VIDEO1,
	S_VIDEO2,
	COMPONENT1,
	COMPONENT2,
	PC,
	HDMI1,
	HDMI2,
};

enum {
	DYNAMIC,
	PICT_STANDARD,
	MOVIE,
	PICT_CUSTOM
};

enum {
	COOL2,
	COOL1,
	NORMAL,
	WARM1,
	WARM2
};

enum {
	SIXTEEN_BY_NINE,
	FOUR_BY_THREE,
	ZOOM1,
	ZOOM2,
	PANORAMA
};

enum {
	RED,
	GREEN,
	YELLOW,
	BLUE,
	PINK,
	CLR_STANDARD,
	CLR_CUSTOM
};

enum {
	SMALL,
	LARGE,
	DOUBLE,
	DOUBLE_WIDE
};

enum {
	LOWER_RIGHT,
	UPPER_RIGHT,
	UPPER_LEFT,
	LOWER_LEFT
};

enum {
	AIR,
	CABLE
};

enum {
	SRS_OFF,
	THREE_D_MONO,
	SRS_STEREO
};

enum {
	ENGLISH,
	SPANISH,
	FRENCH
};

enum {
	MONO,
	MT_STEREO,
	SAP
};


#endif
