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

Ignore rowLock and columnLock values as specified by ANSI/CTA-708-E S… #942

Merged
merged 5 commits into from
Jan 9, 2024

Conversation

datdoantelus
Copy link
Contributor

ANSI CTA-708-E S-2023 specification indicates that row and column lock values should be ignored in DefineWindow command and decoders should assume rows and columns are locked.

8.4.7 Window Row and Column Locking
Prior to CEA-708-D, parameters row lock (rl) and column lock (cl) in the DefineWindow (DFx) command were used for control of window row and column locking, providing alternatives in growing and shrinking caption windows. This standard specifies a single method for window growing and shrinking, and in Section 8.10.5.2 these parameters are reserved. Future versions of this standard may allow use of these parameters, but decoders compliant with the present version of CEA-708 shall ignore the values, and assume rows and columns are locked. Future versions of this standard may allow the optional decoder implementation of windows with unlocked rows and columns, and may use these syntax elements.

The change is to make Cea708Parser follow the specification.

Copy link
Collaborator

@icbaker icbaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR - can you please add a test case to Cea708ParserTest to demonstrate that even if row/column locking is disabled the rows are still assumed to be locked?

@icbaker
Copy link
Collaborator

icbaker commented Jan 3, 2024

I'm going to send this for internal review now. You may see some more commits being added as I make changes in response to review feedback. Please refrain from pushing any more substantive changes as it will complicate the internal review - thanks!

Also add a release note and simplify the test by removing the garbage
prefix and suffix.
@copybara-service copybara-service bot merged commit 6f82491 into androidx:main Jan 9, 2024
1 check passed
@androidx androidx locked and limited conversation to collaborators Mar 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants