You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
1.9KB

  1. /*
  2. * This file is part of FFmpeg.
  3. *
  4. * FFmpeg is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Lesser General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2.1 of the License, or (at your option) any later version.
  8. *
  9. * FFmpeg is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public
  15. * License along with FFmpeg; if not, write to the Free Software
  16. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. */
  18. #ifndef AVCODEC_CBS_SEI_H
  19. #define AVCODEC_CBS_SEI_H
  20. #include <stddef.h>
  21. #include <stdint.h>
  22. #include "libavutil/buffer.h"
  23. typedef struct SEIRawUserDataRegistered {
  24. uint8_t itu_t_t35_country_code;
  25. uint8_t itu_t_t35_country_code_extension_byte;
  26. uint8_t *data;
  27. AVBufferRef *data_ref;
  28. size_t data_length;
  29. } SEIRawUserDataRegistered;
  30. typedef struct SEIRawUserDataUnregistered {
  31. uint8_t uuid_iso_iec_11578[16];
  32. uint8_t *data;
  33. AVBufferRef *data_ref;
  34. size_t data_length;
  35. } SEIRawUserDataUnregistered;
  36. typedef struct SEIRawMasteringDisplayColourVolume {
  37. uint16_t display_primaries_x[3];
  38. uint16_t display_primaries_y[3];
  39. uint16_t white_point_x;
  40. uint16_t white_point_y;
  41. uint32_t max_display_mastering_luminance;
  42. uint32_t min_display_mastering_luminance;
  43. } SEIRawMasteringDisplayColourVolume;
  44. typedef struct SEIRawContentLightLevelInfo {
  45. uint16_t max_content_light_level;
  46. uint16_t max_pic_average_light_level;
  47. } SEIRawContentLightLevelInfo;
  48. typedef struct SEIRawAlternativeTransferCharacteristics {
  49. uint8_t preferred_transfer_characteristics;
  50. } SEIRawAlternativeTransferCharacteristics;
  51. #endif /* AVCODEC_CBS_SEI_H */