Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AV1 color space parsing in MP4 atom parser #692

Merged
merged 9 commits into from
Nov 2, 2023

Commits on Nov 2, 2023

  1. Add AV1 color space parsing in MP4 atom parser

    This adds av1C parsing based on the AV1 bitstream specification: https://aomediacodec.github.io/av1-spec/av1-spec.pdf
    
    This is needed to have correct color space when using hardware AV1 decoder.
    haixia-meta authored and microkatz committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    4ded7e5 View commit details
    Browse the repository at this point in the history
  2. Address review comments on Av1BitstreamParser

    * Rename method f(n) to a more helpful name.
    * Move the private inner class to the bottom.
    * Move public fields before private fields but below the static field.
    * Make `private ParsableByteArray data` final.
    * Make sure `parseSequenceHeader` can only be called once.
    Haixia Shi authored and microkatz committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    f455e84 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9180790 View commit details
    Browse the repository at this point in the history
  4. Add a unit test to Mp4ExtractorTest with a small av1 sample with colo…

    …r info.
    Haixia Shi authored and microkatz committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    834664b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5a70bbf View commit details
    Browse the repository at this point in the history
  6. Fix unit test problems with sample_with_av1c.mp4

    Haixia Shi authored and microkatz committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    258f45f View commit details
    Browse the repository at this point in the history
  7. Use a shorter test file

    Haixia Shi authored and microkatz committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    5bca9d8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9d43cda View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    dc53028 View commit details
    Browse the repository at this point in the history