Lines Matching refs:ypos
46 method##_ ##name (GstVideoFrame * srcframe, gint xpos, gint ypos, \
76 if (ypos < 0) { \
77 src += -ypos * src_stride; \
78 src_height -= -ypos; \
79 ypos = 0; \
85 if (ypos + src_height > dest_height) { \
86 src_height = dest_height - ypos; \
90 dest = dest + 4 * xpos + (ypos * dest_stride); \
235 blend_##format_name (GstVideoFrame * srcframe, gint xpos, gint ypos, \
261 ypos = y_round (ypos); \
272 if (ypos < 0) { \
273 yoffset = -ypos; \
274 b_src_height -= -ypos; \
275 ypos = 0; \
286 if (ypos + b_src_height > dest_height) { \
287 b_src_height = dest_height - ypos; \
301 comp_ypos = (ypos == 0) ? 0 : GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT (info, 0, ypos); \
317 comp_ypos = (ypos == 0) ? 0 : GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT (info, 1, ypos); \
333 comp_ypos = (ypos == 0) ? 0 : GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT (info, 2, ypos); \
480 blend_##format_name (GstVideoFrame * srcframe, gint xpos, gint ypos, \
506 ypos = GST_ROUND_UP_2 (ypos); \
517 if (ypos < 0) { \
518 yoffset += -ypos; \
519 b_src_height -= -ypos; \
520 ypos = 0; \
531 if (ypos + src_height > dest_height) { \
532 b_src_height = dest_height - ypos; \
546 comp_ypos = (ypos == 0) ? 0 : GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT (info, 0, ypos); \
562 comp_ypos = (ypos == 0) ? 0 : GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT (info, 1, ypos); \
651 blend_##name (GstVideoFrame * srcframe, gint xpos, gint ypos, \
681 if (ypos < 0) { \
682 src += -ypos * src_stride; \
683 src_height -= -ypos; \
684 ypos = 0; \
690 if (ypos + src_height > dest_height) { \
691 src_height = dest_height - ypos; \
694 dest = dest + bpp * xpos + (ypos * dest_stride); \
817 blend_##name (GstVideoFrame * srcframe, gint xpos, gint ypos, \
849 if (ypos < 0) { \
850 src += -ypos * src_stride; \
851 src_height -= -ypos; \
852 ypos = 0; \
859 if (ypos + src_height > dest_height) { \
860 src_height = dest_height - ypos; \
863 dest = dest + 2 * xpos + (ypos * dest_stride); \