Skip to content

dolby_vision: Support persisted state RPU parsing #149

@quietvoid

Description

@quietvoid

This is required for parsing compressed RPUs.
It probably would imply using a crate like once_cell, and setting it behind a feature.

So API users can choose to use the extra allocations to preserve the state.

Then, in vdr_dm_data_payload, that state can either be updated or fetched from to get the proper attributes.
For the DM data, the RPU is compressed when RpuDataHeader::reserved_zero_3bits is set to 1.

Todo:

  • Figure out what affected_dm_metadata_id and current_dm_metadata_id mean.
  • Use them to update the state or restore metadata from a previous RPU.
  • Find out how to handle RpuDataHeader::use_prev_vdr_rpu_flag

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions