camera/fourcc.c
const char* vidFourccToString(fourcc_t code){
  const char *res=0;
  int i=0;
	
  //	for ( i=0;i<fourcc_table_size;i++){
  while (fourcc_table[i].code!=0){	
    if (fourcc_table[i].code == code){
      res = fourcc_table[i].name;
      break; 	
    }
    i++;
  } 
	
  return res;	
}
/**
 *  @Return A string of the given code's name or null if it is unknown.
 */
@Return A string of the given code's name or null if it is unknown.
@Return A string of the given code ' s name or null if it is unknown .
const char* vidFourccToString(fourcc_t code){
  const char *res=0;
  int i=0;
  while (fourcc_table[i].code!=0){	
    if (fourcc_table[i].code == code){
      res = fourcc_table[i].name;
      break; 	
    }
    i++;
  } 
  return res;	
}
const char * vidFourccToString ( fourcc_t code ) { const char * res = 0 ; int i = 0 ; while ( fourcc_table [ i ] . code != 0 ) { if ( fourcc_table [ i ] . code == code ) { res = fourcc_table [ i ] . name ; break ; } i ++ ; } return res ; }
@Return A string of the given code's name or null if it is unknown.
@Return A string of the given code ' s name or null if it is unknown .
//	for ( i=0;i<fourcc_table_size;i++){