comparison libvo/vo_gl2.c @ 6212:2001affedb75

query_format revised
author alex
date Mon, 27 May 2002 17:56:52 +0000
parents 891cff8aba60
children ce67cc1f0beb
comparison
equal deleted inserted replaced
6211:a59795bd14d0 6212:2001affedb75
1079 static uint32_t 1079 static uint32_t
1080 query_format(uint32_t format) 1080 query_format(uint32_t format)
1081 { 1081 {
1082 switch(format){ 1082 switch(format){
1083 case IMGFMT_YV12: 1083 case IMGFMT_YV12:
1084 return VFCAP_CSP_SUPPORTED;
1084 case IMGFMT_RGB|24: 1085 case IMGFMT_RGB|24:
1085 case IMGFMT_BGR|24: 1086 case IMGFMT_BGR|24:
1086 return 1; 1087 return VFCAP_CSP_SUPPORTED | VFCAP_CSP_SUPPORTED_BY_HW | VFCAP_OSD;
1087 } 1088 }
1088 return 0; 1089 return 0;
1089 } 1090 }
1090 1091
1091 1092