Home
last modified time | relevance | path

Searched refs:ref_surface (Results 1 – 24 of 24) sorted by relevance

/hardware/intel/img/psb_video/src/
Dtng_MPEG4ES.c332 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()
335 ps_buf->ref_surface[0]->is_ref_surface = ps_buf->ref_surface[2]->is_ref_surface = 1; in tng__MPEG4ES_process_picture_param()
336 ps_buf->ref_surface[1]->is_ref_surface = ps_buf->ref_surface[3]->is_ref_surface = 1; in tng__MPEG4ES_process_picture_param()
338 ps_buf->ref_surface = SURFACE(psPicParams->reference_picture); in tng__MPEG4ES_process_picture_param()
Dtng_H263ES.c320 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()
323 ps_buf->ref_surface[0]->is_ref_surface = ps_buf->ref_surface[2]->is_ref_surface = 1; in tng__H263ES_process_picture_param()
324 ps_buf->ref_surface[1]->is_ref_surface = ps_buf->ref_surface[3]->is_ref_surface = 1; in tng__H263ES_process_picture_param()
326 ps_buf->ref_surface = SURFACE(psPicParams->reference_picture); in tng__H263ES_process_picture_param()
Dpnw_hostcode.c718 object_surface_p ref_surface; in pnw_RenderPictureParameter() local
745 ctx->ref_surface = ctx->dest_surface; in pnw_RenderPictureParameter()
747 ref_surface = ctx->ref_surface; in pnw_RenderPictureParameter()
752 CLEAR_SURFACE_INFO_skipped_flag(ref_surface->psb_surface); in pnw_RenderPictureParameter()
1067 ctx->previous_ref_surface = ctx->ref_surface; in pnw_EndPicture()
1857 object_surface_p ref_surface; in pnw__send_encode_slice_params() local
1866 ref_surface = ctx->ref_surface; in pnw__send_encode_slice_params()
1867 psRef = &ctx->ref_surface->psb_surface->buf; in pnw__send_encode_slice_params()
1883 psSliceParams->RefYStride = ref_surface->psb_surface->stride; in pnw__send_encode_slice_params()
1884 psSliceParams->RefUVStride = ref_surface->psb_surface->stride; in pnw__send_encode_slice_params()
[all …]
Dtng_picmgmt.c732 object_surface_p ref_surface = ps_buf->ref_surface[ui32refindex]; in tng_send_ref_frames() local
737 ref_surface = ps_buf->ref_surface; in tng_send_ref_frames()
741 ref_surface = ps_buf->ref_surface1; in tng_send_ref_frames()
746 srf_buf_offset = ref_surface->psb_surface->buf.buffer_ofs; in tng_send_ref_frames()
750 ui32CmdData, &(ref_surface->psb_surface->buf), 0); in tng_send_ref_frames()
Dpnw_H264.c299 object_surface_p ref_surface = SURFACE(pic->picture_id); in PICTURE2INDEX() local
300 if (ref_surface) { in PICTURE2INDEX()
301 result = GET_SURFACE_INFO_dpb_idx(ref_surface->psb_surface); in PICTURE2INDEX()
698 object_surface_p ref_surface = SURFACE(ctx->map_dpbidx_to_picture_id[dpbidx]); in psb__H264_process_picture_param() local
699 if (!ref_surface) { in psb__H264_process_picture_param()
704 SET_SURFACE_INFO_dpb_idx(ref_surface->psb_surface, dpbidx); in psb__H264_process_picture_param()
714 object_surface_p ref_surface = SURFACE(pic_params->ReferenceFrames[i].picture_id); in psb__H264_process_picture_param() local
715 if (ref_surface) { in psb__H264_process_picture_param()
716 dpbidx = GET_SURFACE_INFO_dpb_idx(ref_surface->psb_surface); in psb__H264_process_picture_param()
1291 object_surface_p ref_surface = SURFACE(ctx->map_dpbidx_to_picture_id[dpbidx]); in psb__H264_build_rendec_params() local
[all …]
Dtng_hostcode.h171 object_surface_p ref_surface; member
174 object_surface_p ref_surface[16]; member
Dtng_H264ES.c812 ps_buf->ref_surface = SURFACE(psPicParams->ReferenceFrames[0].picture_id);
819 ps_buf->ref_surface[i] = SURFACE(psPicParams->ReferenceFrames[i].picture_id);
888 ps_buf->ref_surface = SURFACE(psPicParams->ReferenceFrames[0].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()
897 ps_buf->ref_surface[i]->is_ref_surface = 1; in tng__H264ES_process_picture_param_base()
Dpnw_hostcode.h233 object_surface_p ref_surface; member
Dpnw_MPEG4ES.c336 ctx->ref_surface = SURFACE(pBuffer->reference_picture); in pnw__MPEG4ES_process_picture_param()
Dpnw_H263ES.c292 ctx->ref_surface = SURFACE(pBuffer->reference_picture); in pnw__H263ES_process_picture_param()
Dpnw_H264ES.c609 ctx->ref_surface = SURFACE(pBuffer->ReferenceFrames[0].picture_id); in pnw__H264ES_process_picture_param()
Dtng_hostcode.c3068 &(ps_buf->ref_surface[i]->psb_surface->buf), 0, 0); in tng__setvideo_cmdbuf()
3601 ps_buf->previous_ref_surface = ps_buf->ref_surface; in tng__end_one_frame()
3603 ps_buf->previous_ref_surface = ps_buf->ref_surface[0]; in tng__end_one_frame()
/hardware/intel/img/psb_video/src/mrst/
Dlnc_hostcode.c258 object_surface_p ref_surface; in lnc_RenderPictureParameter() local
289 ctx->ref_surface = ctx->dest_surface; in lnc_RenderPictureParameter()
291 ref_surface = ctx->ref_surface; in lnc_RenderPictureParameter()
292 if (NULL == ref_surface) { in lnc_RenderPictureParameter()
300 CLEAR_SURFACE_INFO_skipped_flag(ref_surface->psb_surface); in lnc_RenderPictureParameter()
650 ctx->previous_ref_surface = ctx->ref_surface; in lnc_EndPicture()
1360 object_surface_p ref_surface; in lnc__send_encode_slice_params() local
1365 ref_surface = ctx->ref_surface; in lnc__send_encode_slice_params()
1366 psRef = &ctx->ref_surface->psb_surface->buf; in lnc__send_encode_slice_params()
1381 psSliceParams->RefYStride = ref_surface->psb_surface->stride; in lnc__send_encode_slice_params()
[all …]
Dpsb_H264.c291 object_surface_p ref_surface = SURFACE(pic->picture_id); in PICTURE2INDEX() local
292 if (ref_surface) { in PICTURE2INDEX()
293 result = GET_SURFACE_INFO_dpb_idx(ref_surface->psb_surface); in PICTURE2INDEX()
706 object_surface_p ref_surface = SURFACE(pic_params->ReferenceFrames[i].picture_id); in psb__H264_process_picture_param() local
710 if (ref_surface) { in psb__H264_process_picture_param()
711 SET_SURFACE_INFO_dpb_idx(ref_surface->psb_surface, i); in psb__H264_process_picture_param()
1182 object_surface_p ref_surface = SURFACE(slice_param->RefPicList0[i].picture_id); in psb__H264_build_rendec_params() local
1183 if (ref_surface) { in psb__H264_build_rendec_params()
1184 uint32_t idx = GET_SURFACE_INFO_dpb_idx(ref_surface->psb_surface); 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() local
[all …]
Dlnc_hostcode.h178 object_surface_p ref_surface; member
Dlnc_H263ES.c267 ctx->ref_surface = SURFACE(pBuffer->reference_picture); in lnc__H263ES_process_picture_param()
Dlnc_MPEG4ES.c298 ctx->ref_surface = SURFACE(pBuffer->reference_picture); in lnc__MPEG4ES_process_picture_param()
Dlnc_H264ES.c334 ctx->ref_surface = SURFACE(pBuffer->ReferenceFrames[0].picture_id); in lnc__H264ES_process_picture_param()
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderH263.cpp98 h263PictureParams.reference_picture = task->ref_surface; in renderPictureParams()
DVideoEncoderBase.h40 VASurfaceID ref_surface; member
DVideoEncoderMP4.cpp186 mpeg4_pic_param.reference_picture = task->ref_surface; in renderPictureParams()
DVideoEncoderAVC.cpp1151 avcPicParams.ReferenceFrames[0].picture_id= task->ref_surface; in renderPictureParams()
1363 currentSlice->RefPicList0[0].picture_id = task->ref_surface; in renderSliceParams()
DVideoEncoderBase.cpp398 task->ref_surface = mRefSurface; in encode()
410 task->ref_surface = VA_INVALID_SURFACE; in encode()
/hardware/intel/common/libva/test/encode/
Dh264encode.c84 static VASurfaceID ref_surface[SURFACE_NUM]; variable
1136 &ref_surface[0], SURFACE_NUM, in setup_encode()
1143 memcpy(tmp_surfaceid + SURFACE_NUM, ref_surface, SURFACE_NUM * sizeof(VASurfaceID)); in setup_encode()
1401 pic_param.CurrPic.picture_id = ref_surface[current_slot]; in render_picture()
1906 save_recyuv(ref_surface[display_order % SURFACE_NUM], display_order, encode_order); in storage_task()
2038 vaDestroySurfaces(va_dpy,&ref_surface[0],SURFACE_NUM); in release_encode()