avcodec/packet: add a decoded frame cropping side data type
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
		
							parent
							
								
									0619138639
								
							
						
					
					
						commit
						1b58f3af30
					
				| @ -2,6 +2,9 @@ The last version increases of all libraries were on 2024-03-07 | ||||
| 
 | ||||
| API changes, most recent first: | ||||
| 
 | ||||
| 2024-07-08 - xxxxxxxxxx - lavc 61.10.100 - packet.h | ||||
|   Add AV_PKT_DATA_FRAME_CROPPING. | ||||
| 
 | ||||
| 2024-07-07 - xxxxxxxxxx - lavf 61.5.100 - avformat.h | ||||
|   Add AV_DISPOSITION_MULTILAYER | ||||
| 
 | ||||
|  | ||||
| @ -305,6 +305,7 @@ const char *av_packet_side_data_name(enum AVPacketSideDataType type) | ||||
|     case AV_PKT_DATA_IAMF_MIX_GAIN_PARAM:        return "IAMF Mix Gain Parameter Data"; | ||||
|     case AV_PKT_DATA_IAMF_DEMIXING_INFO_PARAM:   return "IAMF Demixing Info Parameter Data"; | ||||
|     case AV_PKT_DATA_IAMF_RECON_GAIN_INFO_PARAM: return "IAMF Recon Gain Info Parameter Data"; | ||||
|     case AV_PKT_DATA_FRAME_CROPPING:             return "Frame Cropping"; | ||||
|     } | ||||
|     return NULL; | ||||
| } | ||||
|  | ||||
| @ -326,6 +326,19 @@ enum AVPacketSideDataType { | ||||
|     */ | ||||
|     AV_PKT_DATA_AMBIENT_VIEWING_ENVIRONMENT, | ||||
| 
 | ||||
|     /**
 | ||||
|      * The number of pixels to discard from the top/bottom/left/right border of the | ||||
|      * decoded frame to obtain the sub-rectangle intended for presentation. | ||||
|      * | ||||
|      * @code | ||||
|      * u32le crop_top | ||||
|      * u32le crop_bottom | ||||
|      * u32le crop_left | ||||
|      * u32le crop_right | ||||
|      * @endcode | ||||
|      */ | ||||
|     AV_PKT_DATA_FRAME_CROPPING, | ||||
| 
 | ||||
|     /**
 | ||||
|      * The number of side data types. | ||||
|      * This is not part of the public API/ABI in the sense that it may | ||||
|  | ||||
| @ -29,7 +29,7 @@ | ||||
| 
 | ||||
| #include "version_major.h" | ||||
| 
 | ||||
| #define LIBAVCODEC_VERSION_MINOR   9 | ||||
| #define LIBAVCODEC_VERSION_MINOR  10 | ||||
| #define LIBAVCODEC_VERSION_MICRO 100 | ||||
| 
 | ||||
| #define LIBAVCODEC_VERSION_INT  AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user