摘要:        
直接对nv21的数据进行resize。 这是之前项目组遗留的一段代码改过来的。结果不太好。 void Scaler::Resize_NV(const Buffer *src, Buffer *dst){ // this function have some problem if (src->widt    阅读全文
        
            posted @ 2020-09-24 17:58
cyssmile
阅读(1213)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
首先自定义定义的结构 class Scaler { struct Buffer { uint32_t width, height; uint8_t *data[3]; uint32_t stride[3]; ColorFormat color; }; enum ColorFormat { YUV_I    阅读全文
        
            posted @ 2020-09-24 17:41
cyssmile
阅读(6495)
评论(0)
推荐(1)
        
        
                    
                
浙公网安备 33010602011771号