/usr/include/mlt++/MltProfile.h is in libmlt++-dev 0.9.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | /**
* MltProfile.h - MLT Wrapper
* Copyright (C) 2008 Dan Dennedy <dan@dennedy.org>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _MLTPP_PROFILE_H_
#define _MLTPP_PROFILE_H_
#include "config.h"
#ifdef SWIG
#define MLTPP_DECLSPEC
#endif
#include <framework/mlt.h>
namespace Mlt
{
class Properties;
class Producer;
class MLTPP_DECLSPEC Profile
{
private:
mlt_profile instance;
public:
Profile( );
Profile( const char* name );
Profile( Properties& properties );
Profile( mlt_profile profile );
~Profile();
mlt_profile get_profile( ) const;
char* description() const;
int frame_rate_num() const;
int frame_rate_den() const;
double fps() const;
int width() const;
int height() const;
bool progressive() const;
int sample_aspect_num() const;
int sample_aspect_den() const;
double sar() const;
int display_aspect_num() const;
int display_aspect_den() const;
double dar() const;
int is_explicit() const;
int colorspace() const;
static Properties* list();
void from_producer( Producer &producer );
void set_width( int width );
void set_height( int height );
void set_sample_aspect( int numerator, int denominator );
void set_progressive( int progressive );
void set_colorspace( int colorspace );
void set_frame_rate( int numerator, int denominator );
void set_explicit( int boolean );
};
}
#endif
|