• Home
  • Raw
  • Download

Lines Matching refs:resampler

90   GstVideoResampler resampler;  member
109 resampler_zip (GstVideoResampler * resampler, const GstVideoResampler * r1, in resampler_zip() argument
125 resampler->in_size = r1->in_size + r2->in_size; in resampler_zip()
126 resampler->out_size = out_size; in resampler_zip()
127 resampler->max_taps = max_taps; in resampler_zip()
128 resampler->n_phases = n_phases; in resampler_zip()
129 resampler->offset = offset; in resampler_zip()
130 resampler->phase = phase; in resampler_zip()
131 resampler->n_taps = g_malloc (sizeof (guint32) * out_size); in resampler_zip()
132 resampler->taps = taps; in resampler_zip()
151 gint n_taps = scale->resampler.max_taps; in realloc_tmplines()
170 GstVideoResampler *r = &scale->resampler; in scaler_dump()
245 resampler_zip (&scale->resampler, &tresamp, &bresamp); in gst_video_scaler_new()
249 gst_video_resampler_init (&scale->resampler, method, in gst_video_scaler_new()
260 GST_DEBUG ("max_taps %d", scale->resampler.max_taps); in gst_video_scaler_new()
276 gst_video_resampler_clear (&scale->resampler); in gst_video_scaler_free()
298 return scale->resampler.max_taps; in gst_video_scaler_get_max_taps()
323 g_return_val_if_fail (out_offset < scale->resampler.out_size, NULL); in gst_video_scaler_get_coeff()
325 offset = scale->resampler.offset[out_offset]; in gst_video_scaler_get_coeff()
326 phase = scale->resampler.phase[out_offset]; in gst_video_scaler_get_coeff()
331 *n_taps = scale->resampler.max_taps; in gst_video_scaler_get_coeff()
335 return scale->resampler.taps + phase * scale->resampler.max_taps; in gst_video_scaler_get_coeff()
398 n_phases = scale->resampler.n_phases; in make_s16_taps()
399 max_taps = scale->resampler.max_taps; in make_s16_taps()
401 taps = scale->resampler.taps; in make_s16_taps()
411 out_size = scale->resampler.out_size; in make_s16_taps()
414 phase = scale->resampler.phase; in make_s16_taps()
415 offset = scale->resampler.offset; in make_s16_taps()
465 guint32 *offset = scale->resampler.offset + dest_offset; in video_scale_h_near_u8()
493 guint32 *offset = scale->resampler.offset + dest_offset; in video_scale_h_near_3u8()
529 guint32 *offset = scale->resampler.offset + dest_offset; in video_scale_h_near_u16()
563 guint32 *offset = scale->resampler.offset + dest_offset; in video_scale_h_near_u32()
591 offset = scale->resampler.offset + dest_offset; in video_scale_h_near_u64()
638 max_taps = scale->resampler.max_taps; in video_scale_h_ntap_u8()
776 max_taps = scale->resampler.max_taps; in video_scale_h_ntap_u16()
862 max_taps = scale->resampler.max_taps; in video_scale_v_2tap_u8()
893 max_taps = scale->resampler.max_taps; in video_scale_v_2tap_u16()
922 max_taps = scale->resampler.max_taps;
959 max_taps = scale->resampler.max_taps; in video_scale_v_4tap_u8()
1003 max_taps = scale->resampler.max_taps; in video_scale_v_ntap_u8()
1004 taps = scale->taps_s16 + (scale->resampler.phase[dest_offset] * max_taps); in video_scale_v_ntap_u8()
1087 max_taps = scale->resampler.max_taps; in video_scale_v_ntap_u16()
1088 taps = scale->taps_s16 + (scale->resampler.phase[dest_offset] * max_taps); in video_scale_v_ntap_u16()
1140 GstVideoResampler *resampler; in gst_video_scaler_combine_packed_YUV() local
1147 g_return_val_if_fail (uv_scale->resampler.max_taps == in gst_video_scaler_combine_packed_YUV()
1148 y_scale->resampler.max_taps, NULL); in gst_video_scaler_combine_packed_YUV()
1156 resampler = &scale->resampler; in gst_video_scaler_combine_packed_YUV()
1158 out_size = GST_ROUND_UP_4 (y_scale->resampler.out_size * 2); in gst_video_scaler_combine_packed_YUV()
1159 max_taps = y_scale->resampler.max_taps; in gst_video_scaler_combine_packed_YUV()
1165 resampler->in_size = y_scale->resampler.in_size * 2; in gst_video_scaler_combine_packed_YUV()
1166 resampler->out_size = out_size; in gst_video_scaler_combine_packed_YUV()
1167 resampler->max_taps = max_taps; in gst_video_scaler_combine_packed_YUV()
1168 resampler->n_phases = n_phases; in gst_video_scaler_combine_packed_YUV()
1169 resampler->offset = offset; in gst_video_scaler_combine_packed_YUV()
1170 resampler->phase = phase; in gst_video_scaler_combine_packed_YUV()
1171 resampler->n_taps = g_malloc (sizeof (guint32) * out_size); in gst_video_scaler_combine_packed_YUV()
1172 resampler->taps = taps; in gst_video_scaler_combine_packed_YUV()
1182 ic = MIN (i / 2, y_scale->resampler.out_size - 1); in gst_video_scaler_combine_packed_YUV()
1183 offset[i] = y_scale->resampler.offset[ic] * 2 + scale->in_y_offset; in gst_video_scaler_combine_packed_YUV()
1184 memcpy (taps + i * max_taps, y_scale->resampler.taps + in gst_video_scaler_combine_packed_YUV()
1185 y_scale->resampler.phase[ic] * max_taps, max_taps * sizeof (gdouble)); in gst_video_scaler_combine_packed_YUV()
1187 ic = MIN (i / 4, uv_scale->resampler.out_size - 1); in gst_video_scaler_combine_packed_YUV()
1188 offset[i] = uv_scale->resampler.offset[ic] * 4 + (i & 3); in gst_video_scaler_combine_packed_YUV()
1189 memcpy (taps + i * max_taps, uv_scale->resampler.taps + in gst_video_scaler_combine_packed_YUV()
1190 uv_scale->resampler.phase[ic] * max_taps, in gst_video_scaler_combine_packed_YUV()
1272 switch (hscale ? hscale->resampler.max_taps : 0) { in get_functions()
1297 switch (vscale ? vscale->resampler.max_taps : 0) { in get_functions()
1314 switch (hscale ? hscale->resampler.max_taps : 0) { in get_functions()
1327 switch (vscale ? vscale->resampler.max_taps : 0) { in get_functions()
1366 g_return_if_fail (dest_offset + width <= scale->resampler.out_size); in gst_video_scaler_horizontal()
1407 g_return_if_fail (dest_offset < scale->resampler.out_size); in gst_video_scaler_vertical()
1508 v_taps = vscale->resampler.max_taps; in gst_video_scaler_2d()
1520 in = vscale->resampler.offset[i]; in gst_video_scaler_2d()
1524 g_assert (l < vscale->resampler.in_size); in gst_video_scaler_2d()
1542 s1 = width * vscale->resampler.offset[height - 1]; in gst_video_scaler_2d()
1551 in = vscale->resampler.offset[i]; in gst_video_scaler_2d()
1556 g_assert (l < vscale->resampler.in_size); in gst_video_scaler_2d()
1591 h_taps = hscale->resampler.max_taps; in gst_video_scaler_2d()
1593 ws = hscale->resampler.offset[w1]; in gst_video_scaler_2d()
1599 vx = MIN (vx, hscale->resampler.offset[x]); in gst_video_scaler_2d()
1611 vw = MIN (vw, hscale->resampler.in_size); in gst_video_scaler_2d()
1620 in = vscale->resampler.offset[i]; in gst_video_scaler_2d()
1624 g_assert (l < vscale->resampler.in_size); in gst_video_scaler_2d()