mkv_play.h.svn-base

来自「psp播放器PPA源码,在MSYS/CYGWIN环境下编译(GNU-C)」· SVN-BASE 代码 · 共 99 行

SVN-BASE
99
字号
/*  *	Copyright (C) 2009 cooleyes *	eyes.cooleyes@gmail.com  * *  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, 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 GNU Make; see the file COPYING.  If not, write to *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  *  http://www.gnu.org/copyleft/gpl.html * */#ifndef __MKV_PLAY_H__#define __MKV_PLAY_H__#include <pspthreadman.h>#include <pspaudio.h>#include "cooleyesBridge.h"#include <pspdisplay.h>#include <pspctrl.h>#include <psppower.h>#include "mkv_decode.h"#include "aspect_ratio.h"#include "gu_draw.h"#include "gu_util.h"#include "subtitle_parse.h"#include "movie_file.h"struct mkv_play_struct {	struct mkv_decode_struct decoder;	int audio_reserved;	SceUID semaphore_can_put_video;	SceUID semaphore_can_put_audio;	SceUID semaphore_can_get_video;	SceUID semaphore_can_get_audio;		SceUID output_thread;	SceUID show_thread;	int   return_request;	char *return_result;	int paused;	int seek;	unsigned int audio_stream;	int audio_channel;	unsigned int volume_boost;	unsigned int aspect_ratio;	unsigned int zoom;	unsigned int luminosity_boost;	unsigned int show_interface;	unsigned int last_keyframe_pos;	unsigned int resume_pos;	char hash[16];	unsigned int subtitle_count;	unsigned int subtitle;	unsigned int subtitle_format;	unsigned int subtitle_fontcolor;	unsigned int subtitle_bordercolor;	unsigned int loop;		int current_video_buffer_number;	int current_audio_buffer_number;		int current_timestamp;};#ifndef NUMBER_OF_FONTCOLORS#define NUMBER_OF_FONTCOLORS 6#endif#ifndef NUMBER_OF_BORDERCOLORS#define NUMBER_OF_BORDERCOLORS 6#endif#include "movie_stat.h"void mkv_play_safe_constructor(struct mkv_play_struct *p);char *mkv_play_open(struct mkv_play_struct *p, struct movie_file_struct *movie, int usePos, int pspType, int tvAspectRatio, int tvWidth, int tvHeight, int videoMode);void mkv_play_close(struct mkv_play_struct *p, int usePos, int pspType);char *mkv_play_start(volatile struct mkv_play_struct *p);#endif

⌨️ 快捷键说明

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