include lib_ccx.h instead of ccextractor.h

This commit is contained in:
Anshul Maheshwari 2014-10-07 16:35:30 +05:30
parent 8e940b050a
commit 38d2088db5
31 changed files with 32 additions and 33 deletions

View File

@ -3,7 +3,7 @@ Credits: See CHANGES.TXT
License: GPL 2.0 License: GPL 2.0
*/ */
#include <stdio.h> #include <stdio.h>
#include "ccextractor.h" #include "lib_ccx.h"
#include "configuration.h" #include "configuration.h"
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>

View File

@ -3,7 +3,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <gpac/isomedia.h> #include <gpac/isomedia.h>
#include "ccextractor.h" #include "lib_ccx.h"
#include "utility.h" #include "utility.h"
#include "ccx_encoders_common.h" #include "ccx_encoders_common.h"

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
#include "ccx_encoders_common.h" #include "ccx_encoders_common.h"
#include "png.h" #include "png.h"
#include "spupng_encoder.h" #include "spupng_encoder.h"

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
#include "ccx_encoders_common.h" #include "ccx_encoders_common.h"
#include "png.h" #include "png.h"
#include "spupng_encoder.h" #include "spupng_encoder.h"

View File

@ -1,6 +1,6 @@
#ifndef __608_SPUPNG_H__ #ifndef __608_SPUPNG_H__
#include "ccextractor.h" #include "lib_ccx.h"
#include "spupng_encoder.h" #include "spupng_encoder.h"
#include "ccx_encoders_common.h" #include "ccx_encoders_common.h"

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
#include "ccx_encoders_common.h" #include "ccx_encoders_common.h"
#include "png.h" #include "png.h"
#include "spupng_encoder.h" #include "spupng_encoder.h"

View File

@ -1,7 +1,7 @@
/* This file contains functions that report the user of the GUI of /* This file contains functions that report the user of the GUI of
relevant events. */ relevant events. */
#include "ccextractor.h" #include "lib_ccx.h"
static int credits_shown=0; static int credits_shown=0;
unsigned long net_activity_gui=0; unsigned long net_activity_gui=0;

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
#include "asf_constants.h" #include "asf_constants.h"
// Indicate first / subsequent calls to asf_getmoredata() // Indicate first / subsequent calls to asf_getmoredata()

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
#include <math.h> #include <math.h>
// Functions to parse a AVC/H.264 data stream, see ISO/IEC 14496-10 // Functions to parse a AVC/H.264 data stream, see ISO/IEC 14496-10

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
// Hold functions to read streams on a bit or byte oriented basis // Hold functions to read streams on a bit or byte oriented basis
// plus some data related helper functions. // plus some data related helper functions.

View File

@ -1,4 +1,3 @@
//#include "ccextractor.h"
#include "ccx_decoders_common.h" #include "ccx_decoders_common.h"
#include "ccx_encoders_common.h" #include "ccx_encoders_common.h"
#include "spupng_encoder.h" #include "spupng_encoder.h"

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
#include "configuration.h" #include "configuration.h"
#include <stddef.h> #include <stddef.h>
#define CNF_FILE "ccextractor.cnf" #define CNF_FILE "ccextractor.cnf"

View File

@ -18,7 +18,7 @@
#define MAX_LANGUAGE_PER_DESC 5 #define MAX_LANGUAGE_PER_DESC 5
#include "ccextractor.h" #include "lib_ccx.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
// Functions to parse a mpeg-2 data stream, see ISO/IEC 13818-2 6.2 // Functions to parse a mpeg-2 data stream, see ISO/IEC 13818-2 6.2
static int no_bitstream_error = 0; static int no_bitstream_error = 0;

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
// Parse the user data for captions. The udtype variable denotes // Parse the user data for captions. The udtype variable denotes

View File

@ -13,7 +13,7 @@
#include <libavutil/log.h> #include <libavutil/log.h>
#include <libavutil/error.h> #include <libavutil/error.h>
#include "ccextractor.h" #include "lib_ccx.h"
struct ffmpeg_ctx struct ffmpeg_ctx
{ {
AVFormatContext *ifmt; AVFormatContext *ifmt;

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
long FILEBUFFERSIZE = 1024*1024*16; // 16 Mbytes no less. Minimize number of real read calls() long FILEBUFFERSIZE = 1024*1024*16; // 16 Mbytes no less. Minimize number of real read calls()
LLONG buffered_read_opt_file (unsigned char *buffer, unsigned int bytes); LLONG buffered_read_opt_file (unsigned char *buffer, unsigned int bytes);

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
#ifdef _WIN32 #ifdef _WIN32
#include <io.h> #include <io.h>
#else #else

View File

@ -1,7 +1,7 @@
/* This code comes from MythTV. /* This code comes from MythTV.
For now, integration with ccextractor is a quick hack. It could get better with time. */ For now, integration with ccextractor is a quick hack. It could get better with time. */
#include "ccextractor.h" #include "lib_ccx.h"
#include "ccx_decoders_608.h" #include "ccx_decoders_608.h"
#ifdef _WIN32 #ifdef _WIN32
#include <io.h> #include <io.h>

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
#include "networking.h" #include "networking.h"
#include <stdio.h> #include <stdio.h>

View File

@ -1,5 +1,5 @@
#include "png.h" #include "png.h"
#include "ccextractor.h" #include "lib_ccx.h"
#ifdef ENABLE_OCR #ifdef ENABLE_OCR
#include "platform.h" #include "platform.h"
#include "capi.h" #include "capi.h"

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
#ifdef _WIN32 #ifdef _WIN32
#include <io.h> #include <io.h>
#else #else

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
#include "utility.h" #include "utility.h"
static int inputfile_capacity=0; static int inputfile_capacity=0;

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
void params_dump(void) void params_dump(void)
{ {

View File

@ -1,10 +1,10 @@
#include "ccextractor.h" #include "lib_ccx.h"
// Defined by the maximum number of B-Frames per anchor frame. // Defined by the maximum number of B-Frames per anchor frame.
//#define MAXBFRAMES 50 - from ccextractor.h //#define MAXBFRAMES 50 - from lib_ccx.h
// They can be (temporally) before or after the anchor. Reserve // They can be (temporally) before or after the anchor. Reserve
// enough space. // enough space.
//#define SORTBUF (2*MAXBFRAMES+1) - from ccextractor.h //#define SORTBUF (2*MAXBFRAMES+1) - from lib_ccx.h
// B-Frames can be (temporally) before or after the anchor // B-Frames can be (temporally) before or after the anchor
int cc_data_count[SORTBUF]; int cc_data_count[SORTBUF];
// Store fts; // Store fts;

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
#ifdef _WIN32 #ifdef _WIN32
#include <io.h> #include <io.h>
#else #else

View File

@ -28,7 +28,7 @@ Werner Brückner -- Teletext in digital television
*/ */
#include "ccextractor.h" #include "lib_ccx.h"
#include "hamming.h" #include "hamming.h"
#include "teletext.h" #include "teletext.h"
#include <signal.h> #include <signal.h>

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
unsigned char tspacket[188]; // Current packet unsigned char tspacket[188]; // Current packet

View File

@ -5,7 +5,7 @@
PMT specs: ISO13818-1 / table 2-28 PMT specs: ISO13818-1 / table 2-28
*/ */
#include "ccextractor.h" #include "lib_ccx.h"
#include "dvb_subtitle_decoder.h" #include "dvb_subtitle_decoder.h"
#include "utility.h" #include "utility.h"
static unsigned pmt_warning_shown=0; // Only display warning once static unsigned pmt_warning_shown=0; // Only display warning once

View File

@ -1,5 +1,5 @@
#include <signal.h> #include <signal.h>
#include "ccextractor.h" #include "lib_ccx.h"
static char *text; static char *text;
static int text_size=0; static int text_size=0;

View File

@ -1,4 +1,4 @@
#include "ccextractor.h" #include "lib_ccx.h"
#include "wtv_constants.h" #include "wtv_constants.h"
int check_stream_id(int stream_id, int video_streams[], int num_streams); int check_stream_id(int stream_id, int video_streams[], int num_streams);