Home
last modified time | relevance | path

Searched refs:VA_INVALID_SURFACE (Results 1 – 25 of 36) 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.c196 obj_surface->surface_id = VA_INVALID_SURFACE;
236 obj_surface->surface_id = VA_INVALID_SURFACE;
252 *surface = VA_INVALID_SURFACE;
360 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesForUserPtr()
384 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesForUserPtr()
406 surface_list[i] = VA_INVALID_SURFACE; in psb_CreateSurfacesForUserPtr()
499 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaceFromKBuf()
522 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaceFromKBuf()
541 *surface = VA_INVALID_SURFACE; in psb_CreateSurfaceFromKBuf()
600 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaceFromUserspace()
[all …]
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()
Dpsb_drv_video.c851 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaces2()
877 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfaces2()
894 surface_list[i] = VA_INVALID_SURFACE; in psb_CreateSurfaces2()
950 surface_list[i] = VA_INVALID_SURFACE; in psb_DestroySurfaces()
2371 else if ((VA_INVALID_SURFACE != driver_data->cur_displaying_surface) /* use overlay */ in psb_SyncSurface()
2479 else if ((VA_INVALID_SURFACE != driver_data->cur_displaying_surface) /* use overlay */ in psb_QuerySurfaceStatus()
3414 driver_data->cur_displaying_surface = VA_INVALID_SURFACE;
3415 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.c171 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
217 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
237 surface_list[i] = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
331 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
452 obj_surface->surface_id = VA_INVALID_SURFACE; in psb_CreateSurfacesFromGralloc()
474 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()
565 if (dpb->picture_id == VA_INVALID_SURFACE) { in updateReferenceFrames()
620 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/utils/ISV/base/
Disv_worker.cpp682 input = VA_INVALID_SURFACE; in process()
699 if (output[i] == VA_INVALID_SURFACE) { in process()
848 if (output[i] == VA_INVALID_SURFACE) { in fill()
903 if (surfaceID == VA_INVALID_SURFACE) in dumpYUVFrameData()
/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()
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()
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()

12