mp4_play.h.svn-base

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

SVN-BASE
77
字号
#ifndef __MP4_PLAY_H__#define __MP4_PLAY_H__#include <pspthreadman.h>#include <pspaudio.h>#include "cooleyesBridge.h"#include <pspdisplay.h>#include <pspctrl.h>#include <psppower.h>#include "mp4_decode.h"#include "aspect_ratio.h"#include "gu_draw.h"#include "gu_util.h"#include "subtitle_parse.h"#include "movie_file.h"struct mp4_play_struct {	struct mp4_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;};#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 mp4_play_safe_constructor(struct mp4_play_struct *p);char *mp4_play_open(struct mp4_play_struct *p, struct movie_file_struct *movie, int usePos, int pspType, int tvAspectRatio, int tvWidth, int tvHeight, int videoMode);void mp4_play_close(struct mp4_play_struct *p, int usePos, int pspType);char *mp4_play_start(volatile struct mp4_play_struct *p);#endif

⌨️ 快捷键说明

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