Searched refs:src_ratio (Results 1 – 3 of 3) sorted by relevance
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | gstvideosink.c | 135 gdouble src_ratio, dst_ratio; in gst_video_center_rect() local 140 src_ratio = (gdouble) src->w / src->h; in gst_video_center_rect() 143 if (src_ratio > dst_ratio) { in gst_video_center_rect() 145 result->h = dst->w / src_ratio; in gst_video_center_rect() 148 } else if (src_ratio < dst_ratio) { in gst_video_center_rect() 149 result->w = dst->h * src_ratio; in gst_video_center_rect()
|
/third_party/pulseaudio/src/pulsecore/resampler/ |
D | libsamplerate.c | 46 data.src_ratio = (double) r->o_ss.rate / r->i_ss.rate; in libsamplerate_resample()
|
/third_party/alsa-utils/alsaloop/ |
D | pcmjob.c | 1086 loop->src_data.src_ratio = (double)1.0 / (pitch * in update_pitch() 1089 …intf(loop->output, "%s: Samplerate src_ratio update1: %.8f\n", loop->id, loop->src_data.src_ratio); in update_pitch() 1096 loop->src_data.src_ratio = in update_pitch() 1100 …intf(loop->output, "%s: Samplerate src_ratio update2: %.8f\n", loop->id, loop->src_data.src_ratio); in update_pitch() 1109 loop->src_data.src_ratio = in update_pitch() 1113 …intf(loop->output, "%s: Samplerate src_ratio update3: %.8f\n", loop->id, loop->src_data.src_ratio); in update_pitch() 1628 loop->src_data.src_ratio = (double)loop->play->rate / in pcmjob_start()
|