Home
last modified time | relevance | path

Searched refs:f_old (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_formats.cpp1103 static bool comparable_components(const format_info_t * const f_old, in comparable_components() argument
1106 if (f_old->is_yuv && f_new->bps == f_old->bps) in comparable_components()
1109 if (f_new->total_components() == f_old->total_components()) in comparable_components()
1118 if (f_old->has_alpha) in comparable_components()
1128 else if (f_old->is_rgb) in comparable_components()
1130 if (f_new->total_components() == f_old->total_components()) in comparable_components()
1132 if (f_new->bpp[0] == f_old->bpp[0] && f_new->bps == f_old->bps) in comparable_components()
1140 if (f_new->id == f_old->id) in comparable_components()
1160 static bool is_format_compatible(const format_info_t * const f_old, in is_format_compatible() argument
1163 if (f_new->hsub == f_old->hsub && in is_format_compatible()
[all …]
/hardware/google/gchips/gralloc3/src/
Dmali_gralloc_formats.cpp1261 static bool comparable_components(const format_info_t * const f_old, in comparable_components() argument
1264 if (f_old->is_yuv) in comparable_components()
1267 if (f_new->ncmp == f_old->ncmp) in comparable_components()
1276 if (f_old->has_alpha) in comparable_components()
1286 else if (f_old->is_rgb) in comparable_components()
1288 if (f_new->ncmp == f_old->ncmp && in comparable_components()
1289 f_new->bpp[0] == f_old->bpp[0]) in comparable_components()
1296 if (f_new->id == f_old->id) in comparable_components()
1316 static bool is_format_compatible(const format_info_t * const f_old, in is_format_compatible() argument
1319 if (f_new->bps == f_old->bps && in is_format_compatible()
[all …]