Home
last modified time | relevance | path

Searched refs:rescaler (Results 1 – 7 of 7) sorted by relevance

/external/webp/src/utils/
Drescaler_utils.h50 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()
Drescaler_utils.c137 int WebPRescalerExport(WebPRescaler* const rescaler) { in WebPRescalerExport() argument
139 while (WebPRescalerHasPendingOutput(rescaler)) { in WebPRescalerExport()
140 WebPRescalerExportRow(rescaler); in WebPRescalerExport()
/external/webp/src/dec/
Dvp8l_dec.c498 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 …]
Dvp8li_dec.h90 WebPRescaler *rescaler; // Common rescaler for all channels. member
/external/webp/src/enc/
Dpicture_rescale_enc.c169 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/
DAndroid.bp142 "dsp/rescaler.c",
/external/skia/third_party/libwebp/
DBUILD.gn94 "../externals/libwebp/src/dsp/rescaler.c",