mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
Origin commit data
------------------
Branch: master
Commit: d363d3e95b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-02-02 (Thu, 02 Feb 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
47 lines
1.6 KiB
C
47 lines
1.6 KiB
C
/*
|
|
* compatibility stuff for Tripledragon video API
|
|
*
|
|
* (C) 2009 Stefan Seyfried
|
|
*
|
|
* 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; version 2 of the License.
|
|
*
|
|
* 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., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*/
|
|
|
|
#ifndef __td_video_compat_h__
|
|
#define __td_video_compat_h__
|
|
|
|
#include <vid/vid_inf.h>
|
|
// types
|
|
#define video_format_t vidDispSize_t
|
|
#define video_displayformat_t vidDispMode_t
|
|
typedef enum {
|
|
VIDEO_SOURCE_DEMUX = VID_SOURCE_DEMUX,
|
|
VIDEO_SOURCE_MEMORY = VID_SOURCE_MEMORY
|
|
} video_stream_source_t;
|
|
typedef enum {
|
|
VIDEO_STOPPED, /* Video is stopped */
|
|
VIDEO_PLAYING, /* Video is currently playing */
|
|
VIDEO_FREEZED /* Video is freezed */
|
|
} video_play_state_t;
|
|
//#define video_play_state_t vidState_t
|
|
// ioctls
|
|
#define VIDEO_SET_SYSTEM MPEG_VID_SET_DISPFMT
|
|
#define VIDEO_SET_FORMAT MPEG_VID_SET_DISPSIZE
|
|
#define VIDEO_SET_DISPLAY_FORMAT MPEG_VID_SET_DISPMODE
|
|
#define VIDEO_SELECT_SOURCE MPEG_VID_SELECT_SOURCE
|
|
#define VIDEO_PLAY MPEG_VID_PLAY
|
|
#define VIDEO_STOP MPEG_VID_STOP
|
|
#define VIDEO_SET_BLANK MPEG_VID_SET_BLANK
|
|
|
|
#endif /* __td_video_compat_h__ */
|