Home
last modified time | relevance | path

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

12

/hardware/intel/common/libmix/videoencoder/
DVideoEncoderUtils.cpp268 mVASurface = VA_INVALID_SURFACE; in VASurfaceMap()
279 if (!mTracked && (mVASurface != VA_INVALID_SURFACE)) in ~VASurfaceMap()
292 if (mVASurface == VA_INVALID_SURFACE) { in doMapping()
347 if (mVASurface == VA_INVALID_SURFACE) in doMapping()
387 if (mVASurface != VA_INVALID_SURFACE) { in MappingToVASurface()
460 if (mVASurface == VA_INVALID_SURFACE) in MappingSurfaceID()
499 if (mVASurface == VA_INVALID_SURFACE) in MappingGfxHandle()
511 if (mVASurface == VA_INVALID_SURFACE) in MappingKbufHandle()
524 if (mVASurface == VA_INVALID_SURFACE) in MappingMallocPTR()
696 VASurfaceID surface = VA_INVALID_SURFACE; in CreateSurfaceFromExternalBuf()
[all …]
DVideoEncoderBase.cpp45 ,mRefSurface(VA_INVALID_SURFACE) in VideoEncoderBase()
46 ,mRecSurface(VA_INVALID_SURFACE) in VideoEncoderBase()
336 VASurfaceID sid = VA_INVALID_SURFACE; in encode()
410 task->ref_surface = VA_INVALID_SURFACE; in encode()
411 task->rec_surface = VA_INVALID_SURFACE; in encode()
1494 VASurfaceID surface = VA_INVALID_SURFACE; in getNewUsrptrFromSurface()
1517 if (surface == VA_INVALID_SURFACE) in getNewUsrptrFromSurface()
/hardware/intel/img/psb_video/src/
Dpsb_surface_attrib.c194 obj_surface->surface_id = VA_INVALID_SURFACE;
234 obj_surface->surface_id = VA_INVALID_SURFACE;
250 *surface = VA_INVALID_SURFACE;
358 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesForUserPtr()
382 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesForUserPtr()
403 surface_list[i] = VA_INVALID_SURFACE; in psb_CreateSurfacesForUserPtr()
496 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaceFromKBuf()
519 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.c835 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaces2()
861 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaces2()
877 surface_list[i] = VA_INVALID_SURFACE; in psb_CreateSurfaces2()
933 surface_list[i] = VA_INVALID_SURFACE; in psb_DestroySurfaces()
2344 else if ((VA_INVALID_SURFACE != driver_data->cur_displaying_surface) /* use overlay */ in psb_SyncSurface()
2452 else if ((VA_INVALID_SURFACE != driver_data->cur_displaying_surface) /* use overlay */ in psb_QuerySurfaceStatus()
3387 driver_data->cur_displaying_surface = VA_INVALID_SURFACE;
3388 driver_data->last_displaying_surface = VA_INVALID_SURFACE;
Dtng_VP8.c675 if (pic_params->last_ref_frame != VA_INVALID_SURFACE) { in tng__VP8_process_picture_param()
682 if (pic_params->golden_ref_frame != VA_INVALID_SURFACE) { in tng__VP8_process_picture_param()
689 if (pic_params->alt_ref_frame != VA_INVALID_SURFACE) { in tng__VP8_process_picture_param()
Dpsb_texture.c710 driver_data->cur_displaying_surface = VA_INVALID_SURFACE;
711 driver_data->last_displaying_surface = VA_INVALID_SURFACE;
/hardware/intel/img/psb_video/src/android/
Dpsb_surface_gralloc.c166 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
210 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
230 surface_list[i] = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
323 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
424 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
444 surface_list[i] = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
/hardware/intel/common/libmix/videodecoder/
DVideoDecoderMPEG4.cpp508 picParam->forward_reference_picture = VA_INVALID_SURFACE; in setReference()
509 picParam->backward_reference_picture = VA_INVALID_SURFACE; in setReference()
519 picParam->forward_reference_picture = VA_INVALID_SURFACE; in setReference()
521 picParam->backward_reference_picture = VA_INVALID_SURFACE; in setReference()
531 picParam->forward_reference_picture = VA_INVALID_SURFACE; in setReference()
537 picParam->backward_reference_picture = VA_INVALID_SURFACE; in setReference()
552 picParam->backward_reference_picture = VA_INVALID_SURFACE; in setReference()
DVideoDecoderWMV.cpp240 picParams->inloop_decoded_picture = VA_INVALID_SURFACE; in decodePicture()
345 params->forward_reference_picture = VA_INVALID_SURFACE; in setReference()
353 if (VA_INVALID_SURFACE == params->forward_reference_picture) { in setReference()
359 params->backward_reference_picture = VA_INVALID_SURFACE; in setReference()
369 params->forward_reference_picture = VA_INVALID_SURFACE; in setReference()
370 params->backward_reference_picture = VA_INVALID_SURFACE; in setReference()
DVideoDecoderVP8.cpp317 picParam->last_ref_frame = VA_INVALID_SURFACE; in setReference()
318 picParam->alt_ref_frame = VA_INVALID_SURFACE; in setReference()
319 picParam->golden_ref_frame = VA_INVALID_SURFACE; in setReference()
DVideoDecoderAVC.cpp257 if (mAcquiredBuffer == NULL || mAcquiredBuffer->renderBuffer.surface == VA_INVALID_SURFACE) { in continueDecodingFrame()
428 if (ref->picture_id == VA_INVALID_SURFACE) { in setReference()
558 if (dpb->picture_id == VA_INVALID_SURFACE) { in updateReferenceFrames()
613 return VA_INVALID_SURFACE; in findSurface()
DVideoDecoderBase.cpp1259 … mSurfaceBuffers[i].renderBuffer.surface = VA_INVALID_SURFACE; // set in acquireSurfaceBuffer in initSurfaceBuffer()
1343 if (surface->renderBuffer.surface != VA_INVALID_SURFACE && in querySurfaceRenderStatus()
/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/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/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/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()
Dmpeg2enc.c1027 pic_param->forward_reference_picture = VA_INVALID_SURFACE; in mpeg2enc_update_picture_parameter()
1028 pic_param->backward_reference_picture = VA_INVALID_SURFACE; in mpeg2enc_update_picture_parameter()
1036 pic_param->backward_reference_picture = VA_INVALID_SURFACE; in mpeg2enc_update_picture_parameter()
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()
Davcenc.c452 slice_param->RefPicList0[j].picture_id = VA_INVALID_SURFACE; in avcenc_update_slice_parameter()
461 slice_param->RefPicList1[j].picture_id = VA_INVALID_SURFACE; in avcenc_update_slice_parameter()
/hardware/intel/common/libva/va/
Dva_trace.c1235 if ((p->ReferenceFrames[i].picture_id != VA_INVALID_SURFACE) && in va_TraceVAPictureParameterBufferH264()
1319 if ((p->RefPicList0[i].picture_id != VA_INVALID_SURFACE) && in va_TraceVASliceParameterBufferH264()
1327 if ((p->RefPicList1[i].picture_id != VA_INVALID_SURFACE) && in va_TraceVASliceParameterBufferH264()
1508 if ((p->ReferenceFrames[i].picture_id != VA_INVALID_SURFACE) && in va_TraceVAEncPictureParameterBufferH264()
1610 if ((p->RefPicList0[i].picture_id != VA_INVALID_SURFACE) && in va_TraceVAEncSliceParameterBufferH264()
1624 if ((p->RefPicList1[i].picture_id != VA_INVALID_SURFACE) && in va_TraceVAEncSliceParameterBufferH264()
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp1939 static VASurfaceID zoom_surface_id = VA_INVALID_SURFACE;
3088 VASurfaceID vpp_surface_id = VA_INVALID_SURFACE; in zoom_out_surface()
/hardware/intel/common/libmix/videodecoder/securevideo/merrifield/
DVideoDecoderAVCSecure.cpp444 if (mAcquiredBuffer == NULL || mAcquiredBuffer->renderBuffer.surface == VA_INVALID_SURFACE) { in continueDecodingFrame()

12