Lines Matching refs:vaStatus
107 static VAStatus pnw_jpeg_ValidateConfig(
129 static VAStatus pnw_jpeg_CreateContext(
133 VAStatus vaStatus = VA_STATUS_SUCCESS;
140 vaStatus = pnw_CreateContext(obj_context, obj_config, 1);
141 if (VA_STATUS_SUCCESS != vaStatus)
227 return vaStatus;
252 static VAStatus pnw_jpeg_BeginPicture(
256 VAStatus vaStatus = VA_STATUS_SUCCESS;
268 vaStatus = VA_STATUS_ERROR_UNKNOWN;
269 return vaStatus;
274 vaStatus = psb_buffer_map(&cmdbuf->pic_params, &cmdbuf->pic_params_p);
275 if (vaStatus) {
276 return vaStatus;
278 vaStatus = psb_buffer_map(&cmdbuf->header_mem, &cmdbuf->header_mem_p);
279 if (vaStatus) {
281 return vaStatus;
309 return vaStatus;
312 static VAStatus pnw__jpeg_process_picture_param(context_ENC_p ctx, object_buffer_p obj_buffer)
314 VAStatus vaStatus = VA_STATUS_SUCCESS;
427 vaStatus = psb_buffer_map(ctx->coded_buf->psb_buffer, (unsigned char **)&jpeg_ctx->jpeg_coded_buf.pMemInfo);
428 if (vaStatus) {
430 return vaStatus;
455 return vaStatus;
458 static VAStatus pnw__jpeg_process_qmatrix_param(context_ENC_p ctx, object_buffer_p obj_buffer)
460 VAStatus vaStatus = VA_STATUS_SUCCESS;
488 return vaStatus;
492 static VAStatus pnw_jpeg_RenderPicture(
498 VAStatus vaStatus = VA_STATUS_SUCCESS;
509 vaStatus = pnw__jpeg_process_qmatrix_param(ctx, obj_buffer);
514 vaStatus = pnw__jpeg_process_picture_param(ctx, obj_buffer);
520 vaStatus = VA_STATUS_SUCCESS;
524 vaStatus = VA_STATUS_ERROR_UNKNOWN;
529 return vaStatus;
533 static inline VAStatus pnw_OutputResetIntervalToCB(IMG_UINT8 *pui8Buf, IMG_UINT8 ui8_marker)
548 static VAStatus pnw_jpeg_EndPicture(
556 VAStatus vaStatus = VA_STATUS_SUCCESS;
570 vaStatus = VA_STATUS_ERROR_UNKNOWN;
572 return vaStatus;
591 vaStatus = VA_STATUS_ERROR_UNKNOWN;
593 return vaStatus;
614 vaStatus = VA_STATUS_ERROR_UNKNOWN;
615 return vaStatus;
622 VAStatus pnw_jpeg_AppendMarkers(object_context_p obj_context, unsigned char *raw_coded_buf)