Searched refs:picture_height_mb (Results 1 - 11 of 11) sorted by relevance

/hardware/intel/img/psb_video/src/
H A Dpnw_MPEG2.c490 uint32_t picture_height_mb; /* in macroblocks */ member in struct:context_MPEG2_s
719 ctx->picture_height_mb = (ctx->pic_params->vertical_size + 15) / 16;
721 ctx->picture_height_mb = (ctx->pic_params->vertical_size + 31) / 32;
722 ctx->picture_height_mb *= 2;
725 ctx->coded_picture_height = ctx->picture_height_mb * 16;
732 ctx->size_mb = ctx->picture_width_mb * ctx->picture_height_mb;
759 REGIO_WRITE_FIELD_LITE(ctx->BE_SPS1, MSVDX_VEC_MPEG2, CR_VEC_MPEG2_BE_SPS1, BE_VERTICAL_SIZE_MINUS1, ctx->picture_height_mb);
1201 ctx->obj_context->last_mb = ((ctx->picture_height_mb - 1) << 8) | (ctx->picture_width_mb - 1);
1203 ctx->obj_context->last_mb = ((ctx->picture_height_mb / 2 - 1) << 8) | (ctx->picture_width_mb - 1);
1282 *cmdbuf->cmd_idx++ = ctx->picture_height_mb; /* FIXM
[all...]
H A Dpnw_H264.c137 uint32_t picture_height_mb; /* in macroblocks */ member in struct:context_H264_s
598 ctx->picture_height_mb = pic_params->picture_height_in_mbs_minus1 + 1;
600 ctx->size_mb = ctx->picture_width_mb * ctx->picture_height_mb; /* (7-25) */
602 //uint32_t colocated_size = (ctx->picture_width_mb + extra_size) * (ctx->picture_height_mb + extra_size) * 192;
613 ctx->picture_height_samples_l = ctx->picture_height_mb * 16;
614 ctx->picture_height_samples_c = ctx->picture_height_mb * ctx->mb_height_c;
623 ctx->picture_height_map_units = 1 + ctx->picture_height_mb / (2 - pic_params->seq_fields.bits.frame_mbs_only_flag);
755 uint32_t PicHeightInMbs = ctx->picture_height_mb >> pic_params->pic_fields.bits.field_pic_flag; /* (7-23) */
1424 REGIO_WRITE_FIELD_LITE(reg_value, MSVDX_CMDS, DISPLAY_PICTURE_SIZE, DISPLAY_PICTURE_HEIGHT, (ctx->picture_height_mb * 16) - 1);
1429 REGIO_WRITE_FIELD_LITE(reg_value, MSVDX_CMDS, CODED_PICTURE_SIZE, CODED_PICTURE_HEIGHT, (ctx->picture_height_mb * 1
[all...]
H A Dpnw_MPEG4.c1117 uint32_t picture_height_mb; /* in macroblocks */ member in struct:context_MPEG4_s
1467 ctx->picture_height_mb = PIXELS_TO_MB(ctx->display_picture_height);
1469 ctx->coded_picture_height = ctx->picture_height_mb * 16;
1470 ctx->size_mb = ctx->picture_width_mb * ctx->picture_height_mb;
1477 uint32_t mbInPic = ctx->picture_width_mb * ctx->picture_height_mb;
1510 REGIO_WRITE_FIELD_LITE(ctx->FE_VOP_SPS0, MSVDX_VEC_MPEG4, CR_VEC_MPEG4_FE_VOP_SPS0, FE_VOP_HEIGHT_IN_MBS_LESS_1, ctx->picture_height_mb - 1);
1544 REGIO_WRITE_FIELD_LITE(ctx->BE_SPS1, MSVDX_VEC_MPEG4, CR_VEC_MPEG4_BE_SPS1, VOP_HEIGHT_IN_MBS_LESS_1, ctx->picture_height_mb - 1);
2049 ctx->obj_context->last_mb = ((ctx->picture_height_mb - 1) << 8) | (ctx->picture_width_mb - 1);
2162 ctx->picture_height_mb,
H A Dvc1_header.h215 uint32_t picture_height_mb; /* in macroblocks */ member in struct:context_VC1_s
H A Dtng_jpegdec.c184 uint32_t picture_height_mb; /* in macroblocks */ member in struct:context_JPEG_s
601 ctx->picture_height_mb = (ctx->coded_picture_height + 15) / 16;
602 ctx->size_mb = ctx->picture_width_mb * ctx->picture_height_mb;
1012 ctx->obj_context->last_mb = ((ctx->picture_height_mb - 1) << 8) | (ctx->picture_width_mb - 1);
H A Dpnw_VC1.c803 ctx->picture_height_mb = PIXELS_TO_MB(ctx->display_picture_height);
805 ctx->coded_picture_height = ctx->picture_height_mb * 16;
807 ctx->picture_height_mb /= 2;
808 ctx->coded_picture_height = ctx->picture_height_mb * 16 * 2;
816 ctx->size_mb = ctx->picture_width_mb * ctx->picture_height_mb;
2124 REGIO_WRITE_FIELD(cmd, MSVDX_VEC_VC1, CR_VEC_VC1_BE_SPS1, VC1_BE_PIC_HEIGHT_IN_MBS_LESS1, ctx->picture_height_mb - 1);
2354 REGIO_WRITE_FIELD(reg_value, MSVDX_VEC_VC1, CR_VEC_VC1_FE_PPS0, VC1_FE_PIC_HEIGHT_IN_MBS_LESS1, ctx->picture_height_mb - 1);
2548 pParseHeaderCMD->ui32PicDimensions |= (ctx->picture_height_mb << 16);
2624 ctx->obj_context->last_mb = ((ctx->picture_height_mb - 1) << 8) | (ctx->picture_width_mb - 1);
/hardware/intel/img/psb_video/src/mrst/
H A Dpsb_MPEG2.c489 uint32_t picture_height_mb; /* in macroblocks */ member in struct:context_MPEG2_s
745 ctx->picture_height_mb = (ctx->pic_params->vertical_size + 15) / 16;
747 ctx->picture_height_mb = (ctx->pic_params->vertical_size + 31) / 32;
748 ctx->picture_height_mb *= 2;
751 ctx->coded_picture_height = ctx->picture_height_mb * 16;
753 ctx->size_mb = ctx->picture_width_mb * ctx->picture_height_mb;
780 REGIO_WRITE_FIELD_LITE(ctx->BE_SPS1, MSVDX_VEC_MPEG2, CR_VEC_MPEG2_BE_SPS1, BE_VERTICAL_SIZE_MINUS1, ctx->picture_height_mb - 1);
1296 drv_debug_msg(VIDEO_DEBUG_GENERAL, " coded size = %dx%d\n", ctx->picture_width_mb, ctx->picture_height_mb);
1359 ctx->obj_context->last_mb = ((ctx->picture_height_mb - 1) << 8) | (ctx->picture_width_mb - 1);
1484 *cmdbuf->cmd_idx++ = ctx->picture_height_mb *
[all...]
H A Dpsb_H264.c122 uint32_t picture_height_mb; /* in macroblocks */ member in struct:context_H264_s
659 ctx->picture_height_mb = pic_params->picture_height_in_mbs_minus1 + 1;
661 ctx->size_mb = ctx->picture_width_mb * ctx->picture_height_mb; /* (7-25) */
663 //uint32_t colocated_size = (ctx->picture_width_mb + extra_size) * (ctx->picture_height_mb + extra_size) * 192;
680 ctx->picture_height_samples_l = ctx->picture_height_mb * 16;
681 ctx->picture_height_samples_c = ctx->picture_height_mb * ctx->mb_height_c;
685 ctx->picture_height_map_units = 1 + ctx->picture_height_mb / (2 - pic_params->seq_fields.bits.frame_mbs_only_flag);
739 uint32_t PicHeightInMbs = ctx->picture_height_mb >> pic_params->pic_fields.bits.field_pic_flag; /* (7-23) */
1338 REGIO_WRITE_FIELD_LITE(reg_value, MSVDX_CMDS, DISPLAY_PICTURE_SIZE, DISPLAY_PICTURE_HEIGHT, (ctx->picture_height_mb * 16) - 1);
1343 REGIO_WRITE_FIELD_LITE(reg_value, MSVDX_CMDS, CODED_PICTURE_SIZE, CODED_PICTURE_HEIGHT, (ctx->picture_height_mb * 1
[all...]
H A Dpsb_MPEG4.c292 uint32_t picture_height_mb; /* in macroblocks */ member in struct:context_MPEG4_s
663 ctx->picture_height_mb = PIXELS_TO_MB(ctx->display_picture_height);
665 ctx->coded_picture_height = ctx->picture_height_mb * 16;
666 ctx->size_mb = ctx->picture_width_mb * ctx->picture_height_mb;
668 uint32_t mbInPic = ctx->picture_width_mb * ctx->picture_height_mb;
706 REGIO_WRITE_FIELD_LITE(ctx->FE_VOP_SPS0, MSVDX_VEC_MPEG4, CR_VEC_MPEG4_FE_VOP_SPS0, FE_VOP_HEIGHT_IN_MBS_LESS_1, ctx->picture_height_mb - 1);
740 REGIO_WRITE_FIELD_LITE(ctx->BE_SPS1, MSVDX_VEC_MPEG4, CR_VEC_MPEG4_BE_SPS1, VOP_HEIGHT_IN_MBS_LESS_1, ctx->picture_height_mb - 1);
1265 drv_debug_msg(VIDEO_DEBUG_GENERAL, " coded size = %dx%d\n", ctx->picture_width_mb, ctx->picture_height_mb);
1323 ctx->obj_context->last_mb = ((ctx->picture_height_mb - 1) << 8) | (ctx->picture_width_mb - 1);
H A Dpsb_MPEG2MC.c113 uint32_t picture_height_mb; /* in macroblocks */ member in struct:context_MPEG2MC_s
1187 ctx->picture_height_mb = (ctx->coded_picture_height + 15) / 16;
1190 ctx->picture_height_mb = ((ctx->coded_picture_height + 31) / 32);
1192 ctx->picture_height_mb = 2 * ((ctx->coded_picture_height + 31) / 32);
1196 ((ctx->picture_height_mb) * 32) : ((ctx->picture_height_mb) * 16);
H A Dpsb_VC1.c791 ctx->picture_height_mb = PIXELS_TO_MB(ctx->display_picture_height);
793 ctx->coded_picture_height = ctx->picture_height_mb * 16;
795 ctx->picture_height_mb /= 2;
796 ctx->coded_picture_height = ctx->picture_height_mb * 16 * 2;
799 ctx->size_mb = ctx->picture_width_mb * ctx->picture_height_mb;
2153 REGIO_WRITE_FIELD(cmd, MSVDX_VEC_VC1, CR_VEC_VC1_BE_SPS1, VC1_BE_PIC_HEIGHT_IN_MBS_LESS1, ctx->picture_height_mb - 1);
2367 REGIO_WRITE_FIELD(reg_value, MSVDX_VEC_VC1, CR_VEC_VC1_FE_PPS0, VC1_FE_PIC_HEIGHT_IN_MBS_LESS1, ctx->picture_height_mb - 1);
2572 ctx->obj_context->last_mb = ((ctx->picture_height_mb - 1) << 8) | (ctx->picture_width_mb - 1);

Completed in 186 milliseconds