📄 avcdecoder.h.svn-base
字号:
/*Decoding AVC using sceMpeg LibraryCopyright (c) 2006 by Sorin P. C. <magik@hypermagik.com>This program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe 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 ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.You should have received a copy of the GNU General Public Licensealong with this program; if not, write to the Free SoftwareFoundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.*//*i've made only a little rearrangement over the magiK code posted here:http://forums.ps2dev.org/viewtopic.php?t=5820*/#ifndef avcdecoder_h#define avcdecoder_h#include <string.h>#include <pspsdk.h>#include "pspmpeg.h"#include "common/mem64.h"#include "mpegbase.h"struct avc_struct { int mpeg_init; ScePVoid mpeg_data; int mpeg_ringbuffer_construct; int mpeg_create; SceMpegRingbuffer mpeg_ringbuffer; SceMpeg mpeg; ScePVoid mpeg_es; struct SceMpegLLI *mpeg_lli; SceMpegAu mpeg_au; };#ifdef __cplusplusextern "C" {#endifvoid avc_safe_constructor(struct avc_struct *p);void avc_close(struct avc_struct *p);char *avc_open(struct avc_struct *p, unsigned int maximum_frame_size);char *avc_get(struct avc_struct *p, void *source_buffer, int size, void *destination_buffer);#ifdef __cplusplus}#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -