Searched refs:tmp_row (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format.c | 635 uint8_t *tmp_row; in util_format_translate() local 637 tmp_stride = MAX2(width, x_step) * 4 * sizeof *tmp_row; in util_format_translate() 638 tmp_row = MALLOC(y_step * tmp_stride); in util_format_translate() 639 if (!tmp_row) in util_format_translate() 643 … src_format_desc->unpack_rgba_8unorm(tmp_row, tmp_stride, src_row, src_stride, width, y_step); in util_format_translate() 644 dst_format_desc->pack_rgba_8unorm(dst_row, dst_stride, tmp_row, tmp_stride, width, y_step); in util_format_translate() 652 … src_format_desc->unpack_rgba_8unorm(tmp_row, tmp_stride, src_row, src_stride, width, height); in util_format_translate() 653 dst_format_desc->pack_rgba_8unorm(dst_row, dst_stride, tmp_row, tmp_stride, width, height); in util_format_translate() 656 FREE(tmp_row); in util_format_translate() 660 float *tmp_row; in util_format_translate() local [all …]
|
/external/webp/src/enc/ |
D | delta_palettization.c | 396 uint8_t* const tmp_row = (uint8_t*)WebPSafeMalloc(width, sizeof(*tmp_row)); in ApplyDeltaPalette() local 397 if (new_image == NULL || tmp_row == NULL) { in ApplyDeltaPalette() 408 tmp_row[x] = FindBestPaletteEntry(cur_src[x], predicted_value, in ApplyDeltaPalette() 410 ApplyBestPaletteEntry(x, y, predicted_value, palette[tmp_row[x]], in ApplyDeltaPalette() 414 cur_dst[x] = palette[tmp_row[x]]; in ApplyDeltaPalette() 422 WebPSafeFree(tmp_row); in ApplyDeltaPalette()
|
D | vp8l.c | 1215 uint8_t* const tmp_row = (uint8_t*)WebPSafeMalloc(width, sizeof(*tmp_row)); in ApplyPalette() local 1219 if (tmp_row == NULL) return VP8_ENC_ERROR_OUT_OF_MEMORY; in ApplyPalette() 1236 tmp_row[x] = inv_palette[color]; in ApplyPalette() 1238 VP8LBundleColorMap(tmp_row, width, xbits, dst); in ApplyPalette() 1248 src, tmp_row, width); in ApplyPalette() 1249 VP8LBundleColorMap(tmp_row, width, xbits, dst); in ApplyPalette() 1254 WebPSafeFree(tmp_row); in ApplyPalette()
|