Home | History | Annotate | Download | only in include
      1 /*
      2 // Copyright(c)2014 IntelCorporation
      3 //
      4 // LicensedundertheApacheLicense,Version2.0(the"License");
      5 // youmaynotusethisfileexceptincompliancewiththeLicense.
      6 // YoumayobtainacopyoftheLicenseat
      7 //
      8 // http://www.apache.org/licenses/LICENSE-2.0
      9 //
     10 // Unlessrequiredbyapplicablelaworagreedtoinwriting,software
     11 // distributedundertheLicenseisdistributedonan"ASIS"BASIS,
     12 // WITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressorimplied.
     13 // SeetheLicenseforthespecificlanguagegoverningpermissionsand
     14 // limitationsundertheLicense.
     15 */
     16 #ifndef DISPLAY_QUERY_H
     17 #define DISPLAY_QUERY_H
     18 
     19 namespace android {
     20 namespace intel {
     21 
     22 class DisplayQuery
     23 {
     24 public:
     25     static bool isVideoFormat(uint32_t format);
     26     static int  getOverlayLumaStrideAlignment(uint32_t format);
     27     static uint32_t queryNV12Format();
     28     static bool forceFbScaling(int device);
     29 };
     30 
     31 } // namespace intel
     32 } // namespace android
     33 
     34 #endif /*DISPLAY_QUERY_H*/
     35