Lines Matching refs:cr_stats
933 void HWCLayer::GetUBWCStatsFromMetaData(UBWCStats *cr_stats, UbwcCrStatsVector *cr_vec) { in GetUBWCStatsFromMetaData() argument
936 if (cr_stats->bDataValid) { in GetUBWCStatsFromMetaData()
937 switch (cr_stats->version) { in GetUBWCStatsFromMetaData()
941 cr_vec->push_back(std::make_pair(32, cr_stats->ubwc_stats.nCRStatsTile32)); in GetUBWCStatsFromMetaData()
942 cr_vec->push_back(std::make_pair(64, cr_stats->ubwc_stats.nCRStatsTile64)); in GetUBWCStatsFromMetaData()
943 cr_vec->push_back(std::make_pair(96, cr_stats->ubwc_stats.nCRStatsTile96)); in GetUBWCStatsFromMetaData()
944 cr_vec->push_back(std::make_pair(128, cr_stats->ubwc_stats.nCRStatsTile128)); in GetUBWCStatsFromMetaData()
945 cr_vec->push_back(std::make_pair(160, cr_stats->ubwc_stats.nCRStatsTile160)); in GetUBWCStatsFromMetaData()
946 cr_vec->push_back(std::make_pair(192, cr_stats->ubwc_stats.nCRStatsTile192)); in GetUBWCStatsFromMetaData()
947 cr_vec->push_back(std::make_pair(256, cr_stats->ubwc_stats.nCRStatsTile256)); in GetUBWCStatsFromMetaData()
950 DLOGW("Invalid UBWC Version %d", cr_stats->version); in GetUBWCStatsFromMetaData()
989 struct UBWCStats cr_stats[NUM_UBWC_CR_STATS_LAYERS] = {}; in SetMetaData() local
995 if (getMetaData(handle, GET_UBWC_CR_STATS_INFO, cr_stats) == 0) { in SetMetaData()
997 GetUBWCStatsFromMetaData(&cr_stats[0], &(layer_buffer->ubwc_crstats[0])); in SetMetaData()