GstVideoScale
Scale a video buffer
This library implements a scaling algorithm for video buffers.
the different scaling methods available.
@GST_VIDEOSCALE_POINT_SAMPLE: perform a point sample filter
@GST_VIDEOSCALE_NEAREST: use a nearest neighbor algorithm
@GST_VIDEOSCALE_BILINEAR: use a bilinear filter
@GST_VIDEOSCALE_BICUBIC: use a bicubic filter
@source_width:
@source_height:
@dest_width:
@dest_height:
@format:
@method:
@copy_row:
@temp:
@scale:
@scaler:
@filter:
the actual scaler implementation
@scale:
@src:
@dest:
Create a new video scaler
@sw: the width of the source bitmap
@sh: the height of the source bitmap
@dw: the width of the destination bitmap
@dh: the height of the destination bitmap
@format: the format of the source and destination bitmaps
@method: the filter method
@Returns: a new scaler
Perform the scale
@scaler: the scaler
@src: the source buffer
@dest: the destination buffer
Destroy the scaler
@scale: the scaler to destroy