#include "visl.h"
#include "visl-debugfs.h"
#include "visl-dec.h"
#include "visl-trace-fwht.h"
#include "visl-trace-mpeg2.h"
#include "visl-trace-vp8.h"
#include "visl-trace-vp9.h"
#include "visl-trace-h264.h"
#include "visl-trace-hevc.h"
#include "visl-trace-av1.h"
#include <linux/delay.h>
#include <linux/workqueue.h>
#include <media/v4l2-mem2mem.h>
#include <media/tpg/v4l2-tpg.h>
#define LAST_BUF_IDX …
#define LAST2_BUF_IDX …
#define LAST3_BUF_IDX …
#define GOLDEN_BUF_IDX …
#define BWD_BUF_IDX …
#define ALT2_BUF_IDX …
#define ALT_BUF_IDX …
static void *plane_vaddr(struct tpg_data *tpg, struct vb2_buffer *buf,
u32 p, u32 bpl[TPG_MAX_PLANES], u32 h)
{ … }
static void visl_print_ts_idx(u8 **buf, __kernel_size_t *buflen, const char *name,
u64 ts, struct vb2_buffer *vb2_buf)
{ … }
static void visl_get_ref_frames(struct visl_ctx *ctx, u8 *buf,
__kernel_size_t buflen, struct visl_run *run)
{ … }
static char *visl_get_vb2_state(enum vb2_buffer_state state)
{ … }
static int visl_fill_bytesused(struct vb2_v4l2_buffer *v4l2_vb2_buf, char *buf, size_t bufsz)
{ … }
static void visl_tpg_fill_sequence(struct visl_ctx *ctx,
struct visl_run *run, char buf[], size_t bufsz)
{ … }
static bool visl_tpg_fill_codec_specific(struct visl_ctx *ctx,
struct visl_run *run,
char buf[], size_t bufsz)
{ … }
static void visl_tpg_fill(struct visl_ctx *ctx, struct visl_run *run)
{ … }
static void visl_trace_ctrls(struct visl_ctx *ctx, struct visl_run *run)
{ … }
void visl_device_run(void *priv)
{ … }