src/fmtc/Matrix.cpp
void	Matrix::select_def_mat (std::string &mat, const ::VSFormat &fmt)
{
	if (mat.empty ())
	{
		switch (fmt.colorFamily)
		{
		case	::cmYUV:
			mat = "601";
			break;

		case	::cmYCoCg:
			mat = "ycgco";
			break;

		case	::cmGray:   // Should not happen actually
		case	::cmRGB:
		case	::cmCompat:
		default:
			// Nothing
			break;
		}
	}
}
// Everything should be lower case at this point
Everything should be lower case at this point
Everything should be lower case at this point
void	Matrix::select_def_mat (std::string &mat, const ::VSFormat &fmt)
{
	if (mat.empty ())
	{
		switch (fmt.colorFamily)
		{
		case	::cmYUV:
			mat = "601";
			break;
		case	::cmYCoCg:
			mat = "ycgco";
			break;
		case	::cmGray:   
		case	::cmRGB:
		case	::cmCompat:
		default:
			break;
		}
	}
}
void Matrix :: select_def_mat ( std :: string & mat , const :: VSFormat & fmt ) { if ( mat . empty ( ) ) { switch ( fmt . colorFamily ) { case :: cmYUV : mat = " " ; break ; case :: cmYCoCg : mat = " " ; break ; case :: cmGray : case :: cmRGB : case :: cmCompat : default : break ; } } }
Everything should be lower case at this point
Everything should be lower case at this point
// Should not happen actually // Nothing