Lines Matching refs:dfDim
166 HwcTestDim dfDim = HwcTestDim(1, 1),
286 uint32_t scMinWidth(uint32_t format, const HwcTestDim& dfDim);
287 uint32_t scMinHeight(uint32_t format, const HwcTestDim& dfDim);
288 uint32_t scMaxWidth(uint32_t format, const HwcTestDim& dfDim);
289 uint32_t scMaxHeight(uint32_t format, const HwcTestDim& dfDim);
290 HwcTestDim scMinDim(uint32_t format, const HwcTestDim& dfDim);
291 HwcTestDim scMaxDim(uint32_t format, const HwcTestDim& dfDim);
909 uint32_t scMinWidth(uint32_t format, const HwcTestDim& dfDim) in scMinWidth() argument
915 for (w = 1; w <= dfDim.width(); w++) { in scMinWidth()
916 Rectangle rect(format, dfDim, HwcTestDim(w, dfDim.height())); in scMinWidth()
929 uint32_t scMinHeight(uint32_t format, const HwcTestDim& dfDim) in scMinHeight() argument
934 for (h = 1; h <= dfDim.height(); h++) { in scMinHeight()
935 Rectangle rect(format, dfDim, HwcTestDim(dfDim.width(), h)); in scMinHeight()
948 uint32_t scMaxWidth(uint32_t format, const HwcTestDim& dfDim) in scMaxWidth() argument
953 for (w = searchLimits.sourceCrop.width(); w >= dfDim.width(); w--) { in scMaxWidth()
954 Rectangle rect(format, dfDim, HwcTestDim(w, dfDim.height())); in scMaxWidth()
967 uint32_t scMaxHeight(uint32_t format, const HwcTestDim& dfDim) in scMaxHeight() argument
972 for (h = searchLimits.sourceCrop.height(); h >= dfDim.height(); h--) { in scMaxHeight()
973 Rectangle rect(format, dfDim, HwcTestDim(dfDim.width(), h)); in scMaxHeight()
991 HwcTestDim scMinDim(uint32_t format, const HwcTestDim& dfDim) in scMinDim() argument
1000 for (uint32_t w = 1; w <= dfDim.width(); w++) { in scMinDim()
1001 for (uint32_t h = 1; h <= dfDim.height(); h++) { in scMinDim()
1007 Rectangle rect(format, dfDim, HwcTestDim(w, h)); in scMinDim()
1032 HwcTestDim scMaxDim(uint32_t format, const HwcTestDim& dfDim) in scMaxDim() argument
1042 Rectangle rect(format, dfDim, searchLimits.sourceCrop); in scMaxDim()
1051 for (uint32_t w = dfDim.width(); in scMaxDim()
1053 for (uint32_t h = dfDim.height(); in scMaxDim()
1058 Rectangle rect(format, dfDim, dim); in scMaxDim()
1102 HwcTestDim scDim, dfDim; // Source crop and display frame dimension in scHScale() local
1116 dfDim = dfMin; in scHScale()
1142 dfDim = HwcTestDim(selected.denominator(), dfMin.height()); in scHScale()
1146 Rectangle rect(format, dfDim, scDim); in scHScale()
1153 num, (float) Rational(scDim.width(), dfDim.width()), in scHScale()
1154 ((string) dfDim).c_str(), ((string) scDim).c_str()); in scHScale()
1160 outBestDf = dfDim; in scHScale()
1165 if (firstPass) { return Rational(scDim.width(), dfDim.width()); } in scHScale()
1168 best = Rational(scDim.width(), dfDim.width()); in scHScale()
1172 minBad = Rational(scDim.width(), dfDim.width()); in scHScale()
1201 HwcTestDim scDim, dfDim; // Source crop and display frame dimension in scVScale() local
1215 dfDim = dfMin; in scVScale()
1241 dfDim = HwcTestDim(dfMin.width(), selected.denominator()); in scVScale()
1245 Rectangle rect(format, dfDim, scDim); in scVScale()
1252 num, (float) Rational(scDim.height(), dfDim.height()), in scVScale()
1253 ((string) dfDim).c_str(), ((string) scDim).c_str()); in scVScale()
1259 outBestDf = dfDim; in scVScale()
1264 if (firstPass) { return Rational(scDim.height(), dfDim.height()); } in scVScale()
1267 best = Rational(scDim.height(), dfDim.height()); in scVScale()
1271 minBad = Rational(scDim.height(), dfDim.height()); in scVScale()
1307 Rectangle::Rectangle(uint32_t graphicFormat, HwcTestDim dfDim, in Rectangle() argument
1311 sourceCrop(sDim), displayFrame(dfDim) in Rectangle()