rgb to nv12
#include <iostream>#include <stdio.h>#include <stdlib.h>#include <string.h>#include<cmath> int Convert(char *input, char *output){ int h,v; unsigned char * buff_in; unsigned char *