1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Support for Intel Camera Imaging ISP subsystem. 4 * Copyright (c) 2015, Intel Corporation. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. 9 * 10 * This program is distributed in the hope it will be useful, but WITHOUT 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 13 * more details. 14 */ 15 16#ifndef __TAG_PUBLIC_H_INCLUDED__ 17#define __TAG_PUBLIC_H_INCLUDED__ 18 19/** 20 * @brief Creates the tag description from the given parameters. 21 * @param[in] num_captures 22 * @param[in] skip 23 * @param[in] offset 24 * @param[out] tag_descr 25 */ 26void 27sh_css_create_tag_descr(int num_captures, 28 unsigned int skip, 29 int offset, 30 unsigned int exp_id, 31 struct sh_css_tag_descr *tag_descr); 32 33/** 34 * @brief Encodes the members of tag description into a 32-bit value. 35 * @param[in] tag Pointer to the tag description 36 * @return (unsigned int) Encoded 32-bit tag-info 37 */ 38unsigned int 39sh_css_encode_tag_descr(struct sh_css_tag_descr *tag); 40 41#endif /* __TAG_PUBLIC_H_INCLUDED__ */ 42