mesa/src/intel/decoder/intel_decoder_private.h
Caio Oliveira 0669210ef4 intel/decoder: Add ELK support
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27563>
2024-02-24 00:24:31 +00:00

25 lines
1 KiB
C

/*
* Copyright © 2017 Intel Corporation
* SPDX-License-Identifier: MIT
*/
#ifndef INTEL_DECODER_PRIVATE_H
#define INTEL_DECODER_PRIVATE_H
#include "intel_decoder.h"
void intel_batch_decode_ctx_init(struct intel_batch_decode_ctx *ctx,
const struct intel_device_info *devinfo,
FILE *fp, enum intel_batch_decode_flags flags,
const char *xml_path,
struct intel_batch_decode_bo (*get_bo)(void *,
bool,
uint64_t),
unsigned (*get_state_size)(void *, uint64_t,
uint64_t),
void *user_data);
struct intel_batch_decode_bo
ctx_get_bo(struct intel_batch_decode_ctx *ctx, bool ppgtt, uint64_t addr);
#endif /* INTEL_DECODER_PRIVATE_H */