Lines Matching refs:obj
24 MixParams *mix_videoencodeparams_dup(const MixParams * obj);
26 static void mix_videoencodeparams_finalize(MixParams * obj);
66 void mix_videoencodeparams_finalize(MixParams * obj) { in mix_videoencodeparams_finalize() argument
72 parent_class->finalize(obj); in mix_videoencodeparams_finalize()
89 mix_videoencodeparams_dup(const MixParams * obj) { in mix_videoencodeparams_dup() argument
92 if (MIX_IS_VIDEOENCODEPARAMS(obj)) { in mix_videoencodeparams_dup()
94 if (mix_videoencodeparams_copy(MIX_PARAMS(duplicate), MIX_PARAMS(obj))) { in mix_videoencodeparams_dup()
166 #define MIX_VIDEOENCODEPARAMS_SETTER_CHECK_INPUT(obj) \ argument
167 if(!obj) return MIX_RESULT_NULL_PTR; \
168 if(!MIX_IS_VIDEOENCODEPARAMS(obj)) return MIX_RESULT_FAIL; \
170 #define MIX_VIDEOENCODEPARAMS_GETTER_CHECK_INPUT(obj, prop) \ argument
171 if(!obj || !prop) return MIX_RESULT_NULL_PTR; \
172 if(!MIX_IS_VIDEOENCODEPARAMS(obj)) return MIX_RESULT_FAIL; \
177 MIX_RESULT mix_videoencodeparams_set_timestamp(MixVideoEncodeParams * obj, in mix_videoencodeparams_set_timestamp() argument
179 MIX_VIDEOENCODEPARAMS_SETTER_CHECK_INPUT (obj); in mix_videoencodeparams_set_timestamp()
180 obj->timestamp = timestamp; in mix_videoencodeparams_set_timestamp()
184 MIX_RESULT mix_videoencodeparams_get_timestamp(MixVideoEncodeParams * obj, in mix_videoencodeparams_get_timestamp() argument
186 MIX_VIDEOENCODEPARAMS_GETTER_CHECK_INPUT (obj, timestamp); in mix_videoencodeparams_get_timestamp()
187 *timestamp = obj->timestamp; in mix_videoencodeparams_get_timestamp()
191 MIX_RESULT mix_videoencodeparams_set_discontinuity(MixVideoEncodeParams * obj, in mix_videoencodeparams_set_discontinuity() argument
193 MIX_VIDEOENCODEPARAMS_SETTER_CHECK_INPUT (obj); in mix_videoencodeparams_set_discontinuity()
194 obj->discontinuity = discontinuity; in mix_videoencodeparams_set_discontinuity()
198 MIX_RESULT mix_videoencodeparams_get_discontinuity(MixVideoEncodeParams * obj, in mix_videoencodeparams_get_discontinuity() argument
200 MIX_VIDEOENCODEPARAMS_GETTER_CHECK_INPUT (obj, discontinuity); in mix_videoencodeparams_get_discontinuity()
201 *discontinuity = obj->discontinuity; in mix_videoencodeparams_get_discontinuity()