Searched refs:fmt_cfg (Results 1 – 7 of 7) sorted by relevance
99 JpegeVpu720FmtCfg fmt_cfg; member196 JpegeVpu720FmtCfg *fmt_cfg = &ctx->fmt_cfg; in jpege_vpu720_setup_format() local204 memset(fmt_cfg, 0, sizeof(JpegeVpu720FmtCfg)); in jpege_vpu720_setup_format()209 fmt_cfg->input_format = JPEGE_VPU720_IN_FMT_TILE_400; in jpege_vpu720_setup_format()210 fmt_cfg->y_stride = hor_stride * 4; in jpege_vpu720_setup_format()211 fmt_cfg->out_format = JPEGE_VPU720_OUT_FMT_400; in jpege_vpu720_setup_format()215 fmt_cfg->input_format = JPEGE_VPU720_IN_FMT_TILE_420; in jpege_vpu720_setup_format()216 fmt_cfg->y_stride = hor_stride * 4 * 3 / 2; in jpege_vpu720_setup_format()220 fmt_cfg->input_format = JPEGE_VPU720_IN_FMT_TILE_422; in jpege_vpu720_setup_format()221 fmt_cfg->y_stride = hor_stride * 4 * 2; in jpege_vpu720_setup_format()[all …]
129 VepuFormatCfg *fmt_cfg = NULL; in get_vepu_fmt() local136 fmt_cfg = &vepu_yuv_cfg[format - MPP_FRAME_FMT_YUV]; in get_vepu_fmt()139 fmt_cfg = &vepu_rgb_le_cfg[(format & MPP_FRAME_FMT_MASK) - MPP_FRAME_FMT_RGB]; in get_vepu_fmt()141 fmt_cfg = &vepu_rgb_cfg[format - MPP_FRAME_FMT_RGB]; in get_vepu_fmt()147 if (fmt_cfg && fmt_cfg->format != VEPU_FMT_BUTT) { in get_vepu_fmt()148 memcpy(cfg, fmt_cfg, sizeof(*cfg)); in get_vepu_fmt()
193 VepuFormatCfg fmt_cfg; in hal_jpege_vepu1_gen_regs() local259 if (!get_vepu_fmt(&fmt_cfg, fmt)) { in hal_jpege_vepu1_gen_regs()270 regs[2] = deflt_cfg | (fmt_cfg.swap_8_in & 1) | in hal_jpege_vepu1_gen_regs()271 (fmt_cfg.swap_32_in & 1) << 2 | in hal_jpege_vepu1_gen_regs()272 (fmt_cfg.swap_16_in & 1) << 14; in hal_jpege_vepu1_gen_regs()291 (fmt_cfg.format << 2) | rotation; in hal_jpege_vepu1_gen_regs()349 regs[55] = ((fmt_cfg.b_mask & 0x1f) << 26) | in hal_jpege_vepu1_gen_regs()350 ((fmt_cfg.g_mask & 0x1f) << 21) | in hal_jpege_vepu1_gen_regs()351 ((fmt_cfg.r_mask & 0x1f) << 16) | coeffF; in hal_jpege_vepu1_gen_regs()
388 VepuFormatCfg fmt_cfg; in hal_jpege_vepu2_gen_regs() local531 if (!get_vepu_fmt(&fmt_cfg, fmt)) { in hal_jpege_vepu2_gen_regs()532 regs[74] = (fmt_cfg.format << 4) | in hal_jpege_vepu2_gen_regs()534 regs[98] = (fmt_cfg.b_mask & 0x1f) << 16 | in hal_jpege_vepu2_gen_regs()535 (fmt_cfg.g_mask & 0x1f) << 8 | in hal_jpege_vepu2_gen_regs()536 (fmt_cfg.r_mask & 0x1f); in hal_jpege_vepu2_gen_regs()537 regs[105] = 7 << 26 | (fmt_cfg.swap_32_in & 1) << 29 | in hal_jpege_vepu2_gen_regs()538 (fmt_cfg.swap_16_in & 1) << 30 | in hal_jpege_vepu2_gen_regs()539 (fmt_cfg.swap_8_in & 1) << 31; in hal_jpege_vepu2_gen_regs()
307 VepuFormatCfg fmt_cfg; in h264e_vepu_prep_setup() local333 if (!get_vepu_fmt(&fmt_cfg, format)) { in h264e_vepu_prep_setup()334 prep->r_mask_msb = fmt_cfg.r_mask; in h264e_vepu_prep_setup()335 prep->g_mask_msb = fmt_cfg.g_mask; in h264e_vepu_prep_setup()336 prep->b_mask_msb = fmt_cfg.b_mask; in h264e_vepu_prep_setup()337 prep->swap_8_in = fmt_cfg.swap_8_in; in h264e_vepu_prep_setup()338 prep->swap_16_in = fmt_cfg.swap_16_in; in h264e_vepu_prep_setup()339 prep->swap_32_in = fmt_cfg.swap_32_in; in h264e_vepu_prep_setup()340 prep->src_fmt = fmt_cfg.format; in h264e_vepu_prep_setup()
46 VepuFmtCfg fmt_cfg; in vepu511_set_osd() local51 vepu5xx_set_fmt(&fmt_cfg, fmt); in vepu511_set_osd()55 reg->cfg0.osd_fmt = fmt_cfg.format; in vepu511_set_osd()
1149 VepuFormatCfg fmt_cfg; in set_parameter() local1150 if (!get_vepu_fmt(&fmt_cfg, set->format)) { in set_parameter()1151 hw_cfg->input_format = fmt_cfg.format; in set_parameter()1152 hw_cfg->r_mask_msb = fmt_cfg.r_mask; in set_parameter()1153 hw_cfg->g_mask_msb = fmt_cfg.g_mask; in set_parameter()1154 hw_cfg->b_mask_msb = fmt_cfg.b_mask; in set_parameter()