/hardware/intel/common/libmix/videoencoder/ |
VideoEncoderAVC.cpp | 816 VAStatus vaStatus = VA_STATUS_SUCCESS; 828 vaStatus = vaCreateBuffer( 835 vaStatus = vaMapBuffer(mVADisplay, miscParamBufferID, (void **)&miscEncParamBuf); 843 vaStatus = vaUnmapBuffer(mVADisplay, miscParamBufferID); 848 vaStatus = vaRenderPicture(mVADisplay, mVAContext, &miscParamBufferID, 1); 855 VAStatus vaStatus = VA_STATUS_SUCCESS; 862 vaStatus = vaCreateBuffer(mVADisplay, mVAContext, 870 vaStatus = vaMapBuffer(mVADisplay, miscParamBufferCIRid, (void **)&misc_param) [all...] |
VideoEncoderMP4.cpp | 128 VAStatus vaStatus = VA_STATUS_SUCCESS; 164 vaStatus = vaCreateBuffer( 172 vaStatus = vaRenderPicture(mVADisplay, mVAContext, &mSeqParamBuf, 1); 181 VAStatus vaStatus = VA_STATUS_SUCCESS; 209 vaStatus = vaCreateBuffer( 217 vaStatus = vaRenderPicture(mVADisplay, mVAContext, &mPicParamBuf, 1); 226 VAStatus vaStatus = VA_STATUS_SUCCESS [all...] |
VideoEncoderBase.cpp | 71 VAStatus vaStatus = VA_STATUS_SUCCESS; 86 vaStatus = vaInitialize(mVADisplay, &majorVersion, &minorVersion); 88 if (vaStatus != VA_STATUS_SUCCESS) { 89 LOG_E( "Failed vaInitialize, vaStatus = %d\n", vaStatus); 96 VAStatus vaStatus = VA_STATUS_SUCCESS; 100 vaStatus = vaTerminate(mVADisplay); 102 if (vaStatus != VA_STATUS_SUCCESS) [all...] |
/hardware/intel/img/psb_video/src/ |
vsp_vp8.c | 102 static VAStatus vsp__VP8_check_legal_picture(object_context_p obj_context, object_config_p obj_config); 137 static VAStatus vsp_VP8_ValidateConfig( 197 static VAStatus vsp_VP8_CreateContext( 201 VAStatus vaStatus = VA_STATUS_SUCCESS; 208 vaStatus = VA_STATUS_ERROR_ALLOCATION_FAILED; 210 return vaStatus; 243 vaStatus = VA_STATUS_ERROR_ALLOCATION_FAILED; 248 vaStatus = psb_buffer_create(obj_context->driver_data, VSP_VP8ENC_STATE_SIZE, psb_bt_vpu_only, ctx->context_buf); 250 if (VA_STATUS_SUCCESS != vaStatus) { [all...] |
psb_drv_video.c | 153 VAStatus psb_QueryConfigProfiles( 162 VAStatus vaStatus = VA_STATUS_SUCCESS; 201 VAStatus psb_QueryConfigEntrypoints( 210 VAStatus vaStatus = VA_STATUS_SUCCESS; 249 static VAStatus psb__error_unsupported_profile_entrypoint(psb_driver_data_p driver_data, VAProfile profile, VAEntrypoint __maybe_unused entrypoint) 269 VAStatus psb_GetConfigAttributes( 288 VAStatus vaStatus = VA_STATUS_SUCCESS [all...] |
pnw_H264ES.c | 83 static VAStatus pnw_H264ES_ValidateConfig( 104 static VAStatus pnw_H264ES_CreateContext( 108 VAStatus vaStatus = VA_STATUS_SUCCESS; 115 vaStatus = pnw_CreateContext(obj_context, obj_config, 0); 117 if (VA_STATUS_SUCCESS != vaStatus) 183 return vaStatus; 194 static VAStatus pnw_H264ES_BeginPicture( 198 VAStatus vaStatus = VA_STATUS_SUCCESS [all...] |
psb_buffer.c | 64 VAStatus psb_buffer_create(psb_driver_data_p driver_data, 70 VAStatus vaStatus = VA_STATUS_SUCCESS; 140 vaStatus = VA_STATUS_ERROR_UNKNOWN; 142 return vaStatus; 147 vaStatus = VA_STATUS_ERROR_ALLOCATION_FAILED; 149 return vaStatus; 204 VAStatus psb_buffer_create_from_ub(psb_driver_data_p driver_data, 213 VAStatus vaStatus = VA_STATUS_SUCCESS [all...] |
tng_cmdbuf.c | 122 VAStatus tng_cmdbuf_create( 129 VAStatus vaStatus = VA_STATUS_SUCCESS; 142 vaStatus = VA_STATUS_ERROR_ALLOCATION_FAILED; 145 if (VA_STATUS_SUCCESS == vaStatus) { 146 vaStatus = psb_buffer_create(driver_data, size, psb_bt_cpu_only, &cmdbuf->buf); 150 if (VA_STATUS_SUCCESS != vaStatus) { 156 return vaStatus; 165 vaStatus = psb_buffer_create(driver_data, COMM_CMD_FRAME_BUF_NUM * cmdbuf->mem_size, psb_bt_cpu_vpu, &cmdbuf->frame_mem); 166 if (VA_STATUS_SUCCESS != vaStatus) { [all...] |
psb_drv_video.h | 666 VAStatus(*validateConfig)( 669 VAStatus(*createContext)( 676 VAStatus(*beginPicture)( 679 VAStatus(*renderPicture)( 684 VAStatus(*endPicture)( 782 VAStatus psb__checkSurfaceDimensions(psb_driver_data_p driver_data, int width, int height); 792 vaStatus = VA_STATUS_ERROR_INVALID_SURFACE; \ 794 return vaStatus; \ 801 vaStatus = VA_STATUS_ERROR_INVALID_CONFIG; \ 803 return vaStatus; \ [all...] |
tng_hostcode.c | 122 VAStatus tng__alloc_init_buffer( 129 VAStatus vaStatus = VA_STATUS_SUCCESS; 130 vaStatus = psb_buffer_create(driver_data, size, type, buf); 131 if (VA_STATUS_SUCCESS != vaStatus) { 133 return vaStatus; 136 vaStatus = psb_buffer_map(buf, &pch_virt_addr); 138 if ((vaStatus) || (pch_virt_addr == NULL)) { 146 return vaStatus; 149 static VAStatus tng__alloc_context_buffer(context_ENC_p ctx, IMG_UINT8 ui8IsJpeg, IMG_UINT32 ui32StreamID [all...] |
tng_VP8.c | 424 static VAStatus tng_VP8_ValidateConfig( 448 static VAStatus tng_VP8_process_buffer(context_DEC_p dec_ctx, object_buffer_p buffer); 450 static VAStatus tng_VP8_CreateContext( 453 VAStatus vaStatus = VA_STATUS_SUCCESS; 459 vaStatus = VA_STATUS_ERROR_ALLOCATION_FAILED; 461 return vaStatus; 486 if (vaStatus == VA_STATUS_SUCCESS) { 487 vaStatus = psb_buffer_create(obj_context->driver_data, 495 if (vaStatus == VA_STATUS_SUCCESS) [all...] |
pnw_hostcode.c | 48 /*static VAStatus pnw_DetectFrameSkip(context_ENC_p ctx);*/ 371 static VAStatus pnw__alloc_context_buffer(context_ENC_p ctx, unsigned char is_JPEG) 374 VAStatus vaStatus = VA_STATUS_SUCCESS; 406 vaStatus = psb_buffer_create(ctx->obj_context->driver_data, ctx->in_params_size, psb_bt_cpu_vpu, &ctx->topaz_in_params_I); 407 if (VA_STATUS_SUCCESS != vaStatus) { 408 return vaStatus; 411 vaStatus = psb_buffer_create(ctx->obj_context->driver_data, ctx->in_params_size, psb_bt_cpu_vpu, &ctx->topaz_in_params_P); 412 if (VA_STATUS_SUCCESS != vaStatus) { 414 return vaStatus; [all...] |
/hardware/intel/common/libva/va/x11/ |
va_x11.c | 77 static VAStatus va_DRI2GetDriverName ( 90 static VAStatus va_DRIGetDriverName ( 103 static VAStatus va_NVCTRL_GetDriverName ( 126 static VAStatus va_FGLRX_GetDriverName ( 144 static VAStatus va_DisplayContextGetDriverName ( 149 VAStatus vaStatus; 156 vaStatus = va_DRI2GetDriverName(pDisplayContext, driver_name); 157 if (vaStatus != VA_STATUS_SUCCESS) 158 vaStatus = va_DRIGetDriverName(pDisplayContext, driver_name) [all...] |
/hardware/intel/img/psb_video/src/mrst/ |
lnc_hostcode.c | 49 static VAStatus lnc__alloc_context_buffer(context_ENC_p ctx) 52 VAStatus vaStatus = VA_STATUS_SUCCESS; 83 vaStatus = psb_buffer_create(ctx->obj_context->driver_data, ctx->in_params_size, psb_bt_cpu_vpu, &ctx->topaz_in_params_I); 84 vaStatus |= psb_buffer_create(ctx->obj_context->driver_data, ctx->in_params_size, psb_bt_cpu_vpu, &ctx->topaz_in_params_P); 85 vaStatus |= psb_buffer_create(ctx->obj_context->driver_data, ctx->above_params_size + ctx->bellow_params_size, psb_bt_cpu_vpu, &ctx->topaz_above_bellow_params); 91 return vaStatus; 138 VAStatus lnc_CreateContext( 144 VAStatus vaStatus; [all...] |
lnc_cmdbuf.c | 72 VAStatus lnc_cmdbuf_create( 78 VAStatus vaStatus = VA_STATUS_SUCCESS; 91 vaStatus = VA_STATUS_ERROR_ALLOCATION_FAILED; 93 if (VA_STATUS_SUCCESS == vaStatus) { 94 vaStatus = psb_buffer_create(driver_data, size, psb_bt_cpu_only, &cmdbuf->buf); 98 if (VA_STATUS_SUCCESS != vaStatus) { 102 return vaStatus; 106 vaStatus = psb_buffer_create(driver_data, ctx->pic_params_size, psb_bt_cpu_vpu, &cmdbuf->pic_params); 107 if (VA_STATUS_SUCCESS != vaStatus) [all...] |
psb_MPEG4.c | 366 static VAStatus psb_MPEG4_ValidateConfig( 385 static VAStatus psb__MPEG4_check_legal_picture(object_context_p obj_context, object_config_p obj_config) 387 VAStatus vaStatus = VA_STATUS_SUCCESS; 390 vaStatus = VA_STATUS_ERROR_INVALID_CONTEXT; 392 return vaStatus; 396 vaStatus = VA_STATUS_ERROR_INVALID_CONFIG; 398 return vaStatus; 411 vaStatus = VA_STATUS_ERROR_RESOLUTION_NOT_SUPPORTED; 416 vaStatus = VA_STATUS_ERROR_UNSUPPORTED_PROFILE [all...] |
lnc_H264ES.c | 89 static VAStatus lnc_H264ES_ValidateConfig( 110 static VAStatus lnc_H264ES_CreateContext( 114 VAStatus vaStatus = VA_STATUS_SUCCESS; 121 vaStatus = lnc_CreateContext(obj_context, obj_config); 123 if (VA_STATUS_SUCCESS != vaStatus) 176 return vaStatus; 195 static VAStatus lnc_H264ES_BeginPicture( 199 VAStatus vaStatus = VA_STATUS_SUCCESS [all...] |
psb_MPEG2.c | 540 static VAStatus psb_MPEG2_ValidateConfig( 559 static VAStatus psb__MPEG2_check_legal_picture(object_context_p obj_context, object_config_p obj_config) 561 VAStatus vaStatus = VA_STATUS_SUCCESS; 564 vaStatus = VA_STATUS_ERROR_INVALID_CONTEXT; 566 return vaStatus; 570 vaStatus = VA_STATUS_ERROR_INVALID_CONFIG; 572 return vaStatus; 586 vaStatus = VA_STATUS_ERROR_RESOLUTION_NOT_SUPPORTED; 593 vaStatus = VA_STATUS_ERROR_RESOLUTION_NOT_SUPPORTED [all...] |
psb_H264.c | 310 static VAStatus psb_H264_ValidateConfig( 329 static VAStatus psb__H264_check_legal_picture(object_context_p obj_context, object_config_p obj_config) 331 VAStatus vaStatus = VA_STATUS_SUCCESS; 334 vaStatus = VA_STATUS_ERROR_INVALID_CONTEXT; 336 return vaStatus; 340 vaStatus = VA_STATUS_ERROR_INVALID_CONFIG; 342 return vaStatus; 356 vaStatus = VA_STATUS_ERROR_RESOLUTION_NOT_SUPPORTED; 365 vaStatus = VA_STATUS_ERROR_RESOLUTION_NOT_SUPPORTED [all...] |
/hardware/intel/common/libmix/videodecoder/ |
VideoDecoderTrace.h | 80 if (vaStatus != VA_STATUS_SUCCESS) {\ 81 ETRACE(FUNC" failed. vaStatus = 0x%x", vaStatus);\
|
VideoDecoderMPEG2.cpp | 208 VAStatus vaStatus; 221 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); 226 vaStatus = vaCreateBuffer( 237 vaStatus = vaCreateBuffer( 249 vaStatus = vaCreateBuffer( 264 vaStatus = vaCreateBuffer( 276 vaStatus = vaRenderPicture( 283 vaStatus = vaEndPicture(mVADisplay, mVAContext); 411 VAStatus vaStatus [all...] |
VideoDecoderVP8.cpp | 259 VAStatus vaStatus = VA_STATUS_SUCCESS; 270 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); 275 vaStatus = vaCreateBuffer( 286 vaStatus = vaCreateBuffer( 297 vaStatus = vaCreateBuffer( 310 vaStatus = vaCreateBuffer( 321 vaStatus = vaCreateBuffer( 333 vaStatus = vaRenderPicture( 340 vaStatus = vaEndPicture(mVADisplay, mVAContext) [all...] |
/hardware/intel/common/libmix/videodecoder/securevideo/merrifield/ |
VideoDecoderAVCSecure.cpp | 475 VAStatus vaStatus; 484 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); 487 vaStatus = vaCreateBuffer( 498 vaStatus = vaMapBuffer( 506 vaStatus = vaUnmapBuffer( 512 vaStatus = vaCreateBuffer( 548 vaStatus = vaCreateBuffer( 558 vaStatus = vaRenderPicture( 565 vaStatus = vaMapBuffer [all...] |
/hardware/intel/common/libmix/videodecoder/securevideo/moorefield/ |
VideoDecoderAVCSecure.cpp | 495 VAStatus vaStatus; 504 vaStatus = vaBeginPicture(mVADisplay, mVAContext, mAcquiredBuffer->renderBuffer.surface); 507 vaStatus = vaCreateBuffer( 518 vaStatus = vaMapBuffer( 526 vaStatus = vaUnmapBuffer( 532 vaStatus = vaCreateBuffer( 568 vaStatus = vaCreateBuffer( 578 vaStatus = vaRenderPicture( 585 vaStatus = vaMapBuffer [all...] |
/hardware/intel/img/psb_video/src/x11/ |
psb_x11.c | 104 static VAStatus psb_putsurface_x11( 126 VAStatus vaStatus = VA_STATUS_SUCCESS; 151 vaStatus = VA_STATUS_ERROR_INVALID_SURFACE; 153 return vaStatus; 168 vaStatus = VA_STATUS_ERROR_UNKNOWN; 174 vaStatus = VA_STATUS_ERROR_UNKNOWN; 198 vaStatus = VA_STATUS_ERROR_UNKNOWN; 220 vaStatus = VA_STATUS_ERROR_ALLOCATION_FAILED; 263 return vaStatus; [all...] |