On Thu Dec 8 02:35:33 2022 +0000, Ziqing Hui wrote:
Zebediah says we can't simply add IYUV and RGB8 to wg_video_format. Then I think this method doesn't work because we need a wg_video_format to identify each type and convert it to subtype/bpp/compression. Also, we can't simply drop IYUV format in GetOutputType(). Because there is high possibility that an application use type index to enumerate each output formats. If one format fails, the enumration will stop, formats behind the failed format will be ignored.
I think maybe in the future, we chould add something like subtype_to_dmo_media_type(). I think other DMO will also need it.