Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git] / quicktime / encore50 / mom_access.h
blobf01b1b79b07604083db14a430e438a6e29dfd85e
3 #ifndef _MOM_ACCESS_H_
4 #define _MOM_ACCESS_H_
7 #include "momusys.h"
8 //#include "mom_access.p"
10 #ifdef __cplusplus
11 extern "C" {
12 #endif /* __cplusplus */
14 Char *GetImageData(Image *image);
15 UInt GetImageSize(Image *image);
16 UInt GetImageSizeX(Image *image);
17 UInt GetImageSizeY(Image *image);
18 Int GetImageVersion(Image *image);
19 ImageType GetImageType(Image *image);
22 /* -- GetVop{xxx} -- Functions to access components of the Vop structure */
23 Int GetVopNot8Bit(Vop *vop);
24 Int GetVopQuantPrecision(Vop *vop);
25 Int GetVopBitsPerPixel(Vop *vop);
26 Int GetVopMidGrey(Vop *vop);
27 Int GetVopBrightWhite(Vop *vop);
28 Int GetVopTimeIncrementResolution(Vop *vop);
29 Int GetVopModTimeBase(Vop *vop);
30 Int GetVopTimeInc(Vop *vop);
31 Int GetVopPredictionType(Vop *vop);
32 Int GetVopIntraDCVlcThr(Vop *vop);
33 Int GetVopRoundingType(Vop *vop);
34 Int GetVopWidth(Vop *vop);
35 Int GetVopHeight(Vop *vop);
36 Int GetVopHorSpatRef(Vop *vop);
37 Int GetVopVerSpatRef(Vop *vop);
38 Int GetVopQuantizer(Vop *vop);
39 Int GetVopIntraQuantizer(Vop *vop);
40 Int GetVopIntraACDCPredDisable(Vop *vop);
41 Int GetVopFCodeFor(Vop *vop);
42 Int GetVopSearchRangeFor(Vop *vop);
43 Image *GetVopY(Vop *vop);
44 Image *GetVopU(Vop *vop);
45 Image *GetVopV(Vop *vop);
47 /* -- PutVop{xxx} -- Functions to write to components of the Vop structure */
48 Void PutVopQuantPrecision(Int quant_precision,Vop *vop);
49 Void PutVopBitsPerPixel(Int bits_per_pixel,Vop *vop);
50 Void PutVopTimeIncrementResolution(Int time_incre_res, Vop *vop);
51 Void PutVopModTimeBase(Int mod_time_base, Vop *vop);
52 Void PutVopTimeInc(Int time_inc, Vop *vop);
53 Void PutVopPredictionType(Int prediction_type, Vop *vop);
54 Void PutVopIntraDCVlcThr(Int intra_dc_vlc_thr,Vop *vop);
55 Void PutVopRoundingType(Int rounding_type, Vop *vop);
56 Void PutVopWidth(Int width, Vop *vop);
57 Void PutVopHeight(Int height, Vop *vop);
58 Void PutVopHorSpatRef(Int hor_spat_ref, Vop *vop);
59 Void PutVopVerSpatRef(Int ver_spat_ref, Vop *vop);
60 Void PutVopQuantizer(Int quantizer, Vop *vop);
61 Void PutVopIntraACDCPredDisable(Int intra_acdc_pred_disable, Vop *vop);
62 Void PutVopFCodeFor(Int fcode_for, Vop *vop);
63 Void PutVopSearchRangeFor(Int sr_for, Vop *vop);
64 Void PutVopY(Image *y_chan, Vop *vop);
65 Void PutVopU(Image *u_chan, Vop *vop);
66 Void PutVopV(Image *v_chan, Vop *vop);
67 Void PutVopIntraQuantizer(Int Q,Vop *vop);
69 /* VolConfig Put functions */
70 Void PutVolConfigFrameRate _P_((Float fr, VolConfig *cfg));
71 Void PutVolConfigM _P_((Int M, VolConfig *cfg));
72 Void PutVolConfigStartFrame _P_((Int frame, VolConfig *cfg));
73 Void PutVolConfigEndFrame _P_((Int frame, VolConfig *cfg));
74 Void PutVolConfigBitrate _P_((Int bit_rate,VolConfig *cfg));
75 Void PutVolConfigIntraPeriod _P_((Int ir,VolConfig *cfg));
76 Void PutVolConfigQuantizer _P_((Int Q,VolConfig *cfg));
77 Void PutVolConfigIntraQuantizer _P_((Int Q,VolConfig *cfg));
78 Void PutVolConfigFrameSkip _P_((Int frame_skip,VolConfig *cfg));
79 Void PutVolConfigModTimeBase _P_((Int time,VolConfig *cfg));
81 /* VolConfig Get functions */
82 Float GetVolConfigFrameRate _P_((VolConfig *cfg));
83 Int GetVolConfigM _P_((VolConfig *cfg));
84 Int GetVolConfigStartFrame _P_((VolConfig *cfg));
85 Int GetVolConfigEndFrame _P_((VolConfig *cfg));
86 Int GetVolConfigBitrate _P_((VolConfig *cfg));
87 Int GetVolConfigIntraPeriod _P_((VolConfig *cfg));
88 Int GetVolConfigQuantizer _P_((VolConfig *cfg));
89 Int GetVolConfigIntraQuantizer _P_((VolConfig *cfg));
90 Int GetVolConfigFrameSkip _P_((VolConfig *cfg));
91 Int GetVolConfigModTimeBase _P_((VolConfig *cfg,Int i));
93 #ifdef __cplusplus
95 #endif /* __cplusplus */
97 #endif /* _MOM_ACCESS_H_ */