Could you please try same example with VLC Media Player and try linux OS also?
I tried vlc player ,the orientation is correct. while amcap and e-cam viewer are both incorrect.
The interesting thing is that I tried another microsoft uvc camera, the orientation are all correct (vlc ,amcap, e-cam viewer).
ps. I don't have linux to try.
I still don't know why the first line become the last line.
The output from the DSP is standard RGB 888 signals. the orientation is correct when connected to HDMI (using sil9022 chip, it does not contain flip/mirror function) and many other LCD panels.
It happens only when the format is RGB output.
if I cheat it as yuv, the orientation is correct. (same source, just change uvc descriptor to YUV).