| 6 |
| diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h |
| 7 | --- a/libavcodec/golomb.h (revision a77521cd5d27e955b16e8097eecefc779ffdcb6d) |
| 8 | +++ b/libavcodec/golomb.h (date 1647179346628) |
| 9 | @@ -33,7 +33,6 @@ |
| 10 | #include <stdint.h> |
| 11 |
| 12 | #include "get_bits.h" |
| 13 | -#include "put_bits.h" |
| 14 |
| 15 | #define INVALID_VLC 0x80000000 |
| 16 |
| 17 | @@ -422,144 +421,6 @@ |
| 18 | #endif |
| 19 | } |
| 20 |
| 21 | -/** |
| 22 | - * read unsigned golomb rice code (jpegls). |
| 23 | - */ |
| 24 | -static inline int get_ur_golomb_jpegls(GetBitContext *gb, int k, int limit, |
| 25 | - int esc_len) |
| 26 | -{ |
| 27 | - unsigned int buf; |
| 28 | - int log; |
| 29 | - |
| 30 | -#if CACHED_BITSTREAM_READER |
| 31 | - buf = show_bits_long(gb, 32); |
| 32 | - |
| 33 | - log = av_log2(buf); |
| 34 | - |
| 35 | - if (log - k >= 1 && 32 - log < limit) { |
| 36 | - buf >>= log - k; |
| 37 | - buf += (30 - log) << k; |
| 38 | - skip_bits_long(gb, 32 + k - log); |
| 39 | - |
| 40 | - return buf; |
| 41 | - } else { |
| 42 | - int i; |
| 43 | - for (i = 0; |
| 44 | - i < limit && get_bits1(gb) == 0 && get_bits_left(gb) > 0; |
| 45 | - i++); |
| 46 | - |
| 47 | - if (i < limit - 1) { |
| 48 | - buf = get_bits_long(gb, k); |
| 49 | - |
| 50 | - return buf + (i << k); |
| 51 | - } else if (i == limit - 1) { |
| 52 | - buf = get_bits_long(gb, esc_len); |
| 53 | - |
| 54 | - return buf + 1; |
| 55 | - } else |
| 56 | - return -1; |
| 57 | - } |
| 58 | -#else |
| 59 | - OPEN_READER(re, gb); |
| 60 | - UPDATE_CACHE(re, gb); |
| 61 | - buf = GET_CACHE(re, gb); |
| 62 | - |
| 63 | - log = av_log2(buf); |
| 64 | - |
| 65 | - av_assert2(k <= 31); |
| 66 | - |
| 67 | - if (log - k >= 32 - MIN_CACHE_BITS + (MIN_CACHE_BITS == 32) && |
| 68 | - 32 - log < limit) { |
| 69 | - buf >>= log - k; |
| 70 | - buf += (30U - log) << k; |
| 71 | - LAST_SKIP_BITS(re, gb, 32 + k - log); |
| 72 | - CLOSE_READER(re, gb); |
| 73 | - |
| 74 | - return buf; |
| 75 | - } else { |
| 76 | - int i; |
| 77 | - for (i = 0; i + MIN_CACHE_BITS <= limit && SHOW_UBITS(re, gb, MIN_CACHE_BITS) == 0; i += MIN_CACHE_BITS) { |
| 78 | - if (gb->size_in_bits <= re_index) { |
| 79 | - CLOSE_READER(re, gb); |
| 80 | - return -1; |
| 81 | - } |
| 82 | - LAST_SKIP_BITS(re, gb, MIN_CACHE_BITS); |
| 83 | - UPDATE_CACHE(re, gb); |
| 84 | - } |
| 85 | - for (; i < limit && SHOW_UBITS(re, gb, 1) == 0; i++) { |
| 86 | - SKIP_BITS(re, gb, 1); |
| 87 | - } |
| 88 | - LAST_SKIP_BITS(re, gb, 1); |
| 89 | - UPDATE_CACHE(re, gb); |
| 90 | - |
| 91 | - if (i < limit - 1) { |
| 92 | - if (k) { |
| 93 | - if (k > MIN_CACHE_BITS - 1) { |
| 94 | - buf = SHOW_UBITS(re, gb, 16) << (k-16); |
| 95 | - LAST_SKIP_BITS(re, gb, 16); |
| 96 | - UPDATE_CACHE(re, gb); |
| 97 | - buf |= SHOW_UBITS(re, gb, k-16); |
| 98 | - LAST_SKIP_BITS(re, gb, k-16); |
| 99 | - } else { |
| 100 | - buf = SHOW_UBITS(re, gb, k); |
| 101 | - LAST_SKIP_BITS(re, gb, k); |
| 102 | - } |
| 103 | - } else { |
| 104 | - buf = 0; |
| 105 | - } |
| 106 | - |
| 107 | - buf += ((SUINT)i << k); |
| 108 | - } else if (i == limit - 1) { |
| 109 | - buf = SHOW_UBITS(re, gb, esc_len); |
| 110 | - LAST_SKIP_BITS(re, gb, esc_len); |
| 111 | - |
| 112 | - buf ++; |
| 113 | - } else { |
| 114 | - buf = -1; |
| 115 | - } |
| 116 | - CLOSE_READER(re, gb); |
| 117 | - return buf; |
| 118 | - } |
| 119 | -#endif |
| 120 | -} |
| 121 | - |
| 122 | -/** |
| 123 | - * read signed golomb rice code (ffv1). |
| 124 | - */ |
| 125 | -static inline int get_sr_golomb(GetBitContext *gb, int k, int limit, |
| 126 | - int esc_len) |
| 127 | -{ |
| 128 | - unsigned v = get_ur_golomb(gb, k, limit, esc_len); |
| 129 | - return (v >> 1) ^ -(v & 1); |
| 130 | -} |
| 131 | - |
| 132 | -/** |
| 133 | - * read signed golomb rice code (flac). |
| 134 | - */ |
| 135 | -static inline int get_sr_golomb_flac(GetBitContext *gb, int k, int limit, |
| 136 | - int esc_len) |
| 137 | -{ |
| 138 | - unsigned v = get_ur_golomb_jpegls(gb, k, limit, esc_len); |
| 139 | - return (v >> 1) ^ -(v & 1); |
| 140 | -} |
| 141 | - |
| 142 | -/** |
| 143 | - * read unsigned golomb rice code (shorten). |
| 144 | - */ |
| 145 | -static inline unsigned int get_ur_golomb_shorten(GetBitContext *gb, int k) |
| 146 | -{ |
| 147 | - return get_ur_golomb_jpegls(gb, k, INT_MAX, 0); |
| 148 | -} |
| 149 | - |
| 150 | -/** |
| 151 | - * read signed golomb rice code (shorten). |
| 152 | - */ |
| 153 | -static inline int get_sr_golomb_shorten(GetBitContext *gb, int k) |
| 154 | -{ |
| 155 | - int uvar = get_ur_golomb_jpegls(gb, k + 1, INT_MAX, 0); |
| 156 | - return (uvar >> 1) ^ -(uvar & 1); |
| 157 | -} |
| 158 | - |
| 159 | #ifdef TRACE |
| 160 |
| 161 | static inline int get_ue(GetBitContext *s, const char *file, const char *func, |
| 162 | @@ -614,134 +475,4 @@ |
| 163 |
| 164 | #endif /* TRACE */ |
| 165 |
| 166 | -/** |
| 167 | - * write unsigned exp golomb code. 2^16 - 2 at most |
| 168 | - */ |
| 169 | -static inline void set_ue_golomb(PutBitContext *pb, int i) |
| 170 | -{ |
| 171 | - av_assert2(i >= 0); |
| 172 | - av_assert2(i <= 0xFFFE); |
| 173 | - |
| 174 | - if (i < 256) |
| 175 | - put_bits(pb, ff_ue_golomb_len[i], i + 1); |
| 176 | - else { |
| 177 | - int e = av_log2(i + 1); |
| 178 | - put_bits(pb, 2 * e + 1, i + 1); |
| 179 | - } |
| 180 | -} |
| 181 | - |
| 182 | -/** |
| 183 | - * write unsigned exp golomb code. 2^32-2 at most. |
| 184 | - */ |
| 185 | -static inline void set_ue_golomb_long(PutBitContext *pb, uint32_t i) |
| 186 | -{ |
| 187 | - av_assert2(i <= (UINT32_MAX - 1)); |
| 188 | - |
| 189 | - if (i < 256) |
| 190 | - put_bits(pb, ff_ue_golomb_len[i], i + 1); |
| 191 | - else { |
| 192 | - int e = av_log2(i + 1); |
| 193 | - put_bits64(pb, 2 * e + 1, i + 1); |
| 194 | - } |
| 195 | -} |
| 196 | - |
| 197 | -/** |
| 198 | - * write truncated unsigned exp golomb code. |
| 199 | - */ |
| 200 | -static inline void set_te_golomb(PutBitContext *pb, int i, int range) |
| 201 | -{ |
| 202 | - av_assert2(range >= 1); |
| 203 | - av_assert2(i <= range); |
| 204 | - |
| 205 | - if (range == 2) |
| 206 | - put_bits(pb, 1, i ^ 1); |
| 207 | - else |
| 208 | - set_ue_golomb(pb, i); |
| 209 | -} |
| 210 | - |
| 211 | -/** |
| 212 | - * write signed exp golomb code. 16 bits at most. |
| 213 | - */ |
| 214 | -static inline void set_se_golomb(PutBitContext *pb, int i) |
| 215 | -{ |
| 216 | - i = 2 * i - 1; |
| 217 | - if (i < 0) |
| 218 | - i ^= -1; //FIXME check if gcc does the right thing |
| 219 | - set_ue_golomb(pb, i); |
| 220 | -} |
| 221 | - |
| 222 | -/** |
| 223 | - * write unsigned golomb rice code (ffv1). |
| 224 | - */ |
| 225 | -static inline void set_ur_golomb(PutBitContext *pb, int i, int k, int limit, |
| 226 | - int esc_len) |
| 227 | -{ |
| 228 | - int e; |
| 229 | - |
| 230 | - av_assert2(i >= 0); |
| 231 | - |
| 232 | - e = i >> k; |
| 233 | - if (e < limit) |
| 234 | - put_bits(pb, e + k + 1, (1 << k) + av_mod_uintp2(i, k)); |
| 235 | - else |
| 236 | - put_bits(pb, limit + esc_len, i - limit + 1); |
| 237 | -} |
| 238 | - |
| 239 | -/** |
| 240 | - * write unsigned golomb rice code (jpegls). |
| 241 | - */ |
| 242 | -static inline void set_ur_golomb_jpegls(PutBitContext *pb, int i, int k, |
| 243 | - int limit, int esc_len) |
| 244 | -{ |
| 245 | - int e; |
| 246 | - |
| 247 | - av_assert2(i >= 0); |
| 248 | - |
| 249 | - e = (i >> k) + 1; |
| 250 | - if (e < limit) { |
| 251 | - while (e > 31) { |
| 252 | - put_bits(pb, 31, 0); |
| 253 | - e -= 31; |
| 254 | - } |
| 255 | - put_bits(pb, e, 1); |
| 256 | - if (k) |
| 257 | - put_sbits(pb, k, i); |
| 258 | - } else { |
| 259 | - while (limit > 31) { |
| 260 | - put_bits(pb, 31, 0); |
| 261 | - limit -= 31; |
| 262 | - } |
| 263 | - put_bits(pb, limit, 1); |
| 264 | - put_bits(pb, esc_len, i - 1); |
| 265 | - } |
| 266 | -} |
| 267 | - |
| 268 | -/** |
| 269 | - * write signed golomb rice code (ffv1). |
| 270 | - */ |
| 271 | -static inline void set_sr_golomb(PutBitContext *pb, int i, int k, int limit, |
| 272 | - int esc_len) |
| 273 | -{ |
| 274 | - int v; |
| 275 | - |
| 276 | - v = -2 * i - 1; |
| 277 | - v ^= (v >> 31); |
| 278 | - |
| 279 | - set_ur_golomb(pb, v, k, limit, esc_len); |
| 280 | -} |
| 281 | - |
| 282 | -/** |
| 283 | - * write signed golomb rice code (flac). |
| 284 | - */ |
| 285 | -static inline void set_sr_golomb_flac(PutBitContext *pb, int i, int k, |
| 286 | - int limit, int esc_len) |
| 287 | -{ |
| 288 | - int v; |
| 289 | - |
| 290 | - v = -2 * i - 1; |
| 291 | - v ^= (v >> 31); |
| 292 | - |
| 293 | - set_ur_golomb_jpegls(pb, v, k, limit, esc_len); |
| 294 | -} |
| 295 | - |
| 296 | #endif /* AVCODEC_GOLOMB_H */ |
| 297 | Index: libavcodec/get_bits.h |
| 298 | IDEA additional info: |
| 299 | Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP |
| 300 | <+>UTF-8 |
| 301 | =================================================================== |
| 302 | diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h |
| 303 | --- a/libavcodec/get_bits.h (revision a77521cd5d27e955b16e8097eecefc779ffdcb6d) |
| 304 | +++ b/libavcodec/get_bits.h (date 1647179363911) |
| 305 | @@ -29,13 +29,9 @@ |
| 306 |
| 307 | #include <stdint.h> |
| 308 |
| 309 | -#include "libavutil/common.h" |
| 310 | -#include "libavutil/intreadwrite.h" |
| 311 | -#include "libavutil/log.h" |
| 312 | -#include "libavutil/avassert.h" |
| 313 | -#include "avcodec.h" |
| 314 | -#include "mathops.h" |
| 315 | -#include "vlc.h" |
| 316 | +#ifndef NEG_USR32 |
| 317 | +# define NEG_USR32(a,s) (((uint32_t)(a))>>(32-(s))) |
| 318 | +#endif |
| 319 |
| 320 | /* |
| 321 | * Safe bitstream reading: |
| 322 | @@ -312,73 +308,13 @@ |
| 323 | s->bits_left -= n; |
| 324 | } |
| 325 | #endif |
| 326 | - |
| 327 | -/** |
| 328 | - * Read MPEG-1 dc-style VLC (sign bit + mantissa with no MSB). |
| 329 | - * if MSB not set it is negative |
| 330 | - * @param n length in bits |
| 331 | - */ |
| 332 | -static inline int get_xbits(GetBitContext *s, int n) |
| 333 | -{ |
| 334 | -#if CACHED_BITSTREAM_READER |
| 335 | - int32_t cache = show_bits(s, 32); |
| 336 | - int sign = ~cache >> 31; |
| 337 | - skip_remaining(s, n); |
| 338 | - |
| 339 | - return ((((uint32_t)(sign ^ cache)) >> (32 - n)) ^ sign) - sign; |
| 340 | -#else |
| 341 | - register int sign; |
| 342 | - register int32_t cache; |
| 343 | - OPEN_READER(re, s); |
| 344 | - av_assert2(n>0 && n<=25); |
| 345 | - UPDATE_CACHE(re, s); |
| 346 | - cache = GET_CACHE(re, s); |
| 347 | - sign = ~cache >> 31; |
| 348 | - LAST_SKIP_BITS(re, s, n); |
| 349 | - CLOSE_READER(re, s); |
| 350 | - return (NEG_USR32(sign ^ cache, n) ^ sign) - sign; |
| 351 | -#endif |
| 352 | -} |
| 353 | - |
| 354 | -#if !CACHED_BITSTREAM_READER |
| 355 | -static inline int get_xbits_le(GetBitContext *s, int n) |
| 356 | -{ |
| 357 | - register int sign; |
| 358 | - register int32_t cache; |
| 359 | - OPEN_READER(re, s); |
| 360 | - av_assert2(n>0 && n<=25); |
| 361 | - UPDATE_CACHE_LE(re, s); |
| 362 | - cache = GET_CACHE(re, s); |
| 363 | - sign = sign_extend(~cache, n) >> 31; |
| 364 | - LAST_SKIP_BITS(re, s, n); |
| 365 | - CLOSE_READER(re, s); |
| 366 | - return (zero_extend(sign ^ cache, n) ^ sign) - sign; |
| 367 | -} |
| 368 | -#endif |
| 369 | - |
| 370 | -static inline int get_sbits(GetBitContext *s, int n) |
| 371 | -{ |
| 372 | - register int tmp; |
| 373 | -#if CACHED_BITSTREAM_READER |
| 374 | - av_assert2(n>0 && n<=25); |
| 375 | - tmp = sign_extend(get_bits(s, n), n); |
| 376 | -#else |
| 377 | - OPEN_READER(re, s); |
| 378 | - av_assert2(n>0 && n<=25); |
| 379 | - UPDATE_CACHE(re, s); |
| 380 | - tmp = SHOW_SBITS(re, s, n); |
| 381 | - LAST_SKIP_BITS(re, s, n); |
| 382 | - CLOSE_READER(re, s); |
| 383 | -#endif |
| 384 | - return tmp; |
| 385 | -} |
| 386 |
| 387 | /** |
| 388 | * Read 1-25 bits. |
| 389 | */ |
| 390 | static inline unsigned int get_bits(GetBitContext *s, int n) |
| 391 | { |
| 392 | - register unsigned int tmp; |
| 393 | + unsigned int tmp; |
| 394 | #if CACHED_BITSTREAM_READER |
| 395 |
| 396 | av_assert2(n>0 && n<=32); |
| 397 | @@ -409,61 +345,6 @@ |
| 398 | return tmp; |
| 399 | } |
| 400 |
| 401 | -/** |
| 402 | - * Read 0-25 bits. |
| 403 | - */ |
| 404 | -static av_always_inline int get_bitsz(GetBitContext *s, int n) |
| 405 | -{ |
| 406 | - return n ? get_bits(s, n) : 0; |
| 407 | -} |
| 408 | - |
| 409 | -static inline unsigned int get_bits_le(GetBitContext *s, int n) |
| 410 | -{ |
| 411 | -#if CACHED_BITSTREAM_READER |
| 412 | - av_assert2(n>0 && n<=32); |
| 413 | - if (n > s->bits_left) { |
| 414 | - refill_32(s, 1); |
| 415 | - if (s->bits_left < 32) |
| 416 | - s->bits_left = n; |
| 417 | - } |
| 418 | - |
| 419 | - return get_val(s, n, 1); |
| 420 | -#else |
| 421 | - register int tmp; |
| 422 | - OPEN_READER(re, s); |
| 423 | - av_assert2(n>0 && n<=25); |
| 424 | - UPDATE_CACHE_LE(re, s); |
| 425 | - tmp = SHOW_UBITS_LE(re, s, n); |
| 426 | - LAST_SKIP_BITS(re, s, n); |
| 427 | - CLOSE_READER(re, s); |
| 428 | - return tmp; |
| 429 | -#endif |
| 430 | -} |
| 431 | - |
| 432 | -/** |
| 433 | - * Show 1-25 bits. |
| 434 | - */ |
| 435 | -static inline unsigned int show_bits(GetBitContext *s, int n) |
| 436 | -{ |
| 437 | - register unsigned int tmp; |
| 438 | -#if CACHED_BITSTREAM_READER |
| 439 | - if (n > s->bits_left) |
| 440 | -#ifdef BITSTREAM_READER_LE |
| 441 | - refill_32(s, 1); |
| 442 | -#else |
| 443 | - refill_32(s, 0); |
| 444 | -#endif |
| 445 | - |
| 446 | - tmp = show_val(s, n); |
| 447 | -#else |
| 448 | - OPEN_READER_NOSIZE(re, s); |
| 449 | - av_assert2(n>0 && n<=25); |
| 450 | - UPDATE_CACHE(re, s); |
| 451 | - tmp = SHOW_UBITS(re, s, n); |
| 452 | -#endif |
| 453 | - return tmp; |
| 454 | -} |
| 455 | - |
| 456 | static inline void skip_bits(GetBitContext *s, int n) |
| 457 | { |
| 458 | #if CACHED_BITSTREAM_READER |
| 459 | @@ -530,11 +411,6 @@ |
| 460 | #endif |
| 461 | } |
| 462 |
| 463 | -static inline unsigned int show_bits1(GetBitContext *s) |
| 464 | -{ |
| 465 | - return show_bits(s, 1); |
| 466 | -} |
| 467 | - |
| 468 | static inline void skip_bits1(GetBitContext *s) |
| 469 | { |
| 470 | skip_bits(s, 1); |
| 471 | @@ -584,31 +460,6 @@ |
| 472 | } |
| 473 | } |
| 474 |
| 475 | -/** |
| 476 | - * Read 0-32 bits as a signed integer. |
| 477 | - */ |
| 478 | -static inline int get_sbits_long(GetBitContext *s, int n) |
| 479 | -{ |
| 480 | - // sign_extend(x, 0) is undefined |
| 481 | - if (!n) |
| 482 | - return 0; |
| 483 | - |
| 484 | - return sign_extend(get_bits_long(s, n), n); |
| 485 | -} |
| 486 | - |
| 487 | -/** |
| 488 | - * Show 0-32 bits. |
| 489 | - */ |
| 490 | -static inline unsigned int show_bits_long(GetBitContext *s, int n) |
| 491 | -{ |
| 492 | - if (n <= MIN_CACHE_BITS) { |
| 493 | - return show_bits(s, n); |
| 494 | - } else { |
| 495 | - GetBitContext gb = *s; |
| 496 | - return get_bits_long(&gb, n); |
| 497 | - } |
| 498 | -} |
| 499 | - |
| 500 | static inline int check_marker(void *logctx, GetBitContext *s, const char *msg) |
| 501 | { |
| 502 | int bit = get_bits1(s); |
| 503 | @@ -772,62 +623,6 @@ |
| 504 | SKIP_BITS(name, gb, n); \ |
| 505 | } while (0) |
| 506 |
| 507 | -/* Return the LUT element for the given bitstream configuration. */ |
| 508 | -static inline int set_idx(GetBitContext *s, int code, int *n, int *nb_bits, |
| 509 | - VLC_TYPE (*table)[2]) |
| 510 | -{ |
| 511 | - unsigned idx; |
| 512 | - |
| 513 | - *nb_bits = -*n; |
| 514 | - idx = show_bits(s, *nb_bits) + code; |
| 515 | - *n = table[idx][1]; |
| 516 | - |
| 517 | - return table[idx][0]; |
| 518 | -} |
| 519 | - |
| 520 | -/** |
| 521 | - * Parse a vlc code. |
| 522 | - * @param bits is the number of bits which will be read at once, must be |
| 523 | - * identical to nb_bits in init_vlc() |
| 524 | - * @param max_depth is the number of times bits bits must be read to completely |
| 525 | - * read the longest vlc code |
| 526 | - * = (max_vlc_length + bits - 1) / bits |
| 527 | - * @returns the code parsed or -1 if no vlc matches |
| 528 | - */ |
| 529 | -static av_always_inline int get_vlc2(GetBitContext *s, VLC_TYPE (*table)[2], |
| 530 | - int bits, int max_depth) |
| 531 | -{ |
| 532 | -#if CACHED_BITSTREAM_READER |
| 533 | - int nb_bits; |
| 534 | - unsigned idx = show_bits(s, bits); |
| 535 | - int code = table[idx][0]; |
| 536 | - int n = table[idx][1]; |
| 537 | - |
| 538 | - if (max_depth > 1 && n < 0) { |
| 539 | - skip_remaining(s, bits); |
| 540 | - code = set_idx(s, code, &n, &nb_bits, table); |
| 541 | - if (max_depth > 2 && n < 0) { |
| 542 | - skip_remaining(s, nb_bits); |
| 543 | - code = set_idx(s, code, &n, &nb_bits, table); |
| 544 | - } |
| 545 | - } |
| 546 | - skip_remaining(s, n); |
| 547 | - |
| 548 | - return code; |
| 549 | -#else |
| 550 | - int code; |
| 551 | - |
| 552 | - OPEN_READER(re, s); |
| 553 | - UPDATE_CACHE(re, s); |
| 554 | - |
| 555 | - GET_VLC(code, re, s, table, bits, max_depth); |
| 556 | - |
| 557 | - CLOSE_READER(re, s); |
| 558 | - |
| 559 | - return code; |
| 560 | -#endif |
| 561 | -} |
| 562 | - |
| 563 | static inline int decode012(GetBitContext *gb) |
| 564 | { |
| 565 | int n; |
| 566 | @@ -865,4 +660,14 @@ |
| 567 | return 0; |
| 568 | } |
| 569 |
| 570 | +static inline unsigned int show_bits_long(GetBitContext *s, int n) |
| 571 | +{ |
| 572 | + if (n <= MIN_CACHE_BITS) { |
| 573 | + return show_bits(s, n); |
| 574 | + } else { |
| 575 | + GetBitContext gb = *s; |
| 576 | + return get_bits_long(&gb, n); |
| 577 | + } |
| 578 | +} |
| 579 | + |
| 580 | #endif /* AVCODEC_GET_BITS_H */ |
| 581 |