Searched refs:GET_CHAN (Results 1 – 1 of 1) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | rpzaenc.c | 68 #define GET_CHAN(color, chan) (((color) >> ((chan) * 5) & 0x1F) * 8) macro 69 #define R(color) GET_CHAN(color, RED) 70 #define G(color) GET_CHAN(color, GREEN) 71 #define B(color) GET_CHAN(color, BLUE) 281 x = GET_CHAN(block_ptr[j], xchannel); in leastsquares() 282 y = GET_CHAN(block_ptr[j], ychannel); in leastsquares() 329 x = GET_CHAN(block_ptr[j], xchannel); in calc_lsq_max_fit_error() 330 y = GET_CHAN(block_ptr[j], ychannel); in calc_lsq_max_fit_error() 366 dithered_color[channel] = GET_CHAN(color[0], channel); in match_color() 713 min_color[i] = GET_CHAN(src_pixels[block_offset], i); in rpza_encode_stream() [all …]
|