/hardware/intel/img/psb_video/src/ |
D | pnw_hostcode.c | 52 PIC_PARAMS *psPicParams, 714 PIC_PARAMS *psPicParams; /* PIC_PARAMS has been put in pnw_hostcode.h */ in pnw_RenderPictureParameter() local 722 psPicParams = (PIC_PARAMS *)(cmdbuf->pic_params_p + ctx->pic_params_size * core); in pnw_RenderPictureParameter() 724 memset(psPicParams, 0, sizeof(PIC_PARAMS)); in pnw_RenderPictureParameter() 766 psPicParams->SrcYStride = src_surface->psb_surface->stride; in pnw_RenderPictureParameter() 770 psPicParams->SrcUVStride = src_surface->psb_surface->stride / 2; in pnw_RenderPictureParameter() 771 psPicParams->SrcUVRowStride = src_surface->psb_surface->stride * 8 / 2; in pnw_RenderPictureParameter() 775 psPicParams->SrcUVStride = src_surface->psb_surface->stride; in pnw_RenderPictureParameter() 776 psPicParams->SrcUVRowStride = src_surface->psb_surface->stride * 8; in pnw_RenderPictureParameter() 781 psPicParams->SrcYRowStride = src_surface->psb_surface->stride * 16; in pnw_RenderPictureParameter() [all …]
|
D | tng_hostcode.c | 1305 PIC_PARAMS * psPicParams = &ctx->sPicParams; in tng__adjust_picflags() local 1306 ui32Flags = psPicParams->ui32Flags; in tng__adjust_picflags() 1336 PIC_PARAMS *psPicParams = &(ctx->sPicParams); in tng__setup_rcdata() local 1371 psPicParams->sInParams.ui8SeInitQP = psRCParams->ui32InitialQp; in tng__setup_rcdata() 1372 psPicParams->sInParams.ui8MBPerRow = (ctx->ui16Width>>4); in tng__setup_rcdata() 1373 psPicParams->sInParams.ui16MBPerBU = psRCParams->ui32BUSize; in tng__setup_rcdata() 1374 psPicParams->sInParams.ui16MBPerFrm = (ctx->ui16Width>>4) * (ctx->ui16PictureHeight>>4); in tng__setup_rcdata() 1375 …psPicParams->sInParams.ui16BUPerFrm = (psPicParams->sInParams.ui16MBPerFrm) / psRCParams->ui3… in tng__setup_rcdata() 1377 psPicParams->sInParams.ui16IntraPeriod = psRCParams->ui32IntraFreq; in tng__setup_rcdata() 1378 psPicParams->sInParams.ui16BFrames = psRCParams->ui16BFrames; in tng__setup_rcdata() [all …]
|
D | tng_H264ES.c | 792 VAEncPictureParameterBufferH264 *psPicParams; 803 psPicParams = (VAEncPictureParameterBufferH264 *) obj_buffer->buffer_data; 808 ASSERT(ctx->ui16Width == psPicParams->picture_width); 809 ASSERT(ctx->ui16PictureHeight == psPicParams->picture_height); 812 ps_buf->ref_surface = SURFACE(psPicParams->ReferenceFrames[0].picture_id); 813 ps_buf->coded_buf = BUFFER(psPicParams->coded_buf); 817 ps_buf->rec_surface = SURFACE(psPicParams->CurrPic.picture_id); 819 ps_buf->ref_surface[i] = SURFACE(psPicParams->ReferenceFrames[i].picture_id); 820 ps_buf->coded_buf = BUFFER(psPicParams->coded_buf); 826 free(psPicParams); [all …]
|
D | tng_MPEG4ES.c | 313 VAEncPictureParameterBufferMPEG4 *psPicParams; in tng__MPEG4ES_process_picture_param() local 325 psPicParams = (VAEncPictureParameterBufferMPEG4 *) obj_buffer->buffer_data; in tng__MPEG4ES_process_picture_param() 329 ASSERT(ctx->ui16Width == psPicParams->picture_width); in tng__MPEG4ES_process_picture_param() 330 ASSERT(ctx->ui16PictureHeight == psPicParams->picture_height); in tng__MPEG4ES_process_picture_param() 332 ps_buf->ref_surface[0] = ps_buf->ref_surface[2] = SURFACE(psPicParams->reference_picture); in tng__MPEG4ES_process_picture_param() 333 ps_buf->ref_surface[1] = ps_buf->ref_surface[3] = SURFACE(psPicParams->reconstructed_picture); in tng__MPEG4ES_process_picture_param() 338 ps_buf->ref_surface = SURFACE(psPicParams->reference_picture); in tng__MPEG4ES_process_picture_param() 339 ps_buf->rec_surface = SURFACE(psPicParams->reconstructed_picture); in tng__MPEG4ES_process_picture_param() 341 ps_buf->coded_buf = BUFFER(psPicParams->coded_buf); in tng__MPEG4ES_process_picture_param() 345 free(psPicParams); in tng__MPEG4ES_process_picture_param() [all …]
|
D | tng_H263ES.c | 297 VAEncPictureParameterBufferH263 *psPicParams; in tng__H263ES_process_picture_param() local 309 psPicParams = (VAEncPictureParameterBufferH263 *) obj_buffer->buffer_data; in tng__H263ES_process_picture_param() 314 ctx->h263_actual_width = psPicParams->picture_width; in tng__H263ES_process_picture_param() 315 ctx->h263_actual_height = psPicParams->picture_height; in tng__H263ES_process_picture_param() 317 ASSERT(ctx->ui16Width == psPicParams->picture_width); in tng__H263ES_process_picture_param() 318 ASSERT(ctx->ui16PictureHeight == psPicParams->picture_height); in tng__H263ES_process_picture_param() 320 ps_buf->ref_surface[0] = ps_buf->ref_surface[2] = SURFACE(psPicParams->reference_picture); in tng__H263ES_process_picture_param() 321 ps_buf->ref_surface[1] = ps_buf->ref_surface[3] = SURFACE(psPicParams->reconstructed_picture); in tng__H263ES_process_picture_param() 326 ps_buf->ref_surface = SURFACE(psPicParams->reference_picture); in tng__H263ES_process_picture_param() 327 ps_buf->rec_surface = SURFACE(psPicParams->reconstructed_picture); in tng__H263ES_process_picture_param() [all …]
|
D | pnw_H264ES.c | 721 PIC_PARAMS *psPicParams = (PIC_PARAMS *)(cmdbuf->pic_params_p); in pnw__H264ES_encode_one_slice() local 802 psPicParams->sInParams.SeInitQP); in pnw__H264ES_encode_one_slice() 850 PIC_PARAMS *psPicParams = (PIC_PARAMS *)(cmdbuf->pic_params_p); in pnw__H264ES_process_slice_param() local 861 psPicParams = (PIC_PARAMS *)cmdbuf->pic_params_p; in pnw__H264ES_process_slice_param() 1319 PIC_PARAMS *psPicParams = (PIC_PARAMS *)cmdbuf->pic_params_p; in pnw_H264ES_EndPicture() local 1327 psPicParams = (PIC_PARAMS *) in pnw_H264ES_EndPicture() 1329 psPicParams->NumSlices = ctx->sRCParams.Slices; in pnw_H264ES_EndPicture()
|
D | pnw_MPEG4ES.c | 390 PIC_PARAMS *psPicParams = (PIC_PARAMS *)(cmdbuf->pic_params_p); in pnw__MPEG4ES_process_slice_param() local 444 psPicParams->sInParams.SeInitQP); in pnw__MPEG4ES_process_slice_param()
|
D | pnw_H263ES.c | 349 PIC_PARAMS *psPicParams = (PIC_PARAMS *)(cmdbuf->pic_params_p); in pnw__H263ES_process_slice_param() local 434 psPicParams->sInParams.SeInitQP); in pnw__H263ES_process_slice_param()
|
D | pnw_hostcode.h | 553 void pnw__setup_rcdata(context_ENC_p ctx, PIC_PARAMS *psPicParams, IMG_RC_PARAMS *rc_params);
|
/hardware/intel/img/psb_video/src/mrst/ |
D | lnc_hostcode.c | 254 PIC_PARAMS *psPicParams; /* PIC_PARAMS has been put in lnc_hostcode.h */ in lnc_RenderPictureParameter() local 262 psPicParams = (PIC_PARAMS *)cmdbuf->pic_params_p; in lnc_RenderPictureParameter() 269 …memset(psPicParams, 0, (int)((unsigned char *)&psPicParams->sInParams - (unsigned char *)psPicPara… in lnc_RenderPictureParameter() 314 psPicParams->SrcYStride = src_surface->psb_surface->stride; in lnc_RenderPictureParameter() 318 psPicParams->SrcUVStride = src_surface->psb_surface->stride / 2; in lnc_RenderPictureParameter() 319 psPicParams->SrcUVRowStride = src_surface->psb_surface->stride * 16 / 2; in lnc_RenderPictureParameter() 323 psPicParams->SrcUVStride = src_surface->psb_surface->stride; in lnc_RenderPictureParameter() 324 psPicParams->SrcUVRowStride = src_surface->psb_surface->stride * 16; in lnc_RenderPictureParameter() 329 psPicParams->SrcYRowStride = src_surface->psb_surface->stride * 16; in lnc_RenderPictureParameter() 339 psPicParams->DstYStride = rec_surface->psb_surface->stride; in lnc_RenderPictureParameter() [all …]
|
D | lnc_H263ES.c | 321 PIC_PARAMS *psPicParams = (PIC_PARAMS *)(cmdbuf->pic_params_p); in lnc__H263ES_process_slice_param() local 340 … RELOC_PIC_PARAMS(&psPicParams->InParamsBase, ctx->in_params_ofs, cmdbuf->topaz_in_params_I); in lnc__H263ES_process_slice_param() 342 … RELOC_PIC_PARAMS(&psPicParams->InParamsBase, ctx->in_params_ofs, cmdbuf->topaz_in_params_P); in lnc__H263ES_process_slice_param() 403 psPicParams->sInParams.SeInitQP); in lnc__H263ES_process_slice_param()
|
D | lnc_MPEG4ES.c | 335 PIC_PARAMS *psPicParams = (PIC_PARAMS *)(cmdbuf->pic_params_p); in lnc__MPEG4ES_process_slice_param() local 345 … RELOC_PIC_PARAMS(&psPicParams->InParamsBase, ctx->in_params_ofs, cmdbuf->topaz_in_params_I); in lnc__MPEG4ES_process_slice_param() 347 … RELOC_PIC_PARAMS(&psPicParams->InParamsBase, ctx->in_params_ofs, cmdbuf->topaz_in_params_P); in lnc__MPEG4ES_process_slice_param() 389 psPicParams->sInParams.SeInitQP); in lnc__MPEG4ES_process_slice_param()
|
D | lnc_H264ES.c | 421 PIC_PARAMS *psPicParams = (PIC_PARAMS *)(cmdbuf->pic_params_p); in lnc__H264ES_process_slice_param() local 428 psPicParams = (PIC_PARAMS *)cmdbuf->pic_params_p; in lnc__H264ES_process_slice_param() 441 … RELOC_PIC_PARAMS(&psPicParams->InParamsBase, ctx->in_params_ofs, cmdbuf->topaz_in_params_I); in lnc__H264ES_process_slice_param() 443 … RELOC_PIC_PARAMS(&psPicParams->InParamsBase, ctx->in_params_ofs, cmdbuf->topaz_in_params_P); in lnc__H264ES_process_slice_param() 537 psPicParams->sInParams.SeInitQP); in lnc__H264ES_process_slice_param()
|
D | lnc_hostcode.h | 523 void lnc__setup_rcdata(context_ENC_p ctx, PIC_PARAMS *psPicParams, IMG_RC_PARAMS *rc_params); 524 void lnc__update_rcdata(context_ENC_p ctx, PIC_PARAMS *psPicParams, IMG_RC_PARAMS *rc_params);
|