diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-09 23:57:20 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-09 23:57:20 +0200 |
commit | c67690f854452df397f3f735d0ff107a3fe51d87 (patch) | |
tree | 2bd4414d0a72eb3eb8cbf70d426039a475254e9d /libavutil/display.h | |
parent | e8a966e361a7512ecfb03073074c8b9084229e69 (diff) | |
parent | a54f03bf07da964a1b04b03b85bc39deba76efa4 (diff) | |
download | ffmpeg-c67690f854452df397f3f735d0ff107a3fe51d87.tar.gz |
Merge commit 'a54f03bf07da964a1b04b03b85bc39deba76efa4'
* commit 'a54f03bf07da964a1b04b03b85bc39deba76efa4':
display: add matrix flip api
Conflicts:
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/display.h')
-rw-r--r-- | libavutil/display.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libavutil/display.h b/libavutil/display.h index 7a338d7c64..2cb930dde1 100644 --- a/libavutil/display.h +++ b/libavutil/display.h @@ -74,4 +74,13 @@ double av_display_rotation_get(const int32_t matrix[9]); */ void av_display_rotation_set(int32_t matrix[9], double angle); +/** + * Flip the input matrix horizontally and/or vertically. + * + * @param matrix an allocated transformation matrix + * @param hflip whether the matrix should be flipped horizontally + * @param vflip whether the matrix should be flipped vertically + */ +void av_display_matrix_flip(int32_t matrix[9], int hflip, int vflip); + #endif /* AVUTIL_DISPLAY_H */ |