xref: /aosp_15_r20/external/mesa3d/src/intel/decoder/intel_decoder_private.h (revision 6104692788411f58d303aa86923a9ff6ecaded22)
1 /*
2  * Copyright © 2017 Intel Corporation
3  * SPDX-License-Identifier: MIT
4  */
5 
6 #ifndef INTEL_DECODER_PRIVATE_H
7 #define INTEL_DECODER_PRIVATE_H
8 
9 #include "intel_decoder.h"
10 
11 void intel_batch_decode_ctx_init(struct intel_batch_decode_ctx *ctx,
12                                  const struct intel_device_info *devinfo,
13                                  FILE *fp, enum intel_batch_decode_flags flags,
14                                  const char *xml_path,
15                                  struct intel_batch_decode_bo (*get_bo)(void *,
16                                                                         bool,
17                                                                         uint64_t),
18                                  unsigned (*get_state_size)(void *, uint64_t,
19                                                             uint64_t),
20                                  void *user_data);
21 
22 struct intel_batch_decode_bo
23 ctx_get_bo(struct intel_batch_decode_ctx *ctx, bool ppgtt, uint64_t addr);
24 
25 #endif /* INTEL_DECODER_PRIVATE_H */
26