Lines Matching refs:klass
36 GstDeinterlaceMethodClass *klass = in gst_deinterlace_method_supported() local
43 ret = klass->supported (klass, format, width, height); in gst_deinterlace_method_supported()
44 g_type_class_unref (klass); in gst_deinterlace_method_supported()
50 gst_deinterlace_method_supported_impl (GstDeinterlaceMethodClass * klass, in gst_deinterlace_method_supported_impl() argument
55 return (klass->deinterlace_frame_yuy2 != NULL); in gst_deinterlace_method_supported_impl()
57 return (klass->deinterlace_frame_yvyu != NULL); in gst_deinterlace_method_supported_impl()
59 return (klass->deinterlace_frame_uyvy != NULL); in gst_deinterlace_method_supported_impl()
61 return (klass->deinterlace_frame_i420 != NULL); in gst_deinterlace_method_supported_impl()
63 return (klass->deinterlace_frame_yv12 != NULL); in gst_deinterlace_method_supported_impl()
65 return (klass->deinterlace_frame_y444 != NULL); in gst_deinterlace_method_supported_impl()
67 return (klass->deinterlace_frame_y42b != NULL); in gst_deinterlace_method_supported_impl()
69 return (klass->deinterlace_frame_y41b != NULL); in gst_deinterlace_method_supported_impl()
71 return (klass->deinterlace_frame_ayuv != NULL); in gst_deinterlace_method_supported_impl()
73 return (klass->deinterlace_frame_nv12 != NULL); in gst_deinterlace_method_supported_impl()
75 return (klass->deinterlace_frame_nv21 != NULL); in gst_deinterlace_method_supported_impl()
78 return (klass->deinterlace_frame_argb != NULL); in gst_deinterlace_method_supported_impl()
81 return (klass->deinterlace_frame_abgr != NULL); in gst_deinterlace_method_supported_impl()
84 return (klass->deinterlace_frame_rgba != NULL); in gst_deinterlace_method_supported_impl()
87 return (klass->deinterlace_frame_bgra != NULL); in gst_deinterlace_method_supported_impl()
89 return (klass->deinterlace_frame_rgb != NULL); in gst_deinterlace_method_supported_impl()
91 return (klass->deinterlace_frame_bgr != NULL); in gst_deinterlace_method_supported_impl()
100 GstDeinterlaceMethodClass *klass = GST_DEINTERLACE_METHOD_GET_CLASS (self); in gst_deinterlace_method_setup() local
102 klass->setup (self, vinfo); in gst_deinterlace_method_setup()
109 GstDeinterlaceMethodClass *klass = GST_DEINTERLACE_METHOD_GET_CLASS (self); in gst_deinterlace_method_setup_impl() local
120 self->deinterlace_frame = klass->deinterlace_frame_yuy2; in gst_deinterlace_method_setup_impl()
123 self->deinterlace_frame = klass->deinterlace_frame_yvyu; in gst_deinterlace_method_setup_impl()
126 self->deinterlace_frame = klass->deinterlace_frame_uyvy; in gst_deinterlace_method_setup_impl()
129 self->deinterlace_frame = klass->deinterlace_frame_i420; in gst_deinterlace_method_setup_impl()
132 self->deinterlace_frame = klass->deinterlace_frame_yv12; in gst_deinterlace_method_setup_impl()
135 self->deinterlace_frame = klass->deinterlace_frame_y444; in gst_deinterlace_method_setup_impl()
138 self->deinterlace_frame = klass->deinterlace_frame_y42b; in gst_deinterlace_method_setup_impl()
141 self->deinterlace_frame = klass->deinterlace_frame_y41b; in gst_deinterlace_method_setup_impl()
144 self->deinterlace_frame = klass->deinterlace_frame_ayuv; in gst_deinterlace_method_setup_impl()
147 self->deinterlace_frame = klass->deinterlace_frame_nv12; in gst_deinterlace_method_setup_impl()
150 self->deinterlace_frame = klass->deinterlace_frame_nv21; in gst_deinterlace_method_setup_impl()
154 self->deinterlace_frame = klass->deinterlace_frame_argb; in gst_deinterlace_method_setup_impl()
158 self->deinterlace_frame = klass->deinterlace_frame_abgr; in gst_deinterlace_method_setup_impl()
162 self->deinterlace_frame = klass->deinterlace_frame_rgba; in gst_deinterlace_method_setup_impl()
166 self->deinterlace_frame = klass->deinterlace_frame_bgra; in gst_deinterlace_method_setup_impl()
169 self->deinterlace_frame = klass->deinterlace_frame_rgb; in gst_deinterlace_method_setup_impl()
172 self->deinterlace_frame = klass->deinterlace_frame_bgr; in gst_deinterlace_method_setup_impl()
181 gst_deinterlace_method_class_init (GstDeinterlaceMethodClass * klass) in gst_deinterlace_method_class_init() argument
183 klass->setup = gst_deinterlace_method_setup_impl; in gst_deinterlace_method_class_init()
184 klass->supported = gst_deinterlace_method_supported_impl; in gst_deinterlace_method_class_init()
206 GstDeinterlaceMethodClass *klass = GST_DEINTERLACE_METHOD_GET_CLASS (self); in gst_deinterlace_method_get_fields_required() local
208 return klass->fields_required; in gst_deinterlace_method_get_fields_required()
214 GstDeinterlaceMethodClass *klass = GST_DEINTERLACE_METHOD_GET_CLASS (self); in gst_deinterlace_method_get_latency() local
216 return klass->latency; in gst_deinterlace_method_get_latency()
226 GstDeinterlaceSimpleMethodClass *klass = in gst_deinterlace_simple_method_supported() local
237 return (klass->interpolate_scanline_argb != NULL in gst_deinterlace_simple_method_supported()
238 && klass->copy_scanline_argb != NULL); in gst_deinterlace_simple_method_supported()
241 return (klass->interpolate_scanline_rgba != NULL in gst_deinterlace_simple_method_supported()
242 && klass->copy_scanline_rgba != NULL); in gst_deinterlace_simple_method_supported()
245 return (klass->interpolate_scanline_abgr != NULL in gst_deinterlace_simple_method_supported()
246 && klass->copy_scanline_abgr != NULL); in gst_deinterlace_simple_method_supported()
249 return (klass->interpolate_scanline_bgra != NULL in gst_deinterlace_simple_method_supported()
250 && klass->copy_scanline_bgra != NULL); in gst_deinterlace_simple_method_supported()
252 return (klass->interpolate_scanline_rgb != NULL in gst_deinterlace_simple_method_supported()
253 && klass->copy_scanline_rgb != NULL); in gst_deinterlace_simple_method_supported()
255 return (klass->interpolate_scanline_bgr != NULL in gst_deinterlace_simple_method_supported()
256 && klass->copy_scanline_bgr != NULL); in gst_deinterlace_simple_method_supported()
258 return (klass->interpolate_scanline_yuy2 != NULL in gst_deinterlace_simple_method_supported()
259 && klass->copy_scanline_yuy2 != NULL); in gst_deinterlace_simple_method_supported()
261 return (klass->interpolate_scanline_yvyu != NULL in gst_deinterlace_simple_method_supported()
262 && klass->copy_scanline_yvyu != NULL); in gst_deinterlace_simple_method_supported()
264 return (klass->interpolate_scanline_uyvy != NULL in gst_deinterlace_simple_method_supported()
265 && klass->copy_scanline_uyvy != NULL); in gst_deinterlace_simple_method_supported()
267 return (klass->interpolate_scanline_ayuv != NULL in gst_deinterlace_simple_method_supported()
268 && klass->copy_scanline_ayuv != NULL); in gst_deinterlace_simple_method_supported()
270 return (klass->interpolate_scanline_nv12 != NULL in gst_deinterlace_simple_method_supported()
271 && klass->copy_scanline_nv12 != NULL in gst_deinterlace_simple_method_supported()
272 && klass->interpolate_scanline_planar_y != NULL in gst_deinterlace_simple_method_supported()
273 && klass->copy_scanline_planar_y != NULL); in gst_deinterlace_simple_method_supported()
275 return (klass->interpolate_scanline_nv21 != NULL in gst_deinterlace_simple_method_supported()
276 && klass->copy_scanline_nv21 != NULL in gst_deinterlace_simple_method_supported()
277 && klass->interpolate_scanline_planar_y != NULL in gst_deinterlace_simple_method_supported()
278 && klass->copy_scanline_planar_y != NULL); in gst_deinterlace_simple_method_supported()
284 return (klass->interpolate_scanline_planar_y != NULL in gst_deinterlace_simple_method_supported()
285 && klass->copy_scanline_planar_y != NULL && in gst_deinterlace_simple_method_supported()
286 klass->interpolate_scanline_planar_u != NULL in gst_deinterlace_simple_method_supported()
287 && klass->copy_scanline_planar_u != NULL && in gst_deinterlace_simple_method_supported()
288 klass->interpolate_scanline_planar_v != NULL in gst_deinterlace_simple_method_supported()
289 && klass->copy_scanline_planar_v != NULL); in gst_deinterlace_simple_method_supported()
653 GstDeinterlaceSimpleMethodClass *klass = in gst_deinterlace_simple_method_setup() local
674 self->interpolate_scanline_packed = klass->interpolate_scanline_yuy2; in gst_deinterlace_simple_method_setup()
675 self->copy_scanline_packed = klass->copy_scanline_yuy2; in gst_deinterlace_simple_method_setup()
678 self->interpolate_scanline_packed = klass->interpolate_scanline_yvyu; in gst_deinterlace_simple_method_setup()
679 self->copy_scanline_packed = klass->copy_scanline_yvyu; in gst_deinterlace_simple_method_setup()
682 self->interpolate_scanline_packed = klass->interpolate_scanline_uyvy; in gst_deinterlace_simple_method_setup()
683 self->copy_scanline_packed = klass->copy_scanline_uyvy; in gst_deinterlace_simple_method_setup()
686 self->interpolate_scanline_packed = klass->interpolate_scanline_ayuv; in gst_deinterlace_simple_method_setup()
687 self->copy_scanline_packed = klass->copy_scanline_ayuv; in gst_deinterlace_simple_method_setup()
691 self->interpolate_scanline_packed = klass->interpolate_scanline_argb; in gst_deinterlace_simple_method_setup()
692 self->copy_scanline_packed = klass->copy_scanline_argb; in gst_deinterlace_simple_method_setup()
696 self->interpolate_scanline_packed = klass->interpolate_scanline_abgr; in gst_deinterlace_simple_method_setup()
697 self->copy_scanline_packed = klass->copy_scanline_abgr; in gst_deinterlace_simple_method_setup()
701 self->interpolate_scanline_packed = klass->interpolate_scanline_rgba; in gst_deinterlace_simple_method_setup()
702 self->copy_scanline_packed = klass->copy_scanline_rgba; in gst_deinterlace_simple_method_setup()
706 self->interpolate_scanline_packed = klass->interpolate_scanline_bgra; in gst_deinterlace_simple_method_setup()
707 self->copy_scanline_packed = klass->copy_scanline_bgra; in gst_deinterlace_simple_method_setup()
710 self->interpolate_scanline_packed = klass->interpolate_scanline_rgb; in gst_deinterlace_simple_method_setup()
711 self->copy_scanline_packed = klass->copy_scanline_rgb; in gst_deinterlace_simple_method_setup()
714 self->interpolate_scanline_packed = klass->interpolate_scanline_bgr; in gst_deinterlace_simple_method_setup()
715 self->copy_scanline_packed = klass->copy_scanline_bgr; in gst_deinterlace_simple_method_setup()
718 self->interpolate_scanline_packed = klass->interpolate_scanline_nv12; in gst_deinterlace_simple_method_setup()
719 self->copy_scanline_packed = klass->copy_scanline_nv12; in gst_deinterlace_simple_method_setup()
721 klass->interpolate_scanline_planar_y; in gst_deinterlace_simple_method_setup()
722 self->copy_scanline_planar[0] = klass->copy_scanline_planar_y; in gst_deinterlace_simple_method_setup()
725 self->interpolate_scanline_packed = klass->interpolate_scanline_nv21; in gst_deinterlace_simple_method_setup()
726 self->copy_scanline_packed = klass->copy_scanline_nv21; in gst_deinterlace_simple_method_setup()
728 klass->interpolate_scanline_planar_y; in gst_deinterlace_simple_method_setup()
729 self->copy_scanline_planar[0] = klass->copy_scanline_planar_y; in gst_deinterlace_simple_method_setup()
737 klass->interpolate_scanline_planar_y; in gst_deinterlace_simple_method_setup()
738 self->copy_scanline_planar[0] = klass->copy_scanline_planar_y; in gst_deinterlace_simple_method_setup()
740 klass->interpolate_scanline_planar_u; in gst_deinterlace_simple_method_setup()
741 self->copy_scanline_planar[1] = klass->copy_scanline_planar_u; in gst_deinterlace_simple_method_setup()
743 klass->interpolate_scanline_planar_v; in gst_deinterlace_simple_method_setup()
744 self->copy_scanline_planar[2] = klass->copy_scanline_planar_v; in gst_deinterlace_simple_method_setup()
753 * klass) in gst_deinterlace_simple_method_class_init()
755 GstDeinterlaceMethodClass *dm_class = (GstDeinterlaceMethodClass *) klass; in gst_deinterlace_simple_method_class_init()
795 klass->interpolate_scanline_yuy2 = in gst_deinterlace_simple_method_class_init()
797 klass->copy_scanline_yuy2 = in gst_deinterlace_simple_method_class_init()
799 klass->interpolate_scanline_yvyu = in gst_deinterlace_simple_method_class_init()
801 klass->copy_scanline_yvyu = in gst_deinterlace_simple_method_class_init()
803 klass->interpolate_scanline_ayuv = in gst_deinterlace_simple_method_class_init()
805 klass->copy_scanline_ayuv = in gst_deinterlace_simple_method_class_init()
807 klass->interpolate_scanline_uyvy = in gst_deinterlace_simple_method_class_init()
809 klass->copy_scanline_uyvy = in gst_deinterlace_simple_method_class_init()
811 klass->interpolate_scanline_nv12 = in gst_deinterlace_simple_method_class_init()
813 klass->copy_scanline_nv12 = in gst_deinterlace_simple_method_class_init()
816 klass->interpolate_scanline_argb = in gst_deinterlace_simple_method_class_init()
818 klass->copy_scanline_argb = in gst_deinterlace_simple_method_class_init()
820 klass->interpolate_scanline_abgr = in gst_deinterlace_simple_method_class_init()
822 klass->copy_scanline_abgr = in gst_deinterlace_simple_method_class_init()
825 klass->interpolate_scanline_rgba = in gst_deinterlace_simple_method_class_init()
827 klass->copy_scanline_rgba = in gst_deinterlace_simple_method_class_init()
829 klass->interpolate_scanline_bgra = in gst_deinterlace_simple_method_class_init()
831 klass->copy_scanline_bgra = in gst_deinterlace_simple_method_class_init()
833 klass->interpolate_scanline_rgb = in gst_deinterlace_simple_method_class_init()
835 klass->copy_scanline_rgb = gst_deinterlace_simple_method_copy_scanline_packed; in gst_deinterlace_simple_method_class_init()
836 klass->interpolate_scanline_bgr = in gst_deinterlace_simple_method_class_init()
838 klass->copy_scanline_bgr = gst_deinterlace_simple_method_copy_scanline_packed; in gst_deinterlace_simple_method_class_init()
840 klass->interpolate_scanline_planar_y = in gst_deinterlace_simple_method_class_init()
842 klass->copy_scanline_planar_y = in gst_deinterlace_simple_method_class_init()
844 klass->interpolate_scanline_planar_u = in gst_deinterlace_simple_method_class_init()
846 klass->copy_scanline_planar_u = in gst_deinterlace_simple_method_class_init()
848 klass->interpolate_scanline_planar_v = in gst_deinterlace_simple_method_class_init()
850 klass->copy_scanline_planar_v = in gst_deinterlace_simple_method_class_init()