Home
last modified time | relevance | path

Searched refs:rescaler (Results 1 – 8 of 8) 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.c139 int WebPRescalerExport(WebPRescaler* const rescaler) { in WebPRescalerExport() argument
141 while (WebPRescalerHasPendingOutput(rescaler)) { in WebPRescalerExport()
142 WebPRescalerExportRow(rescaler); in WebPRescalerExport()
/external/webp/src/dec/
Dvp8l_dec.c548 const uint64_t memory_size = sizeof(*dec->rescaler) + in AllocateAndInitRescaler()
559 dec->rescaler = (WebPRescaler*)memory; in AllocateAndInitRescaler()
560 memory += sizeof(*dec->rescaler); in AllocateAndInitRescaler()
565 WebPRescalerInit(dec->rescaler, in_width, in_height, (uint8_t*)scaled_data, in AllocateAndInitRescaler()
577 static int Export(WebPRescaler* const rescaler, WEBP_CSP_MODE colorspace, in Export() argument
579 uint32_t* const src = (uint32_t*)rescaler->dst; in Export()
580 const int dst_width = rescaler->dst_width; in Export()
582 while (WebPRescalerHasPendingOutput(rescaler)) { in Export()
584 WebPRescalerExportRow(rescaler); in Export()
603 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.c173 WebPRescaler rescaler; in RescalePlane() local
175 WebPRescalerInit(&rescaler, src_width, src_height, in RescalePlane()
179 y += WebPRescalerImport(&rescaler, src_height - y, in RescalePlane()
181 WebPRescalerExport(&rescaler); in RescalePlane()
/external/webp/
DAndroid.bp169 "src/dsp/rescaler.c",
/external/skqp/third_party/libwebp/
DBUILD.gn117 "../externals/libwebp/src/dsp/rescaler.c",
/external/skia/third_party/libwebp/
DBUILD.gn117 "../externals/libwebp/src/dsp/rescaler.c",