Lines Matching refs:VAStatus
96 VAStatus psb_cmdbuf_create(object_context_p obj_context, psb_driver_data_p driver_data,
100 VAStatus vaStatus = VA_STATUS_SUCCESS;
128 vaStatus = VA_STATUS_ERROR_ALLOCATION_FAILED;
130 if (VA_STATUS_SUCCESS == vaStatus) {
131 vaStatus = psb_buffer_create(driver_data, size, psb_bt_cpu_vpu, &cmdbuf->buf);
134 if (VA_STATUS_SUCCESS == vaStatus) {
135 vaStatus = psb_buffer_create(driver_data, reloc_size, psb_bt_cpu_only, &cmdbuf->reloc_buf);
138 if (VA_STATUS_SUCCESS == vaStatus) {
139 vaStatus = psb_buffer_create(driver_data, regio_size, psb_bt_cpu_only, &cmdbuf->regio_buf);
143 if (VA_STATUS_SUCCESS != vaStatus) {
146 return vaStatus;