<commit_before>/*
 * gstceutils.h
 *
 * Copyright (C) 2013 RidgeRun, LLC (http://www.ridgerun.com)
 *
 * 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 3 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, see <http://www.gnu.org/licenses>.
 *
 */

#ifndef __GST_CE_UTILS_H__
#define __GST_CE_UTILS_H__

#include <gst/gst.h>

#define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)));

G_BEGIN_DECLS

typedef struct _GstCECodecData GstCECodecData;

struct _GstCECodecData
{
  /* Name of the codec implementation */
  const gchar *name;
  /* Descriptive name for the codec */
  const gchar *long_name;
  /* Capabilities of the codec's input*/
  GstStaticCaps *src_caps;
  /* Capabilities of the codec's output*/
  GstStaticCaps *sink_caps;
  /* Functions to provide custom properties */
  void (*setup)(GObject *);
  void (*install_properties)(GObjectClass *);
  void (*set_property) (GObject *,guint,const GValue *,GParamSpec *);
  void (*get_property)(GObject *,guint,GValue *, GParamSpec *);  
};
 
G_END_DECLS
#endif /*__GST_CE_UTILS_H__*/<commit_msg>Set codecs default debug to ce_debug<commit_after>/*
 * gstceutils.h
 *
 * Copyright (C) 2013 RidgeRun, LLC (http://www.ridgerun.com)
 *
 * 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 3 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, see <http://www.gnu.org/licenses>.
 *
 */

#ifndef __GST_CE_UTILS_H__
#define __GST_CE_UTILS_H__

#include <gst/gst.h>

GST_DEBUG_CATEGORY_EXTERN (ce_debug);
#define GST_CAT_DEFAULT ce_debug

#define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x)));

G_BEGIN_DECLS

typedef struct _GstCECodecData GstCECodecData;

struct _GstCECodecData
{
  /* Name of the codec implementation */
  const gchar *name;
  /* Descriptive name for the codec */
  const gchar *long_name;
  /* Capabilities of the codec's input*/
  GstStaticCaps *src_caps;
  /* Capabilities of the codec's output*/
  GstStaticCaps *sink_caps;
  /* Functions to provide custom properties */
  void (*setup)(GObject *);
  void (*install_properties)(GObjectClass *);
  void (*set_property) (GObject *,guint,const GValue *,GParamSpec *);
  void (*get_property)(GObject *,guint,GValue *, GParamSpec *);  
};
 
G_END_DECLS
#endif /*__GST_CE_UTILS_H__*/
{'fraction_non_alphanumeric': 0.09694350108058043, 'fraction_numerical': 0.0030873726458783574, 'mean_word_length': 4.276872964169381, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5127135', 'n_tokens_mistral': 1055, 'n_tokens_neox': 1016, 'n_words': 367}