• Home
  • Raw
  • Download

Lines Matching refs:point

231     struct bpp_point *point = (struct bpp_point*) malloc(sizeof(*point));  in bppPoint()  local
232 if (point == nullptr) { in bppPoint()
237 point->pixels = width * height; in bppPoint()
238 point->width = width; in bppPoint()
239 point->height = height; in bppPoint()
240 point->bpp = bpp; in bppPoint()
243 point->next = nullptr; in bppPoint()
244 mBppPoints = point; in bppPoint()
245 } else if (point->pixels < mBppPoints->pixels) { in bppPoint()
247 point->next = mBppPoints; in bppPoint()
248 mBppPoints = point; in bppPoint()
252 if (point->pixels > after->next->pixels) { in bppPoint()
258 point->next = after->next; in bppPoint()
259 after->next = point; in bppPoint()
264 point->next = nullptr; in bppPoint()
265 after->next = point; in bppPoint()
278 struct bpp_point *point = mBppPoints; in getBpp() local
279 while (point && point->pixels < pixels) { in getBpp()
280 point = point->next; in getBpp()
282 if (point) { in getBpp()
284 width, height, point->bpp, point->width, point->height); in getBpp()
285 return point->bpp; in getBpp()
349 struct qpmax_point *point = (struct qpmax_point*) malloc(sizeof(*point)); in qpMaxPoint() local
350 if (point == nullptr) { in qpMaxPoint()
355 point->pixels = width * height; in qpMaxPoint()
356 point->width = width; in qpMaxPoint()
357 point->height = height; in qpMaxPoint()
358 point->qpMax = qpMax; in qpMaxPoint()
361 point->next = nullptr; in qpMaxPoint()
362 mQpMaxPoints = point; in qpMaxPoint()
363 } else if (point->pixels < mQpMaxPoints->pixels) { in qpMaxPoint()
365 point->next = mQpMaxPoints; in qpMaxPoint()
366 mQpMaxPoints = point; in qpMaxPoint()
370 if (point->pixels > after->next->pixels) { in qpMaxPoint()
376 point->next = after->next; in qpMaxPoint()
377 after->next = point; in qpMaxPoint()
382 point->next = nullptr; in qpMaxPoint()
383 after->next = point; in qpMaxPoint()
396 struct qpmax_point *point = mQpMaxPoints; in targetQpMax() local
397 while (point && point->pixels < pixels) { in targetQpMax()
398 point = point->next; in targetQpMax()
400 if (point) { in targetQpMax()
402 width, height, point->qpMax, point->width, point->height); in targetQpMax()
403 return point->qpMax; in targetQpMax()