摘要:
void crop_yuv420_sp(unsigned char *srcbuf, int src_width, int src_height, unsigned char *dstbuf, int x, int y, int w, int h) { int i; int dst_y_size = 阅读全文
摘要:
// 将 NV12 转换为 BGR void nv12ToBgr(const unsigned char* yuvData, int width, int height, Mat& bgrImage) { // 计算每个平面的大小 int ySize = width * height; int uv 阅读全文