Home
last modified time | relevance | path

Searched refs:HALVE (Results 1 – 3 of 3) sorted by relevance

/external/webp/src/enc/
Dpicture_rescale_enc.c21 #define HALVE(x) (((x) + 1) >> 1) macro
66 HALVE(dst->width), HALVE(dst->height)); in WebPPictureCopy()
68 HALVE(dst->width), HALVE(dst->height)); in WebPPictureCopy()
140 tmp.u, tmp.uv_stride, HALVE(width), HALVE(height)); in WebPPictureCrop()
142 tmp.v, tmp.uv_stride, HALVE(width), HALVE(height)); in WebPPictureCrop()
233 HALVE(prev_width), HALVE(prev_height), pic->uv_stride, in WebPPictureRescale()
235 HALVE(width), HALVE(height), tmp.uv_stride, work, 1); in WebPPictureRescale()
237 HALVE(prev_width), HALVE(prev_height), pic->uv_stride, in WebPPictureRescale()
239 HALVE(width), HALVE(height), tmp.uv_stride, work, 1); in WebPPictureRescale()
/external/libvorbis/lib/
Dmdct.h39 #define HALVE(x) ((x)>>1) macro
51 #define HALVE(x) ((x)*.5f) macro
Dmdct.c366 r0 = HALVE(x0[1] + x1[1]); in mdct_bitreverse()
367 r1 = HALVE(x0[0] - x1[0]); in mdct_bitreverse()
382 r0 = HALVE(x0[1] + x1[1]); in mdct_bitreverse()
383 r1 = HALVE(x0[0] - x1[0]); in mdct_bitreverse()