mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-25 15:36:42 +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 */
|
/* caps */
|
||||||
GStaticMutex lock;
|
GStaticMutex lock;
|
||||||
|
|
||||||
GstVideoFormat in_format, out_format;
|
GstVideoInfo in_info, out_info;
|
||||||
gint width, height;
|
|
||||||
gboolean in_sdtv, out_sdtv;
|
gboolean in_sdtv, out_sdtv;
|
||||||
|
|
||||||
/* properties */
|
/* properties */
|
||||||
|
@ -93,7 +92,7 @@ struct _GstAlpha
|
||||||
gboolean prefer_passthrough;
|
gboolean prefer_passthrough;
|
||||||
|
|
||||||
/* processing function */
|
/* 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 */
|
/* precalculated values for chroma keying */
|
||||||
gint8 cb, cr;
|
gint8 cb, cr;
|
||||||
|
|
Loading…
Reference in a new issue