Home | History | Annotate | Download | only in common
      1 /******************************************************************************
      2  *
      3  * Copyright (C) 2015 The Android Open Source Project
      4  *
      5  * Licensed under the Apache License, Version 2.0 (the "License");
      6  * you may not use this file except in compliance with the License.
      7  * You may obtain a copy of the License at:
      8  *
      9  * http://www.apache.org/licenses/LICENSE-2.0
     10  *
     11  * Unless required by applicable law or agreed to in writing, software
     12  * distributed under the License is distributed on an "AS IS" BASIS,
     13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  * See the License for the specific language governing permissions and
     15  * limitations under the License.
     16  *
     17  *****************************************************************************
     18  * Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
     19 */
     20 #ifndef __IMPEG2_IDCT_H__
     21 #define __IMPEG2_IDCT_H__
     22 
     23 
     24 /*****************************************************************************/
     25 /* Function Declarations                                                     */
     26 /*****************************************************************************/
     27 
     28 typedef void  pf_idct_recon_t(WORD16 *pi2_src,
     29                             WORD16 *pi2_tmp,
     30                             UWORD8 *pu1_pred,
     31                             UWORD8 *pu1_dst,
     32                             WORD32 src_strd,
     33                             WORD32 pred_strd,
     34                             WORD32 dst_strd,
     35                             WORD32 zero_cols,
     36                             WORD32 zero_rows);
     37 
     38 /* ARM assembly modules curently ignore non_zero_cols argument */
     39 pf_idct_recon_t impeg2_idct_recon_dc;
     40 
     41 pf_idct_recon_t impeg2_idct_recon_dc_mismatch;
     42 
     43 pf_idct_recon_t impeg2_idct_recon;
     44 
     45 
     46 pf_idct_recon_t impeg2_idct_recon_dc_a9q;
     47 
     48 pf_idct_recon_t impeg2_idct_recon_dc_mismatch_a9q;
     49 
     50 pf_idct_recon_t impeg2_idct_recon_a9q;
     51 
     52 
     53 pf_idct_recon_t impeg2_idct_recon_dc_av8;
     54 
     55 pf_idct_recon_t impeg2_idct_recon_dc_mismatch_av8;
     56 
     57 pf_idct_recon_t impeg2_idct_recon_av8;
     58 
     59 pf_idct_recon_t impeg2_idct_recon_sse42;
     60 
     61 pf_idct_recon_t impeg2_idct_recon_dc_mismatch_sse42;
     62 
     63 pf_idct_recon_t impeg2_idct_recon_dc_sse42;
     64 
     65 #endif /* #ifndef __IMPEG2_IDCT_H__ */
     66 
     67