/hardware/intel/img/psb_video/src/mrst/ |
H A D | psb_MPEG2.c | 489 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 D | psb_MPEG2MC.c | 113 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 D | psb_MPEG4.c | 292 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 D | psb_H264.c | 122 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...] |
/hardware/intel/img/psb_video/src/ |
H A D | pnw_MPEG2.c | 500 uint32_t picture_height_mb; /* in macroblocks */ member in struct:context_MPEG2_s 762 ctx->picture_height_mb = (ctx->pic_params->vertical_size + 15) / 16; 764 ctx->picture_height_mb = (ctx->pic_params->vertical_size + 31) / 32; 765 ctx->picture_height_mb *= 2; 768 ctx->coded_picture_height = ctx->picture_height_mb * 16; 775 ctx->size_mb = ctx->picture_width_mb * ctx->picture_height_mb; 802 REGIO_WRITE_FIELD_LITE(ctx->BE_SPS1, MSVDX_VEC_MPEG2, CR_VEC_MPEG2_BE_SPS1, BE_VERTICAL_SIZE_MINUS1, ctx->picture_height_mb); 1275 ctx->obj_context->last_mb = ((ctx->picture_height_mb - 1) << 8) | (ctx->picture_width_mb - 1); 1277 ctx->obj_context->last_mb = ((ctx->picture_height_mb / 2 - 1) << 8) | (ctx->picture_width_mb - 1); 1358 *cmdbuf->cmd_idx++ = ctx->picture_height_mb; /* FIXM [all...] |
H A D | pnw_MPEG4.c | 1117 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 D | tng_jpegdec.c | 184 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 D | pnw_H264.c | 137 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 D | vc1_header.h | 215 uint32_t picture_height_mb; /* in macroblocks */ member in struct:context_VC1_s
|