Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -141,15 +141,6 @@ enum { · 140 unmodified lines | |||
| 141 | 141 | ||
| 142 | // A.4.1: table A.1 allows at most 600 slice segments for any level. | 142 | // A.4.1: table A.1 allows at most 600 slice segments for any level. |
| 143 | EVC_MAX_SLICE_SEGMENTS = 600, | 143 | EVC_MAX_SLICE_SEGMENTS = 600, |
| 144 | |||
| 145 | // 7.4.7.1: in the worst case (tiles_enabled_flag and | ||
| 146 | // entropy_coding_sync_enabled_flag are both set), entry points can be | ||
| 147 | // placed at the beginning of every Ctb row in every tile, giving an | ||
| 148 | // upper bound of (num_tile_columns_minus1 + 1) * PicHeightInCtbsY - 1. | ||
| 149 | // Only a stream with very high resolution and perverse parameters could | ||
| 150 | // get near that, though, so set a lower limit here with the maximum | ||
| 151 | // possible value for 4K video (at most 135 16x16 Ctb rows). | ||
| 152 | HEVC_MAX_ENTRY_POINT_OFFSETS = EVC_MAX_TILE_COLUMNS * 135, | ||
| 153 | }; | 144 | }; |
| 154 | 145 | ||
| 155 | #endif // AVCODEC_EVC_H | 146 | #endif // AVCODEC_EVC_H |