linux/drivers/media/pci/ivtv/ivtv-streams.c

/*
    init/start/stop/exit stream functions
    Copyright (C) 2003-2004  Kevin Thayer <nufan_wfk at yahoo.com>
    Copyright (C) 2004  Chris Kennedy <[email protected]>
    Copyright (C) 2005-2007  Hans Verkuil <[email protected]>

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

/* License: GPL
 * Author: Kevin Thayer <nufan_wfk at yahoo dot com>
 *
 * This file will hold API related functions, both internal (firmware api)
 * and external (v4l2, etc)
 *
 * -----
 * MPG600/MPG160 support by  T.Adachi <[email protected]>
 *                      and Takeru KOMORIYA<[email protected]>
 *
 * AVerMedia M179 GPIO info by Chris Pinkham <[email protected]>
 *                using information provided by Jiun-Kuei Jung @ AVerMedia.
 */

#include "ivtv-driver.h"
#include "ivtv-fileops.h"
#include "ivtv-queue.h"
#include "ivtv-mailbox.h"
#include "ivtv-ioctl.h"
#include "ivtv-irq.h"
#include "ivtv-yuv.h"
#include "ivtv-cards.h"
#include "ivtv-streams.h"
#include "ivtv-firmware.h"
#include <media/v4l2-event.h>

static const struct v4l2_file_operations ivtv_v4l2_enc_fops =;

static const struct v4l2_file_operations ivtv_v4l2_dec_fops =;

static const struct v4l2_file_operations ivtv_v4l2_radio_fops =;

#define IVTV_V4L2_DEC_MPG_OFFSET
#define IVTV_V4L2_ENC_PCM_OFFSET
#define IVTV_V4L2_ENC_YUV_OFFSET
#define IVTV_V4L2_DEC_YUV_OFFSET
#define IVTV_V4L2_DEC_VBI_OFFSET
#define IVTV_V4L2_DEC_VOUT_OFFSET

static struct {} ivtv_stream_info[] =;

static void ivtv_stream_init(struct ivtv *itv, int type)
{}

static int ivtv_prep_dev(struct ivtv *itv, int type)
{}

/* Initialize v4l2 variables and prepare v4l2 devices */
int ivtv_streams_setup(struct ivtv *itv)
{}

static int ivtv_reg_dev(struct ivtv *itv, int type)
{}

/* Register v4l2 devices */
int ivtv_streams_register(struct ivtv *itv)
{}

/* Unregister v4l2 devices */
void ivtv_streams_cleanup(struct ivtv *itv)
{}

static void ivtv_vbi_setup(struct ivtv *itv)
{}

int ivtv_start_v4l2_encode_stream(struct ivtv_stream *s)
{}
EXPORT_SYMBOL();

static int ivtv_setup_v4l2_decode_stream(struct ivtv_stream *s)
{}

int ivtv_start_v4l2_decode_stream(struct ivtv_stream *s, int gop_offset)
{}

void ivtv_stop_all_captures(struct ivtv *itv)
{}

int ivtv_stop_v4l2_encode_stream(struct ivtv_stream *s, int gop_end)
{}
EXPORT_SYMBOL();

int ivtv_stop_v4l2_decode_stream(struct ivtv_stream *s, int flags, u64 pts)
{}

int ivtv_passthrough_mode(struct ivtv *itv, int enable)
{}