Lines Matching defs:h

9 #include <linux/iopoll.h>
10 #include <linux/pm_runtime.h>
11 #include <linux/reset.h>
12 #include <linux/slab.h>
14 #include <media/v4l2-h264.h>
16 #include "trace.h"
17 #include "vde.h"
696 struct tegra_ctx_h264 *h = &ctx->h264;
728 frame_num = h->decode_params->frame_num;
730 if (h->decode_params->nal_ref_idc)
758 struct tegra_ctx_h264 *h = &ctx->h264;
781 if (h->decode_params->flags & V4L2_H264_DECODE_PARAM_FLAG_BFRAME)
791 if (!(h->decode_params->flags & (V4L2_H264_DECODE_PARAM_FLAG_PFRAME |
795 v4l2_h264_init_reflist_builder(&b, h->decode_params, h->sps, dpb);
797 if (h->decode_params->flags & V4L2_H264_DECODE_PARAM_FLAG_BFRAME) {
861 struct tegra_ctx_h264 *h = &ctx->h264;
874 if (h->pps->flags & V4L2_H264_PPS_FLAG_ENTROPY_CODING_MODE)
877 if (h->decode_params->flags & V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC)
880 if (h->sps->profile_idc == 66)
883 if (h->sps->flags & V4L2_H264_SPS_FLAG_DIRECT_8X8_INFERENCE)
886 if (h->pps->flags & V4L2_H264_PPS_FLAG_CONSTRAINED_INTRA_PRED)
889 if (h->pps->flags & V4L2_H264_PPS_FLAG_DEBLOCKING_FILTER_CONTROL_PRESENT)
892 if (h->pps->flags & V4L2_H264_PPS_FLAG_BOTTOM_FIELD_PIC_ORDER_IN_FRAME_PRESENT)
895 h264->level_idc = to_tegra_vde_h264_level_idc(h->sps->level_idc);
896 h264->log2_max_pic_order_cnt_lsb = h->sps->log2_max_pic_order_cnt_lsb_minus4 + 4;
897 h264->log2_max_frame_num = h->sps->log2_max_frame_num_minus4 + 4;
898 h264->pic_order_cnt_type = h->sps->pic_order_cnt_type;
899 h264->pic_width_in_mbs = h->sps->pic_width_in_mbs_minus1 + 1;
900 h264->pic_height_in_mbs = h->sps->pic_height_in_map_units_minus1 + 1;
902 h264->num_ref_idx_l0_active_minus1 = h->pps->num_ref_idx_l0_default_active_minus1;
903 h264->num_ref_idx_l1_active_minus1 = h->pps->num_ref_idx_l1_default_active_minus1;
904 h264->chroma_qp_index_offset = h->pps->chroma_qp_index_offset & 0x1f;
905 h264->pic_init_qp = h->pps->pic_init_qp_minus26 + 26;