Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Initialize color_primaries to AVCOL_PRI_UNSPECIFIED if unspecified #15691
0 is AVCOL_PRI_RESERVED0 and will trigger color conversion in renderer which is unnecessary.
If initialized to AVCOL_PRI_UNSPECIFIED, renderer will try to guess color primaries and in most cases will not enable color coversion.
Motivation and Context
Improve inputstream.adaptive rendering performance. This PR reduces load on GPU when playing HD content.
How Has This Been Tested?
LibreELEC 8 on Amlogic S905 device. Confirmed that color conversion is not applied for 720p Netflix.
Screenshots (if appropriate):
Types of change