blob: 6e3d84c0edc56951c30e44c7ce4ea07b7b4da6bb [file] [log] [blame]
/*
INTEL CONFIDENTIAL
Copyright 2009 Intel Corporation All Rights Reserved.
The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporation or its suppliers and licensors. The Material contains trade secrets and proprietary and confidential information of Intel or its suppliers and licensors. The Material is protected by worldwide copyright and trade secret laws and treaty provisions. No part of the Material may be used, copied, reproduced, modified, published, uploaded, posted, transmitted, distributed, or disclosed in any way without Intel’s prior express written permission.
No license under any patent, copyright, trade secret or other intellectual property right is granted to or conferred upon you by disclosure or delivery of the Materials, either expressly, by implication, inducement, estoppel or otherwise. Any license under such intellectual property rights must be express and approved by Intel in writing.
*/
#ifndef __MIX_VIDEOCONFIGPARAMSDEC_MP42_H__
#define __MIX_VIDEOCONFIGPARAMSDEC_MP42_H__
#include "mixvideoconfigparamsdec.h"
#include "mixvideodef.h"
G_BEGIN_DECLS
/**
* MIX_TYPE_VIDEOCONFIGPARAMSDEC_MP42:
*
* Get type of class.
*/
#define MIX_TYPE_VIDEOCONFIGPARAMSDEC_MP42 (mix_videoconfigparamsdec_mp42_get_type ())
/**
* MIX_VIDEOCONFIGPARAMSDEC_MP42:
* @obj: object to be type-casted.
*/
#define MIX_VIDEOCONFIGPARAMSDEC_MP42(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIX_TYPE_VIDEOCONFIGPARAMSDEC_MP42, MixVideoConfigParamsDecMP42))
/**
* MIX_IS_VIDEOCONFIGPARAMSDEC_MP42:
* @obj: an object.
*
* Checks if the given object is an instance of #MixVideoConfigParamsDecMP42
*/
#define MIX_IS_VIDEOCONFIGPARAMSDEC_MP42(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIX_TYPE_VIDEOCONFIGPARAMSDEC_MP42))
/**
* MIX_VIDEOCONFIGPARAMSDEC_MP42_CLASS:
* @klass: class to be type-casted.
*/
#define MIX_VIDEOCONFIGPARAMSDEC_MP42_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIX_TYPE_VIDEOCONFIGPARAMSDEC_MP42, MixVideoConfigParamsDecMP42Class))
/**
* MIX_IS_VIDEOCONFIGPARAMSDEC_MP42_CLASS:
* @klass: a class.
*
* Checks if the given class is #MixVideoConfigParamsDecMP42Class
*/
#define MIX_IS_VIDEOCONFIGPARAMSDEC_MP42_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIX_TYPE_VIDEOCONFIGPARAMSDEC_MP42))
/**
* MIX_VIDEOCONFIGPARAMSDEC_MP42_GET_CLASS:
* @obj: a #MixParams object.
*
* Get the class instance of the object.
*/
#define MIX_VIDEOCONFIGPARAMSDEC_MP42_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MIX_TYPE_VIDEOCONFIGPARAMSDEC_MP42, MixVideoConfigParamsDecMP42Class))
typedef struct _MixVideoConfigParamsDecMP42 MixVideoConfigParamsDecMP42;
typedef struct _MixVideoConfigParamsDecMP42Class MixVideoConfigParamsDecMP42Class;
/**
* MixVideoConfigParamsDecMP42:
*
* MI-X VideoConfig Parameter object
*/
struct _MixVideoConfigParamsDecMP42 {
/*< public > */
MixVideoConfigParamsDec parent;
/*< public > */
/* MPEG version */
guint mpegversion;
/* DivX version */
guint divxversion;
/* Reserved for future use */
void *reserved1;
/* Reserved for future use */
void *reserved2;
/* Reserved for future use */
void *reserved3;
/* Reserved for future use */
void *reserved4;
};
/**
* MixVideoConfigParamsDecMP42Class:
*
* MI-X VideoConfig object class
*/
struct _MixVideoConfigParamsDecMP42Class {
/*< public > */
MixVideoConfigParamsDecClass parent_class;
/* class members */
};
/**
* mix_videoconfigparamsdec_mp42_get_type:
* @returns: type
*
* Get the type of object.
*/
GType mix_videoconfigparamsdec_mp42_get_type(void);
/**
* mix_videoconfigparamsdec_mp42_new:
* @returns: A newly allocated instance of #MixVideoConfigParamsDecMP42
*
* Use this method to create new instance of #MixVideoConfigParamsDecMP42
*/
MixVideoConfigParamsDecMP42 *mix_videoconfigparamsdec_mp42_new(void);
/**
* mix_videoconfigparamsdec_mp42_ref:
* @mix: object to add reference
* @returns: the #MixVideoConfigParamsDecMP42 instance where reference count has been increased.
*
* Add reference count.
*/
MixVideoConfigParamsDecMP42
* mix_videoconfigparamsdec_mp42_ref(MixVideoConfigParamsDecMP42 * mix);
/**
* mix_videoconfigparamsdec_mp42_unref:
* @obj: object to unref.
*
* Decrement reference count of the object.
*/
#define mix_videoconfigparamsdec_mp42_unref(obj) mix_params_unref(MIX_PARAMS(obj))
/* Class Methods */
/* TODO: Add getters and setters for other properties */
/**
* mix_videoconfigparamsdec_mp42_set_mpegversion:
* @obj: #MixVideoConfigParamsDecMP42 object
* @version: MPEG version
* @returns: <link linkend="MixVideo-mixvideodef">Common Video Error Return Codes</link>
*
* Set MPEG version
*/
MIX_RESULT mix_videoconfigparamsdec_mp42_set_mpegversion(
MixVideoConfigParamsDecMP42 *obj, guint version);
/**
* mix_videoconfigparamsdec_mp42_get_mpegversion:
* @obj: #MixVideoConfigParamsDecMP42 object
* @version: MPEG version to be returned
* @returns: <link linkend="MixVideo-mixvideodef">Common Video Error Return Codes</link>
*
* Get MPEG version
*/
MIX_RESULT mix_videoconfigparamsdec_mp42_get_mpegversion(
MixVideoConfigParamsDecMP42 *obj, guint *version);
/**
* mix_videoconfigparamsdec_mp42_set_divxversion:
* @obj: #MixVideoConfigParamsDecMP42 object
* @version: DivX version
* @returns: <link linkend="MixVideo-mixvideodef">Common Video Error Return Codes</link>
*
* Set DivX version
*/
MIX_RESULT mix_videoconfigparamsdec_mp42_set_divxversion(
MixVideoConfigParamsDecMP42 *obj, guint version);
/**
* mix_videoconfigparamsdec_mp42_set_divxversion:
* @obj: #MixVideoConfigParamsDecMP42 object
* @version: DivX version to be returned
* @returns: <link linkend="MixVideo-mixvideodef">Common Video Error Return Codes</link>
*
* Get DivX version
*/
MIX_RESULT mix_videoconfigparamsdec_mp42_get_divxversion(
MixVideoConfigParamsDecMP42 *obj, guint *version);
G_END_DECLS
#endif /* __MIX_VIDEOCONFIGPARAMSDEC_MP42_H__ */