vlc  3.0.16
About: VLC (VideoLAN Client) is a multimedia player for various audio and video formats (MPEG-1/2/4, DivX, MP3, Vorbis, Ogg, ...) as well as DVDs, Audio CDs, VCDs, and various streaming protocols.
  Fossies Dox: vlc-3.0.16.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

chromaprint.c File Reference
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_input.h>
#include <vlc_block.h>
#include <vlc_sout.h>
#include <assert.h>
#include <chromaprint.h>
#include "chromaprint_data.h"
Include dependency graph for chromaprint.c:

Go to the source code of this file.


struct  sout_stream_sys_t
 mosaic_bridge.c: More...
struct  sout_stream_id_sys_t


#define DURATION_TEXT   N_("Duration of the fingerprinting" )
 Module descriptor. More...
#define DURATION_LONGTEXT   N_("Default: 90sec")


static int Open (vlc_object_t *)
 chromaprint.c: Chromaprint Fingerprinter Module More...
static void Close (vlc_object_t *p_this)
 Close: More...
static sout_stream_id_sys_tAdd (sout_stream_t *, const es_format_t *)
static void Del (sout_stream_t *, sout_stream_id_sys_t *)
static int Send (sout_stream_t *, sout_stream_id_sys_t *, block_t *)
int vlc_entry__MODULE_NAME (vlc_set_cb, void *)
static void Finish (sout_stream_t *p_stream)

Macro Definition Documentation



Definition at line 89 of file chromaprint.c.


#define DURATION_LONGTEXT   N_("Default: 90sec")

Definition at line 58 of file chromaprint.c.


#define DURATION_TEXT   N_("Duration of the fingerprinting" )

Module descriptor.

Definition at line 57 of file chromaprint.c.

Function Documentation

◆ Add()

◆ Close()

static void Close ( vlc_object_t p_this)

◆ Del()

static void Del ( sout_stream_t p_stream,
sout_stream_id_sys_t id 

Definition at line 205 of file chromaprint.c.

References Finish(), free(), sout_stream_sys_t::id, and p_stream.

Referenced by Open().

◆ Finish()

◆ Open()

static int Open ( vlc_object_t p_this)

chromaprint.c: Chromaprint Fingerprinter Module


Copyright (C) 2012 VLC authors and VideoLAN

This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. Preamble Exported prototypes

< Not enough memory

< Variable not found

< Unspecified error

< No error

Definition at line 94 of file chromaprint.c.

References Add(), sout_stream_sys_t::b_done, sout_stream_sys_t::b_finished, Del(), free(), sout_stream_sys_t::i_duration, sout_stream_sys_t::i_total_samples, sout_stream_sys_t::id, malloc(), msg_Dbg, msg_Err, sout_stream_sys_t::p_chromaprint_ctx, sout_stream_sys_t::p_data, p_stream, Send(), unlikely, var_InheritAddress, var_InheritInteger, VLC_EGENERIC, VLC_ENOMEM, VLC_ENOVAR, and VLC_SUCCESS.

◆ Send()

◆ vlc_entry__MODULE_NAME()

int vlc_entry__MODULE_NAME ( vlc_set_cb  vlc_set,
void *  opaque 

Definition at line 60 of file chromaprint.c.