intel_batchbuffer_flush(batch);
}
-static void
+static VAStatus
gen6_mfd_decode_picture(VADriverContextP ctx,
VAProfile profile,
union codec_state *codec_state,
assert(0);
break;
}
+
+ return VA_STATUS_SUCCESS;
}
static void
intel_batchbuffer_flush(batch);
}
-static void
+static VAStatus
gen75_mfd_decode_picture(VADriverContextP ctx,
VAProfile profile,
union codec_state *codec_state,
assert(0);
break;
}
+
+ return VA_STATUS_SUCCESS;
}
static void
return va_status;
}
-void
+VAStatus
gen75_proc_picture(VADriverContextP ctx,
VAProfile profile,
union codec_state *codec_state,
}
gen75_vpp_vebox(ctx, proc_ctx);
}
+
+ return VA_STATUS_SUCCESS;
}
static void
intel_batchbuffer_flush(batch);
}
-static void
+static VAStatus
gen7_mfd_decode_picture(VADriverContextP ctx,
VAProfile profile,
union codec_state *codec_state,
assert(0);
break;
}
+
+ return VA_STATUS_SUCCESS;
}
static void
}
assert(obj_context->hw_context->run);
- obj_context->hw_context->run(ctx, obj_config->profile, &obj_context->codec_state, obj_context->hw_context);
-
- return VA_STATUS_SUCCESS;
+ return obj_context->hw_context->run(ctx, obj_config->profile, &obj_context->codec_state, obj_context->hw_context);
}
VAStatus
struct hw_context
{
- void (*run)(VADriverContextP ctx,
- VAProfile profile,
- union codec_state *codec_state,
- struct hw_context *hw_context);
+ VAStatus (*run)(VADriverContextP ctx,
+ VAProfile profile,
+ union codec_state *codec_state,
+ struct hw_context *hw_context);
void (*destroy)(void *);
struct intel_batchbuffer *batch;
};
encoder_context->is_tmp_id = 1;
}
-static void
+static VAStatus
intel_encoder_end_picture(VADriverContextP ctx,
VAProfile profile,
union codec_state *codec_state,
if (vaStatus == VA_STATUS_SUCCESS)
encoder_context->mfc_pipeline(ctx, profile, encode_state, encoder_context);
+ return VA_STATUS_SUCCESS;
}
static void
}
}
-static void
+static VAStatus
i965_media_decode_picture(VADriverContextP ctx,
VAProfile profile,
union codec_state *codec_state,
media_context->media_states_setup(ctx, decode_state, media_context);
i965_media_pipeline_setup(ctx, decode_state, media_context);
intel_batchbuffer_flush(hw_context->batch);
+
+ return VA_STATUS_SUCCESS;
}
static void
I965_SURFACE_FLAG_BOTTOME_FIELD_FIRST
};
-void
+VAStatus
i965_proc_picture(VADriverContextP ctx,
VAProfile profile,
union codec_state *codec_state,
num_tmp_surfaces);
intel_batchbuffer_flush(hw_context->batch);
+
+ return VA_STATUS_SUCCESS;
}
static void