摘要:
直接对nv21的数据进行resize。 这是之前项目组遗留的一段代码改过来的。结果不太好。 void Scaler::Resize_NV(const Buffer *src, Buffer *dst){ // this function have some problem if (src->widt 阅读全文
摘要:
首先自定义定义的结构 class Scaler { struct Buffer { uint32_t width, height; uint8_t *data[3]; uint32_t stride[3]; ColorFormat color; }; enum ColorFormat { YUV_I 阅读全文