00001
00002
00003 #ifndef _MOM_ACCESS_H_
00004 #define _MOM_ACCESS_H_
00005
00006
00007 #include "momusys.h"
00008
00009
00010 #ifdef __cplusplus
00011 extern "C" {
00012 #endif
00013
00014 Char *GetImageData(Image *image);
00015 UInt GetImageSize(Image *image);
00016 UInt GetImageSizeX(Image *image);
00017 UInt GetImageSizeY(Image *image);
00018 Int GetImageVersion(Image *image);
00019 ImageType GetImageType(Image *image);
00020
00021
00022
00023 Int GetVopNot8Bit(Vop *vop);
00024 Int GetVopQuantPrecision(Vop *vop);
00025 Int GetVopBitsPerPixel(Vop *vop);
00026 Int GetVopMidGrey(Vop *vop);
00027 Int GetVopBrightWhite(Vop *vop);
00028 Int GetVopTimeIncrementResolution(Vop *vop);
00029 Int GetVopModTimeBase(Vop *vop);
00030 Int GetVopTimeInc(Vop *vop);
00031 Int GetVopPredictionType(Vop *vop);
00032 Int GetVopIntraDCVlcThr(Vop *vop);
00033 Int GetVopRoundingType(Vop *vop);
00034 Int GetVopWidth(Vop *vop);
00035 Int GetVopHeight(Vop *vop);
00036 Int GetVopHorSpatRef(Vop *vop);
00037 Int GetVopVerSpatRef(Vop *vop);
00038 Int GetVopQuantizer(Vop *vop);
00039 Int GetVopIntraQuantizer(Vop *vop);
00040 Int GetVopIntraACDCPredDisable(Vop *vop);
00041 Int GetVopFCodeFor(Vop *vop);
00042 Int GetVopSearchRangeFor(Vop *vop);
00043 Image *GetVopY(Vop *vop);
00044 Image *GetVopU(Vop *vop);
00045 Image *GetVopV(Vop *vop);
00046
00047
00048 Void PutVopQuantPrecision(Int quant_precision,Vop *vop);
00049 Void PutVopBitsPerPixel(Int bits_per_pixel,Vop *vop);
00050 Void PutVopTimeIncrementResolution(Int time_incre_res, Vop *vop);
00051 Void PutVopModTimeBase(Int mod_time_base, Vop *vop);
00052 Void PutVopTimeInc(Int time_inc, Vop *vop);
00053 Void PutVopPredictionType(Int prediction_type, Vop *vop);
00054 Void PutVopIntraDCVlcThr(Int intra_dc_vlc_thr,Vop *vop);
00055 Void PutVopRoundingType(Int rounding_type, Vop *vop);
00056 Void PutVopWidth(Int width, Vop *vop);
00057 Void PutVopHeight(Int height, Vop *vop);
00058 Void PutVopHorSpatRef(Int hor_spat_ref, Vop *vop);
00059 Void PutVopVerSpatRef(Int ver_spat_ref, Vop *vop);
00060 Void PutVopQuantizer(Int quantizer, Vop *vop);
00061 Void PutVopIntraACDCPredDisable(Int intra_acdc_pred_disable, Vop *vop);
00062 Void PutVopFCodeFor(Int fcode_for, Vop *vop);
00063 Void PutVopSearchRangeFor(Int sr_for, Vop *vop);
00064 Void PutVopY(Image *y_chan, Vop *vop);
00065 Void PutVopU(Image *u_chan, Vop *vop);
00066 Void PutVopV(Image *v_chan, Vop *vop);
00067 Void PutVopIntraQuantizer(Int Q,Vop *vop);
00068
00069
00070 Void PutVolConfigFrameRate _P_((Float fr, VolConfig *cfg));
00071 Void PutVolConfigM _P_((Int M, VolConfig *cfg));
00072 Void PutVolConfigStartFrame _P_((Int frame, VolConfig *cfg));
00073 Void PutVolConfigEndFrame _P_((Int frame, VolConfig *cfg));
00074 Void PutVolConfigBitrate _P_((Int bit_rate,VolConfig *cfg));
00075 Void PutVolConfigIntraPeriod _P_((Int ir,VolConfig *cfg));
00076 Void PutVolConfigQuantizer _P_((Int Q,VolConfig *cfg));
00077 Void PutVolConfigIntraQuantizer _P_((Int Q,VolConfig *cfg));
00078 Void PutVolConfigFrameSkip _P_((Int frame_skip,VolConfig *cfg));
00079 Void PutVolConfigModTimeBase _P_((Int time,VolConfig *cfg));
00080
00081
00082 Float GetVolConfigFrameRate _P_((VolConfig *cfg));
00083 Int GetVolConfigM _P_((VolConfig *cfg));
00084 Int GetVolConfigStartFrame _P_((VolConfig *cfg));
00085 Int GetVolConfigEndFrame _P_((VolConfig *cfg));
00086 Int GetVolConfigBitrate _P_((VolConfig *cfg));
00087 Int GetVolConfigIntraPeriod _P_((VolConfig *cfg));
00088 Int GetVolConfigQuantizer _P_((VolConfig *cfg));
00089 Int GetVolConfigIntraQuantizer _P_((VolConfig *cfg));
00090 Int GetVolConfigFrameSkip _P_((VolConfig *cfg));
00091 Int GetVolConfigModTimeBase _P_((VolConfig *cfg,Int i));
00092
00093 #ifdef __cplusplus
00094 }
00095 #endif
00096
00097 #endif
00098