Repository URL to install this package:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>MediaInfoLib: MediaInfoList.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">MediaInfoLib
 <span id="projectnumber">0.7</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.6.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li class="current"><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>File List</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="headertitle">
<div class="title">MediaInfoList.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Copyright (c) MediaArea.net SARL. All Rights Reserved.</span>
<a name="l00002"></a>00002 <span class="comment"> *</span>
<a name="l00003"></a>00003 <span class="comment"> * Use of this source code is governed by a BSD-style license that can</span>
<a name="l00004"></a>00004 <span class="comment"> * be found in the License.html file in the root of the source tree.</span>
<a name="l00005"></a>00005 <span class="comment"> */</span>
<a name="l00006"></a>00006
<a name="l00007"></a>00007 <span class="comment">//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>
<a name="l00008"></a>00008 <span class="comment">//</span>
<a name="l00009"></a>00009 <span class="comment">// Give information about a lot of media files</span>
<a name="l00010"></a>00010 <span class="comment">//</span>
<a name="l00011"></a>00011 <span class="comment">//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</span>
<a name="l00012"></a>00012
<a name="l00013"></a>00013 <span class="comment">//---------------------------------------------------------------------------</span>
<a name="l00014"></a>00014 <span class="preprocessor">#ifndef MediaInfoListH</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span><span class="preprocessor">#define MediaInfoListH</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span><span class="comment">//---------------------------------------------------------------------------</span>
<a name="l00017"></a>00017
<a name="l00018"></a>00018 <span class="comment">//---------------------------------------------------------------------------</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include "MediaInfo/MediaInfo.h"</span>
<a name="l00020"></a>00020 <span class="comment">//---------------------------------------------------------------------------</span>
<a name="l00021"></a>00021
<a name="l00022"></a>00022 <span class="comment">//---------------------------------------------------------------------------</span>
<a name="l00023"></a>00023 <span class="preprocessor">#undef MEDIAINFO_EXP</span>
<a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#if defined(_WIN32) && !defined(__MINGW32__) //MinGW32 does not support _declspec</span>
<a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor"> #ifdef MEDIAINFO_DLL_EXPORT</span>
<a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor"> #define MEDIAINFO_EXP</span>
<a name="l00027"></a>00027 <span class="preprocessor"></span><span class="preprocessor"> #else</span>
<a name="l00028"></a>00028 <span class="preprocessor"></span><span class="preprocessor"> #define MEDIAINFO_EXP</span>
<a name="l00029"></a>00029 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
<a name="l00030"></a>00030 <span class="preprocessor"></span><span class="preprocessor">#else //defined(_WIN32) && !defined(__MINGW32__)</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="preprocessor"> #if __GNUC__ >= 4</span>
<a name="l00032"></a>00032 <span class="preprocessor"></span><span class="preprocessor"> #define MEDIAINFO_EXP __attribute__ ((visibility("default")))</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span><span class="preprocessor"> #else</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor"> #define MEDIAINFO_EXP</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span><span class="preprocessor"> #endif</span>
<a name="l00036"></a>00036 <span class="preprocessor"></span><span class="preprocessor">#endif //defined(_WIN32) && !defined(__MINGW32__)</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span>
<a name="l00038"></a>00038 <span class="preprocessor">#if !defined(__WINDOWS__)</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span><span class="preprocessor"> #define __stdcall //Supported only on windows</span>
<a name="l00040"></a>00040 <span class="preprocessor"></span><span class="preprocessor">#endif //!defined(_WIN32)</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="comment">//---------------------------------------------------------------------------</span>
<a name="l00042"></a>00042
<a name="l00043"></a>00043 <span class="keyword">namespace </span>MediaInfoLib
<a name="l00044"></a>00044 {
<a name="l00045"></a>00045
<a name="l00046"></a>00046 <span class="keyword">class </span>MediaInfoList_Internal;
<a name="l00047"></a>00047
<a name="l00048"></a>00048 <span class="comment">//***************************************************************************</span>
<a name="l00051"></a>00051 <span class="comment"></span><span class="comment">//***************************************************************************</span>
<a name="l00052"></a>00052
<a name="l00053"></a><a class="code" href="classMediaInfoLib_1_1MediaInfoList.html">00053</a> <span class="keyword">class </span>MEDIAINFO_EXP <a class="code" href="classMediaInfoLib_1_1MediaInfoList.html" title="MediaInfoList.">MediaInfoList</a>
<a name="l00054"></a>00054 {
<a name="l00055"></a>00055 <span class="keyword">public</span> :
<a name="l00056"></a>00056 <span class="comment">//Class</span>
<a name="l00059"></a>00059 <span class="comment"></span> <a class="code" href="classMediaInfoLib_1_1MediaInfoList.html" title="MediaInfoList.">MediaInfoList</a> (<span class="keywordtype">size_t</span> Count_Init=64);
<a name="l00060"></a>00060 ~<a class="code" href="classMediaInfoLib_1_1MediaInfoList.html" title="MediaInfoList.">MediaInfoList</a> ();
<a name="l00061"></a>00061
<a name="l00062"></a>00062 <span class="comment">//Files</span>
<a name="l00071"></a>00071 <span class="comment"></span> <span class="keywordtype">size_t</span> Open (<span class="keyword">const</span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> &File, <span class="keyword">const</span> <a class="code" href="namespaceMediaInfoLib.html#a6faa67673456829e0a70bbf2cd1ae7b8" title="File opening options.">fileoptions_t</a> Options=FileOption_Nothing);
<a name="l00078"></a>00078 <span class="keywordtype">size_t</span> Open_Buffer_Init (ZenLib::int64u File_Size=(ZenLib::int64u)-1, ZenLib::int64u File_Offset=0);
<a name="l00086"></a>00086 <span class="keywordtype">size_t</span> Open_Buffer_Continue (<span class="keywordtype">size_t</span> FilePos, <span class="keyword">const</span> ZenLib::int8u* Buffer, <span class="keywordtype">size_t</span> Buffer_Size);
<a name="l00092"></a>00092 ZenLib::int64u Open_Buffer_Continue_GoTo_Get (<span class="keywordtype">size_t</span> FilePos);
<a name="l00098"></a>00098 <span class="keywordtype">size_t</span> Open_Buffer_Finalize (<span class="keywordtype">size_t</span> FilePos);
<a name="l00105"></a>00105 <span class="keywordtype">size_t</span> Save (<span class="keywordtype">size_t</span> FilePos);
<a name="l00111"></a>00111 <span class="keywordtype">void</span> Close (<span class="keywordtype">size_t</span> FilePos=(<span class="keywordtype">size_t</span>)-1);
<a name="l00112"></a>00112
<a name="l00120"></a>00120 <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> Inform (<span class="keywordtype">size_t</span> FilePos=(<span class="keywordtype">size_t</span>)-1, <span class="keywordtype">size_t</span> Reserved=0);
<a name="l00121"></a>00121
<a name="l00122"></a>00122 <span class="comment">//Get</span>
<a name="l00133"></a>00133 <span class="comment"></span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> Get (<span class="keywordtype">size_t</span> FilePos, <a class="code" href="namespaceMediaInfoLib.html#ae210a533d4e4557d31ace26af0b512dc" title="Kinds of Stream.">stream_t</a> StreamKind, <span class="keywordtype">size_t</span> StreamNumber, <span class="keywordtype">size_t</span> Parameter, <a class="code" href="namespaceMediaInfoLib.html#a2d1e0d03d1bcc5e73cf26a1fef6e8582" title="Kind of information.">info_t</a> KindOfInfo=<a class="code" href="namespaceMediaInfoLib.html#a2d1e0d03d1bcc5e73cf26a1fef6e8582a2f07520a2e4597327e56bc1c5c79d820" title="InfoKind = Value of parameter.">Info_Text</a>); <span class="comment">//Get info, FilePos=File position, StreamKind=General video audio text chapter, StreamNumber=stream number, PosInStream=parameter you want, KindOfInfo=name, text, measure, options, name (language), measure (language), info, how to</span>
<a name="l00146"></a>00146 <span class="comment"></span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> Get (<span class="keywordtype">size_t</span> FilePos, <a class="code" href="namespaceMediaInfoLib.html#ae210a533d4e4557d31ace26af0b512dc" title="Kinds of Stream.">stream_t</a> StreamKind, <span class="keywordtype">size_t</span> StreamNumber, <span class="keyword">const</span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> &Parameter, <a class="code" href="namespaceMediaInfoLib.html#a2d1e0d03d1bcc5e73cf26a1fef6e8582" title="Kind of information.">info_t</a> KindOfInfo=<a class="code" href="namespaceMediaInfoLib.html#a2d1e0d03d1bcc5e73cf26a1fef6e8582a2f07520a2e4597327e56bc1c5c79d820" title="InfoKind = Value of parameter.">Info_Text</a>, <a class="code" href="namespaceMediaInfoLib.html#a2d1e0d03d1bcc5e73cf26a1fef6e8582" title="Kind of information.">info_t</a> KindOfSearch=<a class="code" href="namespaceMediaInfoLib.html#a2d1e0d03d1bcc5e73cf26a1fef6e8582a75a6efd6894eb88f8165241105b6944c" title="InfoKind = Unique name of parameter.">Info_Name</a>); <span class="comment">//Get info, FilePos=File position, StreamKind=General video audio text chapter, StreamNumber=stream number, PosInStream=parameter you want, KindOfInfo=name text measure options name(language) measure(language) information how to, KindOfSearch=which Kind Of information Parameter must be searched?</span>
<a name="l00147"></a>00147
<a name="l00148"></a>00148 <span class="comment">//Set</span>
<a name="l00161"></a>00161 <span class="comment"></span> <span class="keywordtype">size_t</span> Set (<span class="keyword">const</span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> &ToSet, <span class="keywordtype">size_t</span> FilePos, <a class="code" href="namespaceMediaInfoLib.html#ae210a533d4e4557d31ace26af0b512dc" title="Kinds of Stream.">stream_t</a> StreamKind, <span class="keywordtype">size_t</span> StreamNumber, <span class="keywordtype">size_t</span> Parameter, <span class="keyword">const</span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> &OldValue=<a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a>()); <span class="comment">//Get info, FilePos=File position, StreamKind=General video audio text chapter, StreamNumber=stream number, PosInStream=parameter you want, KindOfInfo=name, text, measure, options name(language) measure(language) information how to</span>
<a name="l00174"></a>00174 <span class="comment"></span> <span class="keywordtype">size_t</span> Set (<span class="keyword">const</span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> &ToSet, <span class="keywordtype">size_t</span> FilePos, <a class="code" href="namespaceMediaInfoLib.html#ae210a533d4e4557d31ace26af0b512dc" title="Kinds of Stream.">stream_t</a> StreamKind, <span class="keywordtype">size_t</span> StreamNumber, <span class="keyword">const</span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> &Parameter, <span class="keyword">const</span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> &OldValue=<a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a>()); <span class="comment">//Get info, FilePos=File position, StreamKind=General video audio text chapter, StreamNumber=stream number, PosInStream=parameter you want, KindOfInfo=name text measure options name (language) measure (language) information how to, KindOfSearch=which Kind Of information Parameter must be searched?</span>
<a name="l00175"></a>00175
<a name="l00176"></a>00176 <span class="comment">//Output_Buffered</span>
<a name="l00183"></a>00183 <span class="comment"></span> <span class="keywordtype">char</span>* Output_Buffer_Get (<span class="keywordtype">size_t</span> FilePos, <span class="keywordtype">size_t</span> &Output_Buffer_Size);
<a name="l00184"></a>00184
<a name="l00185"></a>00185 <span class="comment">//Info</span>
<a name="l00191"></a>00191 <span class="comment"></span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> Option (<span class="keyword">const</span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> &Option, <span class="keyword">const</span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> &Value=<a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a>());
<a name="l00197"></a>00197 <span class="keyword">static</span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> Option_Static (<span class="keyword">const</span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> &Option, <span class="keyword">const</span> <a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a> &Value=<a class="code" href="namespaceMediaInfoLib.html#a052dd30510a46a3c02f40aec260a39bf" title="Unicode/Ansi independant string.">String</a>());
<a name="l00205"></a>00205 <span class="keywordtype">size_t</span> State_Get ();
<a name="l00212"></a>00212 <span class="keywordtype">size_t</span> Count_Get (<span class="keywordtype">size_t</span> FilePos, <a class="code" href="namespaceMediaInfoLib.html#ae210a533d4e4557d31ace26af0b512dc" title="Kinds of Stream.">stream_t</a> StreamKind, <span class="keywordtype">size_t</span> StreamNumber=(<span class="keywordtype">size_t</span>)-1);
<a name="l00215"></a>00215 <span class="keywordtype">size_t</span> Count_Get ();
<a name="l00216"></a>00216
<a name="l00217"></a>00217 <span class="keyword">private</span> :
<a name="l00218"></a>00218 MediaInfoList_Internal* Internal;
<a name="l00219"></a>00219
<a name="l00220"></a>00220 <span class="comment">//Constructor</span>
<a name="l00221"></a>00221 <a class="code" href="classMediaInfoLib_1_1MediaInfoList.html" title="MediaInfoList.">MediaInfoList</a> (<span class="keyword">const</span> <a class="code" href="classMediaInfoLib_1_1MediaInfoList.html" title="MediaInfoList.">MediaInfoList</a>&); <span class="comment">// Prevent copy-construction</span>
<a name="l00222"></a>00222 <a class="code" href="classMediaInfoLib_1_1MediaInfoList.html" title="MediaInfoList.">MediaInfoList</a>& operator=(<span class="keyword">const</span> <a class="code" href="classMediaInfoLib_1_1MediaInfoList.html" title="MediaInfoList.">MediaInfoList</a>&); <span class="comment">// Prevent assignment</span>
<a name="l00223"></a>00223 };
<a name="l00224"></a>00224
<a name="l00225"></a>00225 } <span class="comment">//NameSpace</span>
<a name="l00226"></a>00226 <span class="preprocessor">#endif</span>
</pre></div></div><!-- contents -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon Jun 22 2015 07:25:51 for MediaInfoLib by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>
</body>
</html>