Lines Matching refs:cf

619 			struct cframe *cf, u32 height, u32 width,  in encode_plane()  argument
641 fwht(input, cf->coeffs, width, input_step, 1); in encode_plane()
642 quantize_intra(cf->coeffs, cf->de_coeffs); in encode_plane()
647 fwht16(deltablock, cf->coeffs, 8, 0); in encode_plane()
648 quantize_inter(cf->coeffs, cf->de_coeffs); in encode_plane()
651 ifwht(cf->de_coeffs, cf->de_fwht, blocktype); in encode_plane()
654 add_deltas(cf->de_fwht, refp, 8); in encode_plane()
655 fill_decoder_block(refp, cf->de_fwht, 8); in encode_plane()
664 size = rlc(cf->coeffs, *rlco, blocktype); in encode_plane()
702 struct cframe *cf, bool is_intra, bool next_is_intra) in encode_frame() argument
705 __be16 *rlco = cf->rlc_data; in encode_frame()
710 encoding = encode_plane(frm->luma, ref_frm->luma, &rlco, rlco_max, cf, in encode_frame()
717 encoding |= encode_plane(frm->cb, ref_frm->cb, &rlco, rlco_max, cf, in encode_frame()
724 encoding |= encode_plane(frm->cr, ref_frm->cr, &rlco, rlco_max, cf, in encode_frame()
730 cf->size = (rlco - cf->rlc_data) * sizeof(*rlco); in encode_frame()
734 static void decode_plane(struct cframe *cf, const __be16 **rlco, u8 *ref, in decode_plane() argument
759 memcpy(cf->de_fwht, copy, sizeof(copy)); in decode_plane()
761 add_deltas(cf->de_fwht, refp, width); in decode_plane()
762 fill_decoder_block(refp, cf->de_fwht, width); in decode_plane()
767 stat = derlc(rlco, cf->coeffs); in decode_plane()
770 dequantize_inter(cf->coeffs); in decode_plane()
772 dequantize_intra(cf->coeffs); in decode_plane()
774 ifwht(cf->coeffs, cf->de_fwht, in decode_plane()
779 memcpy(copy, cf->de_fwht, sizeof(copy)); in decode_plane()
781 add_deltas(cf->de_fwht, refp, width); in decode_plane()
782 fill_decoder_block(refp, cf->de_fwht, width); in decode_plane()
787 void decode_frame(struct cframe *cf, struct raw_frame *ref, u32 hdr_flags) in decode_frame() argument
789 const __be16 *rlco = cf->rlc_data; in decode_frame()
791 decode_plane(cf, &rlco, ref->luma, cf->height, cf->width, in decode_frame()
793 decode_plane(cf, &rlco, ref->cb, cf->height / 2, cf->width / 2, in decode_frame()
795 decode_plane(cf, &rlco, ref->cr, cf->height / 2, cf->width / 2, in decode_frame()