| @@ -1055,6 +1055,14 @@ static int cbs_h265_read_nal_unit(CodedBitstreamContext *ctx, · 1054 unmodified lines |
| 1055 | } | 1055 | } |
| 1056 | break; | 1056 | break; |
| 1057 | | 1057 | |
| | 1058 | case HEVC_NAL_FD_NUT: |
| | 1059 | { |
| | 1060 | err = cbs_h265_read_filler(ctx, &gbc, unit->content); |
| | 1061 | if (err < 0) |
| | 1062 | return err; |
| | 1063 | } |
| | 1064 | break; |
| | 1065 | |
| 1058 | case HEVC_NAL_SEI_PREFIX: | 1066 | case HEVC_NAL_SEI_PREFIX: |
| 1059 | case HEVC_NAL_SEI_SUFFIX: | 1067 | case HEVC_NAL_SEI_SUFFIX: |
| 1060 | { | 1068 | { |
| @@ -1497,6 +1505,14 @@ static int cbs_h265_write_nal_unit(CodedBitstreamContext *ctx, · 436 unmodified lines |
| 1497 | } | 1505 | } |
| 1498 | break; | 1506 | break; |
| 1499 | | 1507 | |
| | 1508 | case HEVC_NAL_FD_NUT: |
| | 1509 | { |
| | 1510 | err = cbs_h265_write_filler(ctx, pbc, unit->content); |
| | 1511 | if (err < 0) |
| | 1512 | return err; |
| | 1513 | } |
| | 1514 | break; |
| | 1515 | |
| 1500 | case HEVC_NAL_SEI_PREFIX: | 1516 | case HEVC_NAL_SEI_PREFIX: |
| 1501 | case HEVC_NAL_SEI_SUFFIX: | 1517 | case HEVC_NAL_SEI_SUFFIX: |
| 1502 | { | 1518 | { |
| @@ -2006,6 +2022,7 @@ static const CodedBitstreamUnitTypeDescriptor cbs_h265_unit_types[] = { · 503 unmodified lines |
| 2006 | CBS_UNIT_TYPE_INTERNAL_REF(HEVC_NAL_PPS, H265RawPPS, extension_data.data), | 2022 | CBS_UNIT_TYPE_INTERNAL_REF(HEVC_NAL_PPS, H265RawPPS, extension_data.data), |
| 2007 | | 2023 | |
| 2008 | CBS_UNIT_TYPE_POD(HEVC_NAL_AUD, H265RawAUD), | 2024 | CBS_UNIT_TYPE_POD(HEVC_NAL_AUD, H265RawAUD), |
| | 2025 | CBS_UNIT_TYPE_POD(HEVC_NAL_FD_NUT, H265RawFiller), |
| 2009 | | 2026 | |
| 2010 | // Slices of non-IRAP pictures. | 2027 | // Slices of non-IRAP pictures. |
| 2011 | CBS_UNIT_RANGE_INTERNAL_REF(HEVC_NAL_TRAIL_N, HEVC_NAL_RASL_R, | 2028 | CBS_UNIT_RANGE_INTERNAL_REF(HEVC_NAL_TRAIL_N, HEVC_NAL_RASL_R, |