The SW encoders currently support only encoding from YUV420 format. Any other format of input will need to be converted to YUV420, either internally or externally. PV's SW encoders use the colorconversion (CC) library to achieve this. If you need support for more formats, in a generic manner, you would need to add such conversion in the CC library.
BTW, since you seem to be having a conversion that is not currently supported by the CC library, would you be willing to contribute it the opencore project? -Ravi On Jul 20, 4:31 am, Jack <[email protected]> wrote: > Hi, I was working on a video recording application and I found that > the encode format supported by cupcake_r1 is limited, just 3: YUV420, > RGB12 & RGB24.Some common formats like YUV422 & RGB16 are not > supported. I had to convert the format before I post the frame to PV. > It a liitle troublesome. Will more encode formats be supported by > android in the future? Thank you very much! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-framework?hl=en -~----------~----~----~----~------~----~------~--~---
