| 307 | |
| 308 | |
| 309 | typedef struct FFMS_Frame { |
| 310 | const uint8_t *Data[4]; |
| 311 | int Linesize[4]; |
| 312 | int EncodedWidth; |
| 313 | int EncodedHeight; |
| 314 | int EncodedPixelFormat; |
| 315 | int ScaledWidth; |
| 316 | int ScaledHeight; |
| 317 | int ConvertedPixelFormat; |
| 318 | int KeyFrame; |
| 319 | int RepeatPict; |
| 320 | int InterlacedFrame; |
| 321 | int TopFieldFirst; |
| 322 | char PictType; |
| 323 | int ColorSpace; |
| 324 | int ColorRange; |
| 325 | /* Introduced in FFMS_VERSION ((2 << 24) | (21 << 16) | (0 << 8) | 0) */ |
| 326 | int ColorPrimaries; |
| 327 | int TransferCharateristics; |
| 328 | int ChromaLocation; |
| 329 | /* Introduced in FFMS_VERSION ((2 << 24) | (27 << 16) | (0 << 8) | 0) */ |
| 330 | int HasMasteringDisplayPrimaries; /* Non-zero if the 4 fields below are valid */ |
| 331 | double MasteringDisplayPrimariesX[3]; |
| 332 | double MasteringDisplayPrimariesY[3]; |
| 333 | double MasteringDisplayWhitePointX; |
| 334 | double MasteringDisplayWhitePointY; |
| 335 | int HasMasteringDisplayLuminance; /* Non-zero if the 2 fields below are valid */ |
| 336 | double MasteringDisplayMinLuminance; |
| 337 | double MasteringDisplayMaxLuminance; |
| 338 | int HasContentLightLevel; /* Non-zero if the 2 fields below are valid */ |
| 339 | unsigned int ContentLightLevelMax; |
| 340 | unsigned int ContentLightLevelAverage; |
| 341 | /* Introduced in FFMS_VERSION ((3 << 24) | (0 << 16) | (1 << 8) | 0) */ |
| 342 | uint8_t *DolbyVisionRPU; |
| 343 | int DolbyVisionRPUSize; |
| 344 | /* Introduced in FFMS_VERSION ((3 << 24) | (1 << 16) | (1 << 8) | 0) */ |
| 345 | uint8_t *HDR10Plus; |
| 346 | int HDR10PlusSize; |
| 347 | } FFMS_Frame; |
| 348 | |
| 349 | typedef struct FFMS_TrackTimeBase { |
| 350 | int64_t Num; |
nothing calls this directly
no outgoing calls
no test coverage detected