mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
add "libtriple" skeleton
This should provide the same functionality as libcoolstream does,
but for the TripleDragon
Add td-compat directory with includes to convert values from
TD api to DVB api and back.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@960 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Commit: c1039b69f9
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-12-25 (Sat, 25 Dec 2010)
This commit is contained in:
46
lib/libtriple/td-compat/td-video-compat.h
Normal file
46
lib/libtriple/td-compat/td-video-compat.h
Normal file
@@ -0,0 +1,46 @@
|
||||
/*
|
||||
* 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__ */
|
Reference in New Issue
Block a user