From: Wang Yaqiang
The angle is calculated by the get_rotation function,
but it needs to be combined with the displaymatrix to determine whether flip or
rotate,
which is consistent with the processing logic in ffmpeg_filter.c
Signed-off-by: Wang Yaqiang
---
fftools/ffplay.c | 16 -
From: Wang Yaqiang
when the source material contains the icc profile,
the AVFrame have side_data with type AV_FRAME_DATA_ICC_PROFILE,
write the ICCP chunk make sure the colors are displayed correctly.
Signed-off-by: Wang Yaqiang
---
libavcodec/libwebpenc_animencoder.c | 39
From: Wang Yaqiang
svg is xml, but
---
libavformat/img2dec.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index 5a63d7c81d..3488600400 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -964,8 +964,13 @
From: Wang Yaqiang
svg is xml, but
---
libavformat/img2dec.c | 10 ++
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index 5a63d7c81d..448a574b59 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -25,6 +25,7 @@
From: Wang Yaqiang
In some videos, SPS will be stored before VPS in hvcC box,
parse SPS does not depend on VPS, so the video is expected to be processed
normally.
Added "parsed_vps" parameter to indicate whether VPS have been parsed.
Only VPS have been parsed can be verified during SPS parsing.
From: Wang Yaqiang
In some videos, SPS will be stored before VPS in hvcC box,
parse SPS does not depend on VPS, so the video is expected to be processed
normally.
Added "parsed_vps" parameter to indicate whether VPS have been parsed.
Only VPS have been parsed can be verified during SPS parsing.
From: Wang Yaqiang
For example, if the jpeg contains exif information
and the rotation direction is included in the exif,
the displaymatrix will be set on the side_data of the frame when decoding.
However, when ffplay is used to play the image,
only the side data in the stream will be determined.