Home | History | Annotate | Download | only in decoder
      1 /******************************************************************************
      2 *
      3 * Copyright (C) 2012 Ittiam Systems Pvt Ltd, Bangalore
      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 
     19 /**
     20  *******************************************************************************
     21  * @file
     22  *  ihevcd_structs.h
     23  *
     24  * @brief
     25  *  Structure definitions used in the decoder
     26  *
     27  * @author
     28  *  Harish
     29  *
     30  * @par List of Functions:
     31  *
     32  * @remarks
     33  *  None
     34  *
     35  *******************************************************************************
     36  */
     37 
     38 #ifndef IHEVCD_MV_PRED_H_
     39 #define IHEVCD_MV_PRED_H_
     40 void ihevcd_mv_pred(mv_ctxt_t *ps_mv_ctxt,
     41                     UWORD32 *pu4_top_pu_idx,
     42                     UWORD32 *pu4_left_pu_idx,
     43                     UWORD32 *pu4_top_left_pu_idx,
     44                     WORD32 left_nbr_4x4_strd,
     45                     pu_t *ps_pu,
     46                     WORD32 lb_avail,
     47                     WORD32 l_avail,
     48                     WORD32 tr_avail,
     49                     WORD32 t_avail,
     50                     WORD32 tl_avail,
     51                     pu_mv_t *ps_pred_mv);
     52 void ihevcd_scale_mv(mv_t *ps_mv,
     53                      WORD32 cur_ref_poc,
     54                      WORD32 nbr_ref_poc,
     55                      WORD32 cur_poc);
     56 
     57 
     58 #endif /* IHEVCD_MV_PRED_H_ */
     59