asm-offsets.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*****************************************************************************
  2. * asm-offsets.h: asm offsets for aarch64
  3. *****************************************************************************
  4. * Copyright (C) 2014-2018 x264 project
  5. *
  6. * Authors: Janne Grunau <janne-x264@jannau.net>
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.
  21. *
  22. * This program is also available under a commercial proprietary license.
  23. * For more information, contact us at licensing@x264.com.
  24. *****************************************************************************/
  25. #ifndef X264_AARCH64_ASM_OFFSETS_H
  26. #define X264_AARCH64_ASM_OFFSETS_H
  27. #define CABAC_I_LOW 0x00
  28. #define CABAC_I_RANGE 0x04
  29. #define CABAC_I_QUEUE 0x08
  30. #define CABAC_I_BYTES_OUTSTANDING 0x0c
  31. #define CABAC_P_START 0x10
  32. #define CABAC_P 0x18
  33. #define CABAC_P_END 0x20
  34. #define CABAC_F8_BITS_ENCODED 0x30
  35. #define CABAC_STATE 0x34
  36. #endif