Searched refs:rescaler (Results 1 – 7 of 7) sorted by relevance
/external/webp/src/utils/ |
D | rescaler_utils.h | 50 void WebPRescalerInit(WebPRescaler* const rescaler, 67 int WebPRescaleNeededLines(const WebPRescaler* const rescaler, 72 int WebPRescalerImport(WebPRescaler* const rescaler, int num_rows, 76 int WebPRescalerExport(WebPRescaler* const rescaler); 80 int WebPRescalerInputDone(const WebPRescaler* const rescaler) { in WebPRescalerInputDone() argument 81 return (rescaler->src_y >= rescaler->src_height); in WebPRescalerInputDone() 85 int WebPRescalerOutputDone(const WebPRescaler* const rescaler) { in WebPRescalerOutputDone() argument 86 return (rescaler->dst_y >= rescaler->dst_height); in WebPRescalerOutputDone() 91 int WebPRescalerHasPendingOutput(const WebPRescaler* const rescaler) { in WebPRescalerHasPendingOutput() argument 92 return !WebPRescalerOutputDone(rescaler) && (rescaler->y_accum <= 0); in WebPRescalerHasPendingOutput()
|
D | rescaler_utils.c | 137 int WebPRescalerExport(WebPRescaler* const rescaler) { in WebPRescalerExport() argument 139 while (WebPRescalerHasPendingOutput(rescaler)) { in WebPRescalerExport() 140 WebPRescalerExportRow(rescaler); in WebPRescalerExport()
|
/external/webp/src/dec/ |
D | vp8l_dec.c | 498 const uint64_t memory_size = sizeof(*dec->rescaler) + in AllocateAndInitRescaler() 509 dec->rescaler = (WebPRescaler*)memory; in AllocateAndInitRescaler() 510 memory += sizeof(*dec->rescaler); in AllocateAndInitRescaler() 515 WebPRescalerInit(dec->rescaler, in_width, in_height, (uint8_t*)scaled_data, in AllocateAndInitRescaler() 524 static int Export(WebPRescaler* const rescaler, WEBP_CSP_MODE colorspace, in Export() argument 526 uint32_t* const src = (uint32_t*)rescaler->dst; in Export() 527 const int dst_width = rescaler->dst_width; in Export() 529 while (WebPRescalerHasPendingOutput(rescaler)) { in Export() 531 WebPRescalerExportRow(rescaler); in Export() 550 const int needed_lines = WebPRescaleNeededLines(dec->rescaler, lines_left); in EmitRescaledRowsRGBA() [all …]
|
D | vp8li_dec.h | 90 WebPRescaler *rescaler; // Common rescaler for all channels. member
|
/external/webp/src/enc/ |
D | picture_rescale_enc.c | 169 WebPRescaler rescaler; in RescalePlane() local 171 WebPRescalerInit(&rescaler, src_width, src_height, in RescalePlane() 175 y += WebPRescalerImport(&rescaler, src_height - y, in RescalePlane() 177 WebPRescalerExport(&rescaler); in RescalePlane()
|
/external/webp/src/ |
D | Android.bp | 142 "dsp/rescaler.c",
|
/external/skia/third_party/libwebp/ |
D | BUILD.gn | 94 "../externals/libwebp/src/dsp/rescaler.c",
|