Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A aom-rav1e
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xiph.Org
  • aom-rav1e
  • Repository
Switch branch/tag
  • aom-rav1e
  • av1
  • common
  • blockd.h
Find file BlameHistoryPermalink
  • Urvang Joshi's avatar
    enums.h: Combine related #defines into packed enums. · cb586f3b
    Urvang Joshi authored Sep 20, 2016
    enums for BLOCK_SIZE, TX_SIZE and PREDICTION_MODE.
    
    Note: These were converted to #defines earlier to save on memory:
    https://chromium-review.googlesource.com/#/c/269854/
    
    But we, instead, use attribute 'packed' (see here:
    https://gcc.gnu.org/onlinedocs/gcc/Common-Type-Attributes.html#Common-Type-Attributes)
    to ensure that these enums use the smallest possible integer type,
    and so use smallest memory when used in structs/arrays etc.
    
    Change-Id: If1fc136686b28847109c9f3a06f8728165e7e475
    cb586f3b

Replace blockd.h

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.