mpeg4

所属分类:网络
开发工具:Unix_Linux
文件大小:68KB
下载次数:24
上传日期:2008-07-17 22:27:18
上 传 者xiajian.wust
说明:  能够在linux系统上实现MP4的源代码,模拟MP4的播放功能
(Linux system can realize the source code of MP4, MP4 player simulation function)

文件列表:
Symbian\CoreMp4_S60.pkg (199, 2006-03-02)
Symbian\CoreMp4_S80.pkg (201, 2006-03-02)
Symbian\CoreMp4_S90.pkg (201, 2006-03-02)
Symbian\CoreMp4_UIQ.pkg (198, 2006-03-02)
Symbian\License.txt (156, 2006-03-03)
Symbian\LinkSymbian.bat (1416, 2006-02-28)
Symbian\vssver.scc (240, 2006-03-02)
Symbian (0, 2006-03-02)
copying.txt (18334, 2006-01-16)
CoreCodec_WM3.vcp (7335, 2006-02-27)
CoreMp4.dsp (47162, 2006-03-02)
DynamicARMCode.cpp (32662, 2006-03-03)
DynamicArmCode.h (32662, 2006-03-03)
idct.cpp (44693, 2006-03-03)
License.txt (177, 2006-03-03)
mcomp.cpp (52024, 2006-02-28)
Memory.cpp (2968, 2006-02-27)
mp4_decode.cpp (74571, 2006-03-03)
Note (135, 2006-03-03)
Profiling.h (380, 2006-02-27)
Rules.h (2914, 2006-02-27)
softidct.cpp (15943, 2006-03-01)
softidct.h (5861, 2006-02-27)
Util.h (3420, 2006-02-27)
VideoCodec.h (1437, 2006-02-27)
C_buffer.h (2841, 2006-03-03)
Codec.def (135, 2006-02-27)
Codec_ARM.def (113, 2006-02-22)
Codec_Symb.def (135, 2006-02-27)
CodecAPI.cpp (3558, 2006-02-27)
www.armforum.cn.txt (182, 2008-03-27)

Symbian codec system: //---------------------------- General rules: - All codecs are located in c:\system\codecs on target device - Each codec is single native DLL - One codec may support one or more video formats - Formats are identified by 32-bit fourcc code //---------------------------- Codec API: Codec DLL need to have following functions exported: Function Ordinal InitCodec 1 CloseCodec 2 DecodeFrame 3 Version 4 Because Symbian DLL doesn't support exporting DLL functions by name, exported functions must have ordinals as specified in above table. //---------------------------- Detailed API definition: void *InitCodec(dword sx, dword sy, dword fcc, dword codec_api_version, void *reserved); Initialize codec, using provided fcc code and dimensions of video image. Parameters: [IN] sx, sy - resolution of video image (width, height) [IN] fcc - Four-cc code of video stream [IN] codec_api_version - version of codec interface supported by caller [IN] reserved - set to NULL Return value: pointer to decoder handle (passed to other functions), or NULL if fourcc code is not supported by codec //---------------------------- void CloseCodec(void *handle); Close codec, unitinialize memory, etc. Parameters: [IN] handle - handle value obtained by InitCodec function //---------------------------- int DecodeFrame(void *handle, const void *buf, dword sz_in, const byte *&y, const byte *&u, const byte *&v, dword &pitch); Decode single frame. The frame data may depend on previous frame data passed in by previous call to this function. It is safe to call this function with data of non-contiguous frame, for example when seeking, provided that the frame is a keyframe - i.e. contains data for entire image. Parameters: [IN] handle - handle value obtained by InitCodec function [IN] buf - pointer to bitstream buffer [IN] sz_in - size of 'buf' buffer data [OUT] y, u, v - pointer references filled with YUV to YUV data of decoded frame when the call returns; these pointers are valid until next call to DecodeFrame or CloseCodec functions [OUT] pitch - size of image line, in bytes (for Y array; U and V arrays have half pitch of Y, because UV is coded only for each 4x4 pixel block Return value: 0 - frame was not decoded (i.e. preroll frame); pointers y, u, v are not filled 1 - frame was decoded, contains packed YUV data 2 - frame was decoded, contains interleaved RGB data, returned in 'y' pointer //---------------------------- dword Version(); [OUT] version of codec interface supported by this codec //---------------------------- Note: The source project is built in Microsoft Visual C++ 6 environment. It is assumed that Symbian Series60 SDK is installed in C:\Symbian\6.1\Series60\Epoc32

近期下载者

相关文件


收藏者