mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
port to new video api
This commit is contained in:
parent
ead60adb33
commit
476e2184f4
2 changed files with 440 additions and 314 deletions
File diff suppressed because it is too large
Load diff
|
@ -72,8 +72,7 @@ struct _GstAlpha
|
|||
/* caps */
|
||||
GStaticMutex lock;
|
||||
|
||||
GstVideoFormat in_format, out_format;
|
||||
gint width, height;
|
||||
GstVideoInfo in_info, out_info;
|
||||
gboolean in_sdtv, out_sdtv;
|
||||
|
||||
/* properties */
|
||||
|
@ -93,7 +92,7 @@ struct _GstAlpha
|
|||
gboolean prefer_passthrough;
|
||||
|
||||
/* processing function */
|
||||
void (*process) (const guint8 *src, guint8 *dest, gint width, gint height, GstAlpha *alpha);
|
||||
void (*process) (const GstVideoFrame *in_frame, GstVideoFrame *out_frame, GstAlpha *alpha);
|
||||
|
||||
/* precalculated values for chroma keying */
|
||||
gint8 cb, cr;
|
||||
|
|
Loading…
Reference in a new issue