rockchip-linux / mpp

Media Process Platform (MPP) module
596 stars 172 forks source link

Does the JPEG encoder on rk3576 support RGB formats? #687

Closed nyanmisaka closed 1 month ago

nyanmisaka commented 1 month ago

Does the JPEG encoder on rk3576 support RGB formats?

For the HAL (vpu720), it seems like it is not supported or not implemented yet. https://github.com/rockchip-linux/mpp/blob/05b809393c41120c81fbdb39356b01c92aa77907/mpp/hal/rkenc/jpege/hal_jpege_vpu720.c#L232-L313

HermanChen commented 1 month ago

yes, the jpeg encoder on rk3576 is a costdown standalone version. The color conversion preprocess is almost the same size as the jpeg encoder. So IC remove the color conversion module before jpeg encoder.

nyanmisaka commented 1 month ago

Thx for the info.