filter: re-indent all GstVaapiFilter related source code.

This commit is contained in:
Gwenole Beauchesne 2014-10-29 16:35:46 +01:00
parent c472403bb4
commit c537648c5b
2 changed files with 1008 additions and 1025 deletions

File diff suppressed because it is too large Load diff

View file

@ -62,9 +62,10 @@ typedef enum {
* *
* A #GstVaapiFilterOp descriptor. * A #GstVaapiFilterOp descriptor.
*/ */
struct _GstVaapiFilterOpInfo { struct _GstVaapiFilterOpInfo
{
const GstVaapiFilterOp op; const GstVaapiFilterOp op;
GParamSpec * const pspec; GParamSpec *const pspec;
}; };
/** /**
@ -136,80 +137,80 @@ typedef enum {
gst_vaapi_deinterlace_flags_get_type() gst_vaapi_deinterlace_flags_get_type()
GType GType
gst_vaapi_deinterlace_method_get_type(void) G_GNUC_CONST; gst_vaapi_deinterlace_method_get_type (void) G_GNUC_CONST;
GType GType
gst_vaapi_deinterlace_flags_get_type(void) G_GNUC_CONST; gst_vaapi_deinterlace_flags_get_type (void) G_GNUC_CONST;
GstVaapiFilter * GstVaapiFilter *
gst_vaapi_filter_new(GstVaapiDisplay *display); gst_vaapi_filter_new (GstVaapiDisplay * display);
GstVaapiFilter * GstVaapiFilter *
gst_vaapi_filter_ref(GstVaapiFilter *filter); gst_vaapi_filter_ref (GstVaapiFilter * filter);
void void
gst_vaapi_filter_unref(GstVaapiFilter *filter); gst_vaapi_filter_unref (GstVaapiFilter * filter);
void void
gst_vaapi_filter_replace(GstVaapiFilter **old_filter_ptr, gst_vaapi_filter_replace (GstVaapiFilter ** old_filter_ptr,
GstVaapiFilter *new_filter); GstVaapiFilter * new_filter);
GPtrArray * GPtrArray *
gst_vaapi_filter_get_operations(GstVaapiFilter *filter); gst_vaapi_filter_get_operations (GstVaapiFilter * filter);
gboolean gboolean
gst_vaapi_filter_has_operation(GstVaapiFilter *filter, GstVaapiFilterOp op); gst_vaapi_filter_has_operation (GstVaapiFilter * filter, GstVaapiFilterOp op);
gboolean gboolean
gst_vaapi_filter_use_operation(GstVaapiFilter *filter, GstVaapiFilterOp op); gst_vaapi_filter_use_operation (GstVaapiFilter * filter, GstVaapiFilterOp op);
gboolean gboolean
gst_vaapi_filter_set_operation(GstVaapiFilter *filter, GstVaapiFilterOp op, gst_vaapi_filter_set_operation (GstVaapiFilter * filter, GstVaapiFilterOp op,
const GValue *value); const GValue * value);
GstVaapiFilterStatus GstVaapiFilterStatus
gst_vaapi_filter_process(GstVaapiFilter *filter, GstVaapiSurface *src_surface, gst_vaapi_filter_process (GstVaapiFilter * filter,
GstVaapiSurface *dst_surface, guint flags); GstVaapiSurface * src_surface, GstVaapiSurface * dst_surface, guint flags);
GArray * GArray *
gst_vaapi_filter_get_formats(GstVaapiFilter *filter); gst_vaapi_filter_get_formats (GstVaapiFilter * filter);
gboolean gboolean
gst_vaapi_filter_set_format(GstVaapiFilter *filter, GstVideoFormat format); gst_vaapi_filter_set_format (GstVaapiFilter * filter, GstVideoFormat format);
gboolean gboolean
gst_vaapi_filter_set_cropping_rectangle(GstVaapiFilter *filter, gst_vaapi_filter_set_cropping_rectangle (GstVaapiFilter * filter,
const GstVaapiRectangle *rect); const GstVaapiRectangle * rect);
gboolean gboolean
gst_vaapi_filter_set_target_rectangle(GstVaapiFilter *filter, gst_vaapi_filter_set_target_rectangle (GstVaapiFilter * filter,
const GstVaapiRectangle *rect); const GstVaapiRectangle * rect);
gboolean gboolean
gst_vaapi_filter_set_denoising_level(GstVaapiFilter *filter, gfloat level); gst_vaapi_filter_set_denoising_level (GstVaapiFilter * filter, gfloat level);
gboolean gboolean
gst_vaapi_filter_set_sharpening_level(GstVaapiFilter *filter, gfloat level); gst_vaapi_filter_set_sharpening_level (GstVaapiFilter * filter, gfloat level);
gboolean gboolean
gst_vaapi_filter_set_hue(GstVaapiFilter *filter, gfloat value); gst_vaapi_filter_set_hue (GstVaapiFilter * filter, gfloat value);
gboolean gboolean
gst_vaapi_filter_set_saturation(GstVaapiFilter *filter, gfloat value); gst_vaapi_filter_set_saturation (GstVaapiFilter * filter, gfloat value);
gboolean gboolean
gst_vaapi_filter_set_brightness(GstVaapiFilter *filter, gfloat value); gst_vaapi_filter_set_brightness (GstVaapiFilter * filter, gfloat value);
gboolean gboolean
gst_vaapi_filter_set_contrast(GstVaapiFilter *filter, gfloat value); gst_vaapi_filter_set_contrast (GstVaapiFilter * filter, gfloat value);
gboolean gboolean
gst_vaapi_filter_set_deinterlacing(GstVaapiFilter *filter, gst_vaapi_filter_set_deinterlacing (GstVaapiFilter * filter,
GstVaapiDeinterlaceMethod method, guint flags); GstVaapiDeinterlaceMethod method, guint flags);
gboolean gboolean
gst_vaapi_filter_set_deinterlacing_references(GstVaapiFilter *filter, gst_vaapi_filter_set_deinterlacing_references (GstVaapiFilter * filter,
GstVaapiSurface **forward_references, guint num_forward_references, GstVaapiSurface ** forward_references, guint num_forward_references,
GstVaapiSurface **backward_references, guint num_backward_references); GstVaapiSurface ** backward_references, guint num_backward_references);
#endif /* GST_VAAPI_FILTER_H */ #endif /* GST_VAAPI_FILTER_H */