mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-17 06:11:17 +08:00
lavu: add video_hint API
Add side data type to provide hint to the video encoders about unchanged portions of each frame. Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:

committed by
Stefano Sabatini

parent
c0709706dd
commit
5012b4ab4c
@@ -214,6 +214,16 @@ enum AVFrameSideDataType {
|
||||
* Ambient viewing environment metadata, as defined by H.274.
|
||||
*/
|
||||
AV_FRAME_DATA_AMBIENT_VIEWING_ENVIRONMENT,
|
||||
|
||||
/**
|
||||
* Provide encoder-specific hinting information about changed/unchanged
|
||||
* portions of a frame. It can be used to pass information about which
|
||||
* macroblocks can be skipped because they didn't change from the
|
||||
* corresponding ones in the previous frame. This could be useful for
|
||||
* applications which know this information in advance to speed up
|
||||
* encoding.
|
||||
*/
|
||||
AV_FRAME_DATA_VIDEO_HINT,
|
||||
};
|
||||
|
||||
enum AVActiveFormatDescription {
|
||||
|
Reference in New Issue
Block a user