You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
lavfi/transform.h: apply misc doxy cosmetical changes
This commit is contained in:
@@ -60,44 +60,40 @@ enum FillMethod {
|
|||||||
*
|
*
|
||||||
* [ zoom * cos(angle), -sin(angle), x_shift,
|
* [ zoom * cos(angle), -sin(angle), x_shift,
|
||||||
* sin(angle), zoom * cos(angle), y_shift,
|
* sin(angle), zoom * cos(angle), y_shift,
|
||||||
0, 0, 1 ]
|
* 0, 0, 1 ]
|
||||||
*
|
*
|
||||||
* Paramters:
|
* @param x_shift horizontal translation
|
||||||
* x_shift: Horizontal translation
|
* @param y_shift vertical translation
|
||||||
* y_shift: Vertical translation
|
* @param angle rotation in radians
|
||||||
* angle: Rotation in radians
|
* @param zoom scale percent (1.0 = 100%)
|
||||||
* zoom: Scale percent (1.0 = 100%)
|
* @param matrix 9-item affine transformation matrix
|
||||||
* matrix: 9-item affine transformation matrix
|
|
||||||
*/
|
*/
|
||||||
void avfilter_get_matrix(float x_shift, float y_shift, float angle, float zoom, float *matrix);
|
void avfilter_get_matrix(float x_shift, float y_shift, float angle, float zoom, float *matrix);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add two matrices together. result = m1 + m2.
|
* Add two matrices together. result = m1 + m2.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* @param m1 9-item transformation matrix
|
||||||
* m1: 9-item transformation matrix
|
* @param m2 9-item transformation matrix
|
||||||
* m2: 9-item transformation matrix
|
* @param result 9-item transformation matrix
|
||||||
* result: 9-item transformation matrix
|
|
||||||
*/
|
*/
|
||||||
void avfilter_add_matrix(const float *m1, const float *m2, float *result);
|
void avfilter_add_matrix(const float *m1, const float *m2, float *result);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Subtract one matrix from another. result = m1 - m2.
|
* Subtract one matrix from another. result = m1 - m2.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* @param m1 9-item transformation matrix
|
||||||
* m1: 9-item transformation matrix
|
* @param m2 9-item transformation matrix
|
||||||
* m2: 9-item transformation matrix
|
* @param result 9-item transformation matrix
|
||||||
* result: 9-item transformation matrix
|
|
||||||
*/
|
*/
|
||||||
void avfilter_sub_matrix(const float *m1, const float *m2, float *result);
|
void avfilter_sub_matrix(const float *m1, const float *m2, float *result);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Multiply a matrix by a scalar value. result = m1 * scalar.
|
* Multiply a matrix by a scalar value. result = m1 * scalar.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* @param m1 9-item transformation matrix
|
||||||
* m1: 9-item transformation matrix
|
* @param scalar a number
|
||||||
* scalar: A number
|
* @param result 9-item transformation matrix
|
||||||
* result: 9-item transformation matrix
|
|
||||||
*/
|
*/
|
||||||
void avfilter_mul_matrix(const float *m1, float scalar, float *result);
|
void avfilter_mul_matrix(const float *m1, float scalar, float *result);
|
||||||
|
|
||||||
@@ -106,16 +102,15 @@ void avfilter_mul_matrix(const float *m1, float scalar, float *result);
|
|||||||
* multiplies each vector [x,y,1] by the matrix and then interpolates to
|
* multiplies each vector [x,y,1] by the matrix and then interpolates to
|
||||||
* get the final value.
|
* get the final value.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* @param src source image
|
||||||
* src: Source image
|
* @param dst destination image
|
||||||
* dst: Destination image
|
* @param src_stride source image line size in bytes
|
||||||
* src_stride: Source image line size in bytes
|
* @param dst_stride destination image line size in bytes
|
||||||
* dst_stride: Destination image line size in bytes
|
* @param width image width in pixels
|
||||||
* width: Image width in pixels
|
* @param height image height in pixels
|
||||||
* height: Image height in pixels
|
* @param matrix 9-item affine transformation matrix
|
||||||
* matrix: 9-item affine transformation matrix
|
* @param interpolate pixel interpolation method
|
||||||
* interpolate: Pixel interpolation method
|
* @param fill edge fill method
|
||||||
* fill: Edge fill method
|
|
||||||
*/
|
*/
|
||||||
void avfilter_transform(const uint8_t *src, uint8_t *dst,
|
void avfilter_transform(const uint8_t *src, uint8_t *dst,
|
||||||
int src_stride, int dst_stride,
|
int src_stride, int dst_stride,
|
||||||
|
Reference in New Issue
Block a user