Yes,I sent YUV420 format to PV encoder, and I did used the cupcake_r1
colorconversion
(CC) library to achieve this. My hardware can post the YUV422 format
frame and I luckily find that there is a
file named CCYUV422toYUV420. I instantiate a new object and use its
convert() function to do the conversion.
So I don't have my own conversion that is not suppported by the CC
library.
Thank you very much.

On 7月20日, 下午9时22分, RaviY <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to