Lines Matching refs:edit_rate
186 MXFFraction edit_rate; member
196 gst_util_uint64_scale (md->rate, md->edit_rate.d, md->edit_rate.n); in mxf_alaw_write_func()
198 md->error += (md->edit_rate.d * md->rate) % (md->edit_rate.n); in mxf_alaw_write_func()
199 if (md->error >= md->edit_rate.n) { in mxf_alaw_write_func()
284 MXFMetadataTimelineTrack * track, MXFFraction * edit_rate) in mxf_alaw_get_edit_rate() argument
298 if (((gdouble) tmp->edit_rate.n) / ((gdouble) tmp->edit_rate.d) < min) { in mxf_alaw_get_edit_rate()
299 min = ((gdouble) tmp->edit_rate.n) / ((gdouble) tmp->edit_rate.d); in mxf_alaw_get_edit_rate()
300 memcpy (edit_rate, &tmp->edit_rate, sizeof (MXFFraction)); in mxf_alaw_get_edit_rate()
306 edit_rate->n = 10; in mxf_alaw_get_edit_rate()
307 edit_rate->d = 1; in mxf_alaw_get_edit_rate()
310 memcpy (&md->edit_rate, edit_rate, sizeof (MXFFraction)); in mxf_alaw_get_edit_rate()