Home
last modified time | relevance | path

Searched refs:VA_INVALID_SURFACE (Results 1 – 25 of 44) sorted by relevance

12

/hardware/intel/common/libmix/videoencoder/
DVideoEncoderUtils.cpp257 mVASurface = VA_INVALID_SURFACE; in VASurfaceMap()
268 if (!mTracked && (mVASurface != VA_INVALID_SURFACE)) in ~VASurfaceMap()
281 if (mVASurface == VA_INVALID_SURFACE) { in doMapping()
336 if (mVASurface == VA_INVALID_SURFACE) in doMapping()
376 if (mVASurface != VA_INVALID_SURFACE) { in MappingToVASurface()
448 if (mVASurface == VA_INVALID_SURFACE) in MappingSurfaceID()
487 if (mVASurface == VA_INVALID_SURFACE) in MappingGfxHandle()
499 if (mVASurface == VA_INVALID_SURFACE) in MappingKbufHandle()
512 if (mVASurface == VA_INVALID_SURFACE) in MappingMallocPTR()
683 VASurfaceID surface = VA_INVALID_SURFACE; in CreateSurfaceFromExternalBuf()
[all …]
DVideoEncoderBase.cpp48 ,mRefSurface(VA_INVALID_SURFACE) in VideoEncoderBase()
49 ,mRecSurface(VA_INVALID_SURFACE) in VideoEncoderBase()
339 VASurfaceID sid = VA_INVALID_SURFACE; in encode()
413 task->ref_surface = VA_INVALID_SURFACE; in encode()
414 task->rec_surface = VA_INVALID_SURFACE; in encode()
1499 VASurfaceID surface = VA_INVALID_SURFACE; in getNewUsrptrFromSurface()
1522 if (surface == VA_INVALID_SURFACE) in getNewUsrptrFromSurface()
/hardware/intel/img/psb_video/src/
Dpsb_surface_attrib.c192 obj_surface->surface_id = VA_INVALID_SURFACE;
232 obj_surface->surface_id = VA_INVALID_SURFACE;
248 *surface = VA_INVALID_SURFACE;
356 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesForUserPtr()
380 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesForUserPtr()
402 surface_list[i] = VA_INVALID_SURFACE; in psb_CreateSurfacesForUserPtr()
495 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaceFromKBuf()
518 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaceFromKBuf()
537 *surface = VA_INVALID_SURFACE; in psb_CreateSurfaceFromKBuf()
596 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaceFromUserspace()
[all …]
Dpsb_drv_video.c905 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaces2()
931 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaces2()
948 surface_list[i] = VA_INVALID_SURFACE; in psb_CreateSurfaces2()
1005 obj_context->render_targets[j] = VA_INVALID_SURFACE; in psb_DestroySurfaces()
1016 surface_list[i] = VA_INVALID_SURFACE; in psb_DestroySurfaces()
1230 obj_context->render_targets[i] = VA_INVALID_SURFACE; in psb_CreateContext()
2504 else if ((VA_INVALID_SURFACE != driver_data->cur_displaying_surface) /* use overlay */ in psb_SyncSurface()
2612 else if ((VA_INVALID_SURFACE != driver_data->cur_displaying_surface) /* use overlay */ in psb_QuerySurfaceStatus()
3555 driver_data->cur_displaying_surface = VA_INVALID_SURFACE;
3556 driver_data->last_displaying_surface = VA_INVALID_SURFACE;
Dpnw_H264.c432 ctx->map_dpbidx_to_picture_id[i] = VA_INVALID_SURFACE; in pnw_H264_CreateContext()
675 ctx->map_dpbidx_to_picture_id[i] = VA_INVALID_SURFACE; in psb__H264_process_picture_param()
683 if (VA_INVALID_SURFACE == ctx->map_dpbidx_to_picture_id[dpbidx]) { in psb__H264_process_picture_param()
697 if (VA_INVALID_SURFACE != ctx->map_dpbidx_to_picture_id[dpbidx]) { in psb__H264_process_picture_param()
1290 if (VA_INVALID_SURFACE != ctx->map_dpbidx_to_picture_id[dpbidx]) { in psb__H264_build_rendec_params()
/hardware/intel/img/psb_video/src/android/
Dpsb_surface_gralloc.c175 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
222 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
242 surface_list[i] = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
334 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
474 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
496 surface_list[i] = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
/hardware/intel/common/libva/test/basic/
Dtest_07.c45 ASSERT(surface_list1[i] != VA_INVALID_SURFACE); in test_unique_surfaces()
46 ASSERT(surface_list2[j] != VA_INVALID_SURFACE); in test_unique_surfaces()
Dtest_08.c42 ASSERT(surface_list[i] != VA_INVALID_SURFACE); in test_unique_surfaces()
/hardware/intel/common/libmix/videodecoder/
DVideoDecoderMPEG4.cpp543 picParam->forward_reference_picture = VA_INVALID_SURFACE; in setReference()
544 picParam->backward_reference_picture = VA_INVALID_SURFACE; in setReference()
554 picParam->forward_reference_picture = VA_INVALID_SURFACE; in setReference()
556 picParam->backward_reference_picture = VA_INVALID_SURFACE; in setReference()
566 picParam->forward_reference_picture = VA_INVALID_SURFACE; in setReference()
572 picParam->backward_reference_picture = VA_INVALID_SURFACE; in setReference()
587 picParam->backward_reference_picture = VA_INVALID_SURFACE; in setReference()
DVideoDecoderWMV.cpp272 picParams->inloop_decoded_picture = VA_INVALID_SURFACE; in decodePicture()
377 params->forward_reference_picture = VA_INVALID_SURFACE; in setReference()
385 if (VA_INVALID_SURFACE == params->forward_reference_picture) { in setReference()
391 params->backward_reference_picture = VA_INVALID_SURFACE; in setReference()
401 params->forward_reference_picture = VA_INVALID_SURFACE; in setReference()
402 params->backward_reference_picture = VA_INVALID_SURFACE; in setReference()
DVideoDecoderMPEG2.cpp306 picParam->forward_reference_picture = VA_INVALID_SURFACE; in setReference()
307 picParam->backward_reference_picture = VA_INVALID_SURFACE; in setReference()
314 picParam->forward_reference_picture = VA_INVALID_SURFACE; in setReference()
316 picParam->backward_reference_picture = VA_INVALID_SURFACE; in setReference()
DVideoDecoderVP8.cpp364 picParam->last_ref_frame = VA_INVALID_SURFACE; in setReference()
365 picParam->alt_ref_frame = VA_INVALID_SURFACE; in setReference()
366 picParam->golden_ref_frame = VA_INVALID_SURFACE; in setReference()
DVideoDecoderAVC.cpp271 if (mAcquiredBuffer == NULL || mAcquiredBuffer->renderBuffer.surface == VA_INVALID_SURFACE) { in continueDecodingFrame()
442 if (ref->picture_id == VA_INVALID_SURFACE) { in setReference()
579 if (dpb->picture_id == VA_INVALID_SURFACE) { in updateReferenceFrames()
634 return VA_INVALID_SURFACE; in findSurface()
/hardware/intel/img/psb_video/src/x11/
Dpsb_xvva.c633 obj_rotate_surface->surface_id = VA_INVALID_SURFACE; in psb_check_rotatesurface()
648 obj_rotate_surface->surface_id = VA_INVALID_SURFACE; in psb_check_rotatesurface()
735 driver_data->cur_displaying_surface = VA_INVALID_SURFACE; in psb_putsurface_xvideo()
736 driver_data->last_displaying_surface = VA_INVALID_SURFACE; in psb_putsurface_xvideo()
817 if (driver_data->cur_displaying_surface != VA_INVALID_SURFACE) in psb_putsurface_xvideo()
822 driver_data->cur_displaying_surface = VA_INVALID_SURFACE; in psb_putsurface_xvideo()
823 driver_data->last_displaying_surface = VA_INVALID_SURFACE; in psb_putsurface_xvideo()
/hardware/intel/common/libva/test/common/
Dva_display_x11.c116 if (surface == VA_INVALID_SURFACE) in va_put_surface_x11()
/hardware/intel/common/libmix/mix_video/src/
Dmixvideoformat_vc1.c1051 pic_params->forward_reference_picture = VA_INVALID_SURFACE; in mix_videofmt_vc1_decode_a_picture()
1061 if (VA_INVALID_SURFACE == pic_params->forward_reference_picture) in mix_videofmt_vc1_decode_a_picture()
1078 pic_params->backward_reference_picture = VA_INVALID_SURFACE; in mix_videofmt_vc1_decode_a_picture()
1103 pic_params->forward_reference_picture = VA_INVALID_SURFACE; in mix_videofmt_vc1_decode_a_picture()
1104 pic_params->backward_reference_picture = VA_INVALID_SURFACE; in mix_videofmt_vc1_decode_a_picture()
1129 pic_params->inloop_decoded_picture = VA_INVALID_SURFACE; in mix_videofmt_vc1_decode_a_picture()
1357 gulong frameid = VA_INVALID_SURFACE; in mix_videofmt_vc1_process_decode()
Dmixvideoformat_mp42.c818 gulong frame_id = VA_INVALID_SURFACE; in mix_videofmt_mp42_process_decode()
914 picture_param->forward_reference_picture = VA_INVALID_SURFACE; in mix_videofmt_mp42_process_decode()
915 picture_param->backward_reference_picture = VA_INVALID_SURFACE; in mix_videofmt_mp42_process_decode()
921 picture_param-> backward_reference_picture = VA_INVALID_SURFACE; in mix_videofmt_mp42_process_decode()
Dmixvideoframe.c41 self->frame_id = VA_INVALID_SURFACE; in mix_videoframe_init()
/hardware/intel/common/libva/test/putsurface/
Dputsurface_common.c346 return VA_INVALID_SURFACE; in get_next_free_surface()
423 VASurfaceID surface_id = VA_INVALID_SURFACE; in putsurface_thread()
425 while (surface_id == VA_INVALID_SURFACE) in putsurface_thread()
/hardware/intel/common/utils/ISV/base/
Disv_worker.cpp697 input = VA_INVALID_SURFACE; in process()
714 if (output[i] == VA_INVALID_SURFACE) { in process()
863 if (output[i] == VA_INVALID_SURFACE) { in fill()
918 if (surfaceID == VA_INVALID_SURFACE) in dumpYUVFrameData()
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dvbp_h264_parser.c300 refPicListX->picture_id = VA_INVALID_SURFACE; in vbp_set_slice_ref_list_h264()
439 pic_parms->ReferenceFrames[frame_idx].picture_id = VA_INVALID_SURFACE; in vbp_set_reference_frames_h264()
854 pic_parms->CurrPic.picture_id = VA_INVALID_SURFACE; in vbp_add_pic_data_h264()
1014 pRefFrame->picture_id = VA_INVALID_SURFACE;
1032 pRefFrame->picture_id = VA_INVALID_SURFACE;
Dvbp_vc1_parser.c737 pic_parms->forward_reference_picture = VA_INVALID_SURFACE; in vbp_pack_picture_params_vc1()
738 pic_parms->backward_reference_picture = VA_INVALID_SURFACE; in vbp_pack_picture_params_vc1()
739 pic_parms->inloop_decoded_picture = VA_INVALID_SURFACE; in vbp_pack_picture_params_vc1()
/hardware/intel/common/libva/va/glx/
Dva_glx_impl.c752 pSurfaceGLX->surface = VA_INVALID_SURFACE; in create_surface()
925 pSurfaceGLX->surface = VA_INVALID_SURFACE; in deassociate_surface()
968 if (pSurfaceGLX->surface == VA_INVALID_SURFACE) in sync_surface()
/hardware/intel/common/libva/test/encode/
Dh264encode.c1420 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()
Dmpeg2vaenc.c1043 pic_param->forward_reference_picture = VA_INVALID_SURFACE; in mpeg2enc_update_picture_parameter()
1044 pic_param->backward_reference_picture = VA_INVALID_SURFACE; in mpeg2enc_update_picture_parameter()
1052 pic_param->backward_reference_picture = VA_INVALID_SURFACE; in mpeg2enc_update_picture_parameter()

12