Skip to content

fix(services): preserve H.264 input orientation - #179

Merged
shark0F0497 merged 1 commit into
main-v2from
fix/stereo-split-h264-orientation
Aug 8, 2026
Merged

fix(services): preserve H.264 input orientation#179
shark0F0497 merged 1 commit into
main-v2from
fix/stereo-split-h264-orientation

Conversation

@shark0F0497

Copy link
Copy Markdown
Collaborator

Summary

  • Preserve the existing orientation of stereo eyes decoded from H.264 input.
  • Keep the existing 180-degree rotation for JPEG input.
  • Add end-to-end pixel-orientation regression coverage for both eyes and both codecs.

Motivation

H.264 captures already have their final orientation. Applying the JPEG hflip and vflip filters to those frames incorrectly rotates both eyes by 180 degrees.

Changes

  • Select the encoder orientation filter from the detected input codec.
  • Use crop-only processing for H.264 input.
  • Retain crop, hflip, and vflip processing for JPEG input.
  • Keep the converter and Orbit invocation interfaces unchanged.

Type of Change

  • Bug fix
  • Test changes

Testing

  • Stereo-split test suite: 37 tests passed
  • Python compile check passed
  • Git diff whitespace check passed

Command: python -m unittest discover -s jobs/stereo-split/tests -p test_*.py -v

Impact Analysis

No external interface or manifest change. H.264 output orientation is intentionally corrected; JPEG behavior remains backward compatible.

Documentation

  • No documentation changes needed

@shark0F0497
shark0F0497 merged commit ec86154 into main-v2 Aug 8, 2026
4 checks passed
@shark0F0497
shark0F0497 deleted the fix/stereo-split-h264-orientation branch August 8, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant