Home
last modified time | relevance | path

Searched refs:picture_id (Results 1 – 14 of 14) sorted by relevance

/hardware/intel/common/libmix/videodecoder/
DVideoDecoderAVC.cpp427 ref->picture_id = findSurface(ref); in setReference()
428 if (ref->picture_id == VA_INVALID_SURFACE) { in setReference()
435 ref->picture_id = mLastReference->renderBuffer.surface; in setReference()
456 picParam->CurrPic.picture_id = mAcquiredBuffer->renderBuffer.surface; in updateDPB()
464 ref->picture_id = findSurface(ref); in updateDPB()
557 dpb->picture_id = findSurface(refList); in updateReferenceFrames()
558 if (dpb->picture_id == VA_INVALID_SURFACE) { in updateReferenceFrames()
560 dpb->picture_id = mLastReference->renderBuffer.surface; in updateReferenceFrames()
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderAVC.cpp1148 avcPicParams.ReferenceFrames[RefFrmIdx].picture_id = VA_INVALID_ID; in renderPictureParams()
1151 avcPicParams.ReferenceFrames[0].picture_id= task->ref_surface; in renderPictureParams()
1153 avcPicParams.CurrPic.picture_id= task->rec_surface; in renderPictureParams()
1180 avcPicParams.CurrPic.picture_id= VA_INVALID_SURFACE; in renderPictureParams()
1182 avcPicParams.ReferenceFrames[i].picture_id = mAutoRefSurfaces[i]; in renderPictureParams()
1191 LOG_V( "reference_picture = 0x%08x\n", avcPicParams.ReferenceFrames[0].picture_id); in renderPictureParams()
1192 LOG_V( "reconstructed_picture = 0x%08x\n", avcPicParams.CurrPic.picture_id); in renderPictureParams()
1360 currentSlice->RefPicList0[RefFrmIdx].picture_id = VA_INVALID_ID; in renderSliceParams()
1363 currentSlice->RefPicList0[0].picture_id = task->ref_surface; in renderSliceParams()
/hardware/intel/img/psb_video/src/
Dpnw_H264.c298 object_surface_p ref_surface = SURFACE(pic->picture_id); in PICTURE2INDEX()
547 static uint32_t get_interpic_dpbidx(context_H264_p ctx, uint32_t picture_id) in get_interpic_dpbidx() argument
553 if (ctx->map_picture_id_to_dpbidx[dpbidx] == picture_id) in get_interpic_dpbidx()
569 ctx->map_picture_id_to_dpbidx[dpbidx] = picture_id; in get_interpic_dpbidx()
694 object_surface_p ref_surface = SURFACE(pic_params->ReferenceFrames[i].picture_id); in psb__H264_process_picture_param()
696 dpbidx = get_interpic_dpbidx(ctx, pic_params->ReferenceFrames[i].picture_id); in psb__H264_process_picture_param()
1025 object_surface_p colocated_surface = SURFACE(slice_param->RefPicList1[0].picture_id); in psb__H264_build_B_slice_chunk()
1083 object_surface_p surface = SURFACE(slice_param->RefPicList0[i].picture_id); in psb__H264_build_B_slice_chunk()
1163 int picture_id = ctx->obj_context->current_render_target->surface_id; in psb__H264_build_rendec_params() local
1165 if (ctx->map_picture_id_to_dpbidx[i] == (unsigned int)picture_id) in psb__H264_build_rendec_params()
[all …]
Dtng_H264ES.c812 ps_buf->ref_surface = SURFACE(psPicParams->ReferenceFrames[0].picture_id);
817 ps_buf->rec_surface = SURFACE(psPicParams->CurrPic.picture_id);
819 ps_buf->ref_surface[i] = SURFACE(psPicParams->ReferenceFrames[i].picture_id);
887 ps_buf->rec_surface = SURFACE(psPicParams->CurrPic.picture_id); in tng__H264ES_process_picture_param_base()
888 ps_buf->ref_surface = SURFACE(psPicParams->ReferenceFrames[0].picture_id); in tng__H264ES_process_picture_param_base()
889 ps_buf->ref_surface1 = SURFACE(psPicParams->ReferenceFrames[1].picture_id); in tng__H264ES_process_picture_param_base()
894 ps_buf->rec_surface = SURFACE(psPicParams->CurrPic.picture_id); in tng__H264ES_process_picture_param_base()
896 ps_buf->ref_surface[i] = SURFACE(psPicParams->ReferenceFrames[i].picture_id); in tng__H264ES_process_picture_param_base()
Dtng_trace.c1156 …G_GENERAL, "%s: CurrPic.picture_id = 0x%08x\n",__FUNCTION__, psTracePicParams->CurrPic.picture_id); in tng_H264ES_trace_pic_params()
1159 …"%s: ReferenceFrames[0] = 0x%08x\n",__FUNCTION__, psTracePicParams->ReferenceFrames[0].picture_id); in tng_H264ES_trace_pic_params()
1160 …"%s: ReferenceFrames[1] = 0x%08x\n",__FUNCTION__, psTracePicParams->ReferenceFrames[1].picture_id); in tng_H264ES_trace_pic_params()
1161 …"%s: ReferenceFrames[2] = 0x%08x\n",__FUNCTION__, psTracePicParams->ReferenceFrames[2].picture_id); in tng_H264ES_trace_pic_params()
1162 …"%s: ReferenceFrames[3] = 0x%08x\n",__FUNCTION__, psTracePicParams->ReferenceFrames[3].picture_id); in tng_H264ES_trace_pic_params()
Dpnw_H264ES.c609 ctx->ref_surface = SURFACE(pBuffer->ReferenceFrames[0].picture_id); in pnw__H264ES_process_picture_param()
610 ctx->dest_surface = SURFACE(pBuffer->CurrPic.picture_id); in pnw__H264ES_process_picture_param()
/hardware/intel/common/libva/test/encode/
Davcenc.c331 pic_param->CurrPic.picture_id = surface_ids[SID_RECON_PICTURE]; in avcenc_update_picture_parameter()
333 pic_param->ReferenceFrames[0].picture_id = surface_ids[SID_REFERENCE_PICTURE_L0]; in avcenc_update_picture_parameter()
334 pic_param->ReferenceFrames[1].picture_id = surface_ids[SID_REFERENCE_PICTURE_L1]; in avcenc_update_picture_parameter()
335 pic_param->ReferenceFrames[2].picture_id = VA_INVALID_ID; in avcenc_update_picture_parameter()
450 slice_param->RefPicList0[0].picture_id = surface_ids[SID_REFERENCE_PICTURE_L0]; in avcenc_update_slice_parameter()
452 slice_param->RefPicList0[j].picture_id = VA_INVALID_SURFACE; in avcenc_update_slice_parameter()
459 slice_param->RefPicList1[0].picture_id = surface_ids[SID_REFERENCE_PICTURE_L1]; in avcenc_update_slice_parameter()
461 slice_param->RefPicList1[j].picture_id = VA_INVALID_SURFACE; in avcenc_update_slice_parameter()
Dh264encode.c1401 pic_param.CurrPic.picture_id = ref_surface[current_slot]; in render_picture()
1420 pic_param.ReferenceFrames[i].picture_id = VA_INVALID_SURFACE; in render_picture()
1639 slice_param.RefPicList0[i].picture_id = VA_INVALID_SURFACE; in render_slice()
1648 slice_param.RefPicList0[i].picture_id = VA_INVALID_SURFACE; in render_slice()
1654 slice_param.RefPicList1[i].picture_id = VA_INVALID_SURFACE; in render_slice()
/hardware/intel/common/libva/va/
Dva_dec_hevc.h70 VASurfaceID picture_id; member
Dva_trace.c1226 va_TraceMsg(trace_ctx, "\tCurrPic.picture_id = 0x%08x\n", p->CurrPic.picture_id); in va_TraceVAPictureParameterBufferH264()
1235 if ((p->ReferenceFrames[i].picture_id != VA_INVALID_SURFACE) && in va_TraceVAPictureParameterBufferH264()
1240 p->ReferenceFrames[i].picture_id, in va_TraceVAPictureParameterBufferH264()
1319 if ((p->RefPicList0[i].picture_id != VA_INVALID_SURFACE) && in va_TraceVASliceParameterBufferH264()
1321 …ieldOrderCnt, p->RefPicList0[i].BottomFieldOrderCnt, p->RefPicList0[i].picture_id, p->RefPicList0[… in va_TraceVASliceParameterBufferH264()
1327 if ((p->RefPicList1[i].picture_id != VA_INVALID_SURFACE) && in va_TraceVASliceParameterBufferH264()
1329 …ieldOrderCnt, p->RefPicList1[i].BottomFieldOrderCnt, p->RefPicList1[i].picture_id, p->RefPicList1[… in va_TraceVASliceParameterBufferH264()
1500 va_TraceMsg(trace_ctx, "\tCurrPic.picture_id = 0x%08x\n", p->CurrPic.picture_id); in va_TraceVAEncPictureParameterBufferH264()
1508 if ((p->ReferenceFrames[i].picture_id != VA_INVALID_SURFACE) && in va_TraceVAEncPictureParameterBufferH264()
1513 p->ReferenceFrames[i].picture_id, in va_TraceVAEncPictureParameterBufferH264()
[all …]
Dva.h2124 VASurfaceID picture_id; member
/hardware/intel/img/psb_video/src/mrst/
Dpsb_H264.c291 object_surface_p ref_surface = SURFACE(pic->picture_id); in PICTURE2INDEX()
706 object_surface_p ref_surface = SURFACE(pic_params->ReferenceFrames[i].picture_id); in psb__H264_process_picture_param()
912 object_surface_p colocated_surface = SURFACE(slice_param->RefPicList1[0].picture_id); in psb__H264_build_B_slice_chunk()
970 object_surface_p surface = SURFACE(slice_param->RefPicList0[i].picture_id); in psb__H264_build_B_slice_chunk()
1182 object_surface_p ref_surface = SURFACE(slice_param->RefPicList0[i].picture_id); in psb__H264_build_rendec_params()
1196 object_surface_p ref_surface = SURFACE(slice_param->RefPicList1[i].picture_id); in psb__H264_build_rendec_params()
1209 object_surface_p ref_surface = SURFACE(pic_params->ReferenceFrames[i].picture_id); in psb__H264_build_rendec_params()
Dlnc_H264ES.c334 ctx->ref_surface = SURFACE(pBuffer->ReferenceFrames[0].picture_id); in lnc__H264ES_process_picture_param()
335 ctx->dest_surface = SURFACE(pBuffer->CurrPic.picture_id); in lnc__H264ES_process_picture_param()
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp2138 pic_param->CurrPic.picture_id = surface_ids[SID_RECON_PICTURE]; in avcenc_update_picture_parameter()
2140 pic_param->ReferenceFrames[0].picture_id = surface_ids[SID_REFERENCE_PICTURE_L0]; in avcenc_update_picture_parameter()
2141 pic_param->ReferenceFrames[1].picture_id = surface_ids[SID_REFERENCE_PICTURE_L1]; in avcenc_update_picture_parameter()
2142 pic_param->ReferenceFrames[2].picture_id = VA_INVALID_ID; in avcenc_update_picture_parameter()