/* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef JPEG_H #define JPEG_H … /* * Insert a JPEG header at start of frame * * This module is used by the gspca subdrivers. * A special case is done for Conexant webcams. * * Copyright (C) Jean-Francois Moine (http://moinejf.free.fr) */ /* * generation options * CONEX_CAM Conexant if present */ /* JPEG header */ static const u8 jpeg_head[] = …; /* define the JPEG header */ static void jpeg_define(u8 *jpeg_hdr, int height, int width, int samplesY) { … } /* set the JPEG quality */ static void jpeg_set_qual(u8 *jpeg_hdr, int quality) { … } #endif