Lines Matching refs:s16
54 rlc(const s16 *in, __be16 *output, int blocktype)
56 s16 block[8 * 8];
57 s16 *wp = block;
111 * one s16 value for the header and 8 * 8 coefficients of type s16.
114 derlc(const __be16 **rlc_in, s16 *dwht_out, const __be16 *end_of_input)
120 s16 block[8 * 8 + 16];
121 s16 *wp = block;
137 s16 in;
195 static void quantize_intra(s16 *coeff, s16 *de_coeff, u16 qp)
211 static void dequantize_intra(s16 *coeff)
221 static void quantize_inter(s16 *coeff, s16 *de_coeff, u16 qp)
237 static void dequantize_inter(s16 *coeff)
247 static void noinline_for_stack fwht(const u8 *block, s16 *output_block,
254 s16 *out = output_block;
382 fwht16(const s16 *block, s16 *output_block, int stride, int intra)
386 const s16 *tmp = block;
387 s16 *out = output_block;
466 ifwht(const s16 *block, s16 *output_block, int intra)
474 const s16 *tmp = block;
475 s16 *out = output_block;
576 static void fill_encoder_block(const u8 *input, s16 *dst,
588 static int var_intra(const s16 *input)
592 const s16 *tmp = input;
604 static int var_inter(const s16 *old, const s16 *new)
615 decide_blocktype(const u8 *cur, const u8 *reference, s16 *deltablock,
618 s16 tmp[64];
619 s16 old[64];
620 s16 *work = tmp;
642 static void fill_decoder_block(u8 *dst, const s16 *input, int stride,
660 static void add_deltas(s16 *deltas, const u8 *ref, int stride,
690 s16 deltablock[64];
735 s16 hdr = ntohs(*last_rlco);
841 s16 copy[8 * 8];