Lines Matching refs:block_ptr
195 static void get_max_component_diff(BlockInfo *bi, uint16_t *block_ptr, in get_max_component_diff() argument
210 min_r = FFMIN(R(block_ptr[x]), min_r); in get_max_component_diff()
211 min_g = FFMIN(G(block_ptr[x]), min_g); in get_max_component_diff()
212 min_b = FFMIN(B(block_ptr[x]), min_b); in get_max_component_diff()
214 max_r = FFMAX(R(block_ptr[x]), max_r); in get_max_component_diff()
215 max_g = FFMAX(G(block_ptr[x]), max_g); in get_max_component_diff()
216 max_b = FFMAX(B(block_ptr[x]), max_b); in get_max_component_diff()
218 block_ptr += bi->rowstride; in get_max_component_diff()
265 static int leastsquares(uint16_t *block_ptr, BlockInfo *bi, in leastsquares() argument
281 x = GET_CHAN(block_ptr[j], xchannel); in leastsquares()
282 y = GET_CHAN(block_ptr[j], ychannel); in leastsquares()
289 block_ptr += bi->rowstride; in leastsquares()
318 static int calc_lsq_max_fit_error(uint16_t *block_ptr, BlockInfo *bi, in calc_lsq_max_fit_error() argument
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()
350 block_ptr += bi->rowstride; in calc_lsq_max_fit_error()
387 PutBitContext *pb, uint16_t *block_ptr, BlockInfo *bi) in encode_four_color_block() argument
407 idx = match_color(&block_ptr[x], color4); in encode_four_color_block()
410 block_ptr += bi->rowstride; in encode_four_color_block()