Scales a buffer containing RGBA (or AYUV) video.
This is an internal helper function which is used to scale subtitle overlays, and may be deprecated in the near future. Use Scaler to scale video buffers instead.
| src |
the Info describing the video data in |
| src_buffer |
the source buffer containing video pixels to scale |
| dest_height |
the height in pixels to scale the video data in |
| dest_width |
the width in pixels to scale the video data in |
| dest |
pointer to a Info structure that will be filled in with the details for |
| dest_buffer |
a pointer to a Buffer variable, which will be set to a newly-allocated buffer containing the scaled pixels. |