Lines Matching refs:encoding
693 u32 encoding = 0; in encode_plane() local
716 encoding |= FWHT_FRAME_PCODED; in encode_plane()
747 encoding |= FWHT_FRAME_UNENCODED; in encode_plane()
755 if (encoding & FWHT_FRAME_UNENCODED) { in encode_plane()
772 encoding &= ~FWHT_FRAME_PCODED; in encode_plane()
774 return encoding; in encode_plane()
787 u32 encoding; in fwht_encode_frame() local
790 encoding = encode_plane(frm->luma, ref_frm->luma, &rlco, rlco_max, cf, in fwht_encode_frame()
793 if (encoding & FWHT_FRAME_UNENCODED) in fwht_encode_frame()
794 encoding |= FWHT_LUMA_UNENCODED; in fwht_encode_frame()
795 encoding &= ~FWHT_FRAME_UNENCODED; in fwht_encode_frame()
803 encoding |= encode_plane(frm->cb, ref_frm->cb, &rlco, rlco_max, in fwht_encode_frame()
807 if (encoding & FWHT_FRAME_UNENCODED) in fwht_encode_frame()
808 encoding |= FWHT_CB_UNENCODED; in fwht_encode_frame()
809 encoding &= ~FWHT_FRAME_UNENCODED; in fwht_encode_frame()
811 encoding |= encode_plane(frm->cr, ref_frm->cr, &rlco, rlco_max, in fwht_encode_frame()
815 if (encoding & FWHT_FRAME_UNENCODED) in fwht_encode_frame()
816 encoding |= FWHT_CR_UNENCODED; in fwht_encode_frame()
817 encoding &= ~FWHT_FRAME_UNENCODED; in fwht_encode_frame()
822 encoding |= encode_plane(frm->alpha, ref_frm->alpha, &rlco, in fwht_encode_frame()
826 if (encoding & FWHT_FRAME_UNENCODED) in fwht_encode_frame()
827 encoding |= FWHT_ALPHA_UNENCODED; in fwht_encode_frame()
828 encoding &= ~FWHT_FRAME_UNENCODED; in fwht_encode_frame()
832 return encoding; in fwht_encode_frame()