linux/drivers/media/platform/verisilicon/hantro_hevc.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Hantro VPU HEVC codec driver
 *
 * Copyright (C) 2020 Safran Passenger Innovations LLC
 */

#include <linux/types.h>
#include <media/v4l2-mem2mem.h>

#include "hantro.h"
#include "hantro_hw.h"

#define VERT_FILTER_RAM_SIZE
/*
 * BSD control data of current picture at tile border
 * 128 bits per 4x4 tile = 128/(8*4) bytes per row
 */
#define BSD_CTRL_RAM_SIZE
/* tile border coefficients of filter */
#define VERT_SAO_RAM_SIZE

#define SCALING_LIST_SIZE

#define MAX_TILE_COLS
#define MAX_TILE_ROWS

void hantro_hevc_ref_init(struct hantro_ctx *ctx)
{}

dma_addr_t hantro_hevc_get_ref_buf(struct hantro_ctx *ctx,
				   s32 poc)
{}

int hantro_hevc_add_ref_buf(struct hantro_ctx *ctx, int poc, dma_addr_t addr)
{}

static int tile_buffer_reallocate(struct hantro_ctx *ctx)
{}

static int hantro_hevc_validate_sps(struct hantro_ctx *ctx, const struct v4l2_ctrl_hevc_sps *sps)
{}

int hantro_hevc_dec_prepare_run(struct hantro_ctx *ctx)
{}

void hantro_hevc_dec_exit(struct hantro_ctx *ctx)
{}

int hantro_hevc_dec_init(struct hantro_ctx *ctx)
{}