Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gst-plugins-base
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
George Kiagiadakis
gst-plugins-base
Commits
35bec595
Commit
35bec595
authored
Jun 15, 2011
by
Wim Taymans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpegcolorspace: remove plugin
parent
db0a2f51
Changes
16
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
5 additions
and
8820 deletions
+5
-8820
configure.ac
configure.ac
+0
-7
docs/plugins/Makefile.am
docs/plugins/Makefile.am
+1
-2
gst/ffmpegcolorspace/Makefile.am
gst/ffmpegcolorspace/Makefile.am
+0
-37
gst/ffmpegcolorspace/avcodec.h
gst/ffmpegcolorspace/avcodec.h
+0
-285
gst/ffmpegcolorspace/dsputil.c
gst/ffmpegcolorspace/dsputil.c
+0
-45
gst/ffmpegcolorspace/dsputil.h
gst/ffmpegcolorspace/dsputil.h
+0
-39
gst/ffmpegcolorspace/ffmpegcolorspace.vcproj
gst/ffmpegcolorspace/ffmpegcolorspace.vcproj
+0
-181
gst/ffmpegcolorspace/gstffmpegcodecmap.c
gst/ffmpegcolorspace/gstffmpegcodecmap.c
+0
-1019
gst/ffmpegcolorspace/gstffmpegcodecmap.h
gst/ffmpegcolorspace/gstffmpegcodecmap.h
+0
-58
gst/ffmpegcolorspace/gstffmpegcolorspace.c
gst/ffmpegcolorspace/gstffmpegcolorspace.c
+0
-482
gst/ffmpegcolorspace/gstffmpegcolorspace.h
gst/ffmpegcolorspace/gstffmpegcolorspace.h
+0
-63
gst/ffmpegcolorspace/imgconvert.c
gst/ffmpegcolorspace/imgconvert.c
+0
-4126
gst/ffmpegcolorspace/imgconvert_template.h
gst/ffmpegcolorspace/imgconvert_template.h
+0
-2188
gst/ffmpegcolorspace/mem.c
gst/ffmpegcolorspace/mem.c
+0
-125
gst/ffmpegcolorspace/utils.c
gst/ffmpegcolorspace/utils.c
+0
-159
gst/playback/gstplaysink.c
gst/playback/gstplaysink.c
+4
-4
No files found.
configure.ac
View file @
35bec595
...
...
@@ -171,10 +171,6 @@ dnl *** checks for header files ***
dnl check if we have ANSI C header files
AC_HEADER_STDC
dnl used in gst/ffmpegcolorspace/mem.c
dnl FIXME: could be fixed by redefining av_malloc and av_free to GLib's
AC_CHECK_HEADERS([malloc.h])
ac_cppflags_save="$CPPFLAGS"
CPPFLAGS="`$PKG_CONFIG --cflags libxml-2.0`"
AC_COMPILE_IFELSE(
...
...
@@ -213,7 +209,6 @@ LIBS="$save_libs"
dnl used in gst-libs/gst/pbutils and associated unit test
AC_CHECK_HEADERS([process.h sys/types.h sys/wait.h sys/stat.h])
dnl ffmpegcolorspace includes _stdint.h
dnl also, Windows does not have long long
AX_CREATE_STDINT_H
...
...
@@ -425,7 +420,6 @@ AG_GST_CHECK_PLUGIN(audioconvert)
AG_GST_CHECK_PLUGIN(audiorate)
AG_GST_CHECK_PLUGIN(audiotestsrc)
AG_GST_CHECK_PLUGIN(encoding)
AG_GST_CHECK_PLUGIN(ffmpegcolorspace)
AG_GST_CHECK_PLUGIN(videoconvert)
AG_GST_CHECK_PLUGIN(gdp)
AG_GST_CHECK_PLUGIN(playback)
...
...
@@ -864,7 +858,6 @@ gst/audiorate/Makefile
gst/audiotestsrc/Makefile
gst/encoding/Makefile
gst/videoconvert/Makefile
gst/ffmpegcolorspace/Makefile
gst/gdp/Makefile
gst/playback/Makefile
gst/audioresample/Makefile
...
...
docs/plugins/Makefile.am
View file @
35bec595
...
...
@@ -64,7 +64,7 @@ CFILE_GLOB=$(DOC_SOURCE_DIR)/*/*/*.c
SCANOBJ_DEPS
=
# Header files to ignore when scanning.
IGNORE_HFILES
=
avcodec.h
gstffmpegcodecmap.h
dsputil.h arch.h speex_resampler.h speex_resampler_wrapper.h fixed_arm4.h fixed_arm5e.h fixed_bfin.h fixed_debug.h fixed_generic.h resample_sse.h
IGNORE_HFILES
=
avcodec.h dsputil.h arch.h speex_resampler.h speex_resampler_wrapper.h fixed_arm4.h fixed_arm5e.h fixed_bfin.h fixed_debug.h fixed_generic.h resample_sse.h
IGNORE_CFILES
=
utils.c mem.c imgconvert.c
# we add all .h files of elements that have signals/args we want
...
...
@@ -102,7 +102,6 @@ EXTRA_HFILES = \
$(top_srcdir)
/gst/audioconvert/gstaudioconvert.h
\
$(top_srcdir)
/gst/audiotestsrc/gstaudiotestsrc.h
\
$(top_srcdir)
/gst/encoding/gstencodebin.h
\
$(top_srcdir)
/gst/ffmpegcolorspace/gstffmpegcolorspace.h
\
$(top_srcdir)
/gst/gdp/gstgdpdepay.h
\
$(top_srcdir)
/gst/gdp/gstgdppay.h
\
$(top_srcdir)
/gst/playback/gstplay-enum.h
\
...
...
gst/ffmpegcolorspace/Makefile.am
deleted
100644 → 0
View file @
db0a2f51
plugin_LTLIBRARIES
=
libgstffmpegcolorspace.la
libgstffmpegcolorspace_la_SOURCES
=
\
gstffmpegcolorspace.c
\
gstffmpegcodecmap.c
\
dsputil.c
\
mem.c
\
utils.c
\
imgconvert.c
libgstffmpegcolorspace_la_CFLAGS
=
$(GST_PLUGINS_BASE_CFLAGS)
$(GST_BASE_CFLAGS)
$(GST_CFLAGS)
libgstffmpegcolorspace_la_LDFLAGS
=
$(GST_PLUGIN_LDFLAGS)
libgstffmpegcolorspace_la_LIBADD
=
\
$(top_builddir)
/gst-libs/gst/video/libgstvideo-
$(GST_MAJORMINOR)
.la
\
$(GST_BASE_LIBS)
$(GST_LIBS)
libgstffmpegcolorspace_la_LIBTOOLFLAGS
=
--tag
=
disable-static
noinst_HEADERS
=
\
gstffmpegcolorspace.h
\
gstffmpegcodecmap.h
\
imgconvert_template.h
\
dsputil.h
\
avcodec.h
Android.mk
:
Makefile.am $(BUILT_SOURCES)
androgenizer
\
-:PROJECT libgstffmpegcolorspace -:SHARED libgstffmpegcolorspace
\
-:TAGS eng debug
\
-:REL_TOP
$(top_srcdir)
-:ABS_TOP
$(abs_top_srcdir)
\
-:SOURCES
$(libgstffmpegcolorspace_la_SOURCES)
\
-:CFLAGS
$(DEFS)
$(DEFAULT_INCLUDES)
$(libgstffmpegcolorspace_la_CFLAGS)
\
-:LDFLAGS
$(libgstffmpegcolorspace_la_LDFLAGS)
\
$(libgstffmpegcolorspace_la_LIBADD)
\
-ldl
\
-:PASSTHROUGH LOCAL_ARM_MODE:
=
arm
\
LOCAL_MODULE_PATH:
=
'$
$(TARGET_OUT)
/lib/gstreamer-0.10'
\
>
$@
gst/ffmpegcolorspace/avcodec.h
deleted
100644 → 0
View file @
db0a2f51
#ifndef AVCODEC_H
#define AVCODEC_H
/**
* @file avcodec.h
* external api header.
*/
#ifdef __cplusplus
extern
"C"
{
#endif
#include "_stdint.h"
#include <sys/types.h>
/* size_t */
#define FFMPEG_VERSION_INT 0x000409
#define FFMPEG_VERSION "0.4.9-pre1"
#define LIBAVCODEC_BUILD 4728
#define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
#define LIBAVCODEC_VERSION FFMPEG_VERSION
#define AV_STRINGIFY(s) AV_TOSTRING(s)
#define AV_TOSTRING(s) #s
#define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" AV_STRINGIFY(LIBAVCODEC_BUILD)
enum
CodecType
{
CODEC_TYPE_UNKNOWN
=
-
1
,
CODEC_TYPE_VIDEO
,
CODEC_TYPE_AUDIO
,
CODEC_TYPE_DATA
,
};
/*
* Pixel format. Notes:
*
* PIX_FMT_RGBA32 is handled in an endian-specific manner. A RGBA
* color is put together as:
* (A << 24) | (R << 16) | (G << 8) | B
* This is stored as BGRA on little endian CPU architectures and ARGB on
* big endian CPUs.
*
* When the pixel format is palettized RGB (PIX_FMT_PAL8), the palettized
* image data is stored in AVFrame.data[0]. The palette is transported in
* AVFrame.data[1] and, is 1024 bytes long (256 4-byte entries) and is
* formatted the same as in PIX_FMT_RGBA32 described above (i.e., it is
* also endian-specific). Note also that the individual RGB palette
* components stored in AVFrame.data[1] should be in the range 0..255.
* This is important as many custom PAL8 video codecs that were designed
* to run on the IBM VGA graphics adapter use 6-bit palette components.
*/
enum
PixelFormat
{
PIX_FMT_YUV420P
,
///< Planar YUV 4:2:0 (1 Cr & Cb sample per 2x2 Y samples) (I420)
PIX_FMT_NV12
,
///< Packed YUV 4:2:0 (separate Y plane, interleaved Cb & Cr planes)
PIX_FMT_NV21
,
///< Packed YUV 4:2:0 (separate Y plane, interleaved Cb & Cr planes)
PIX_FMT_YVU420P
,
///< Planar YUV 4:2:0 (1 Cb & Cr sample per 2x2 Y samples) (YV12)
PIX_FMT_YUV422
,
///< Packed pixel, Y0 Cb Y1 Cr
PIX_FMT_RGB24
,
///< Packed pixel, 3 bytes per pixel, RGBRGB...
PIX_FMT_BGR24
,
///< Packed pixel, 3 bytes per pixel, BGRBGR...
PIX_FMT_YUV422P
,
///< Planar YUV 4:2:2 (1 Cr & Cb sample per 2x1 Y samples)
PIX_FMT_YUV444P
,
///< Planar YUV 4:4:4 (1 Cr & Cb sample per 1x1 Y samples)
PIX_FMT_RGBA32
,
///< Packed pixel, 4 bytes per pixel, BGRABGRA..., stored in cpu endianness
PIX_FMT_BGRA32
,
///< Packed pixel, 4 bytes per pixel, ARGBARGB...
PIX_FMT_ARGB32
,
///< Packed pixel, 4 bytes per pixel, ABGRABGR..., stored in cpu endianness
PIX_FMT_ABGR32
,
///< Packed pixel, 4 bytes per pixel, RGBARGBA...
PIX_FMT_RGB32
,
///< Packed pixel, 4 bytes per pixel, BGRxBGRx..., stored in cpu endianness
PIX_FMT_xRGB32
,
///< Packed pixel, 4 bytes per pixel, xBGRxBGR..., stored in cpu endianness
PIX_FMT_BGR32
,
///< Packed pixel, 4 bytes per pixel, xRGBxRGB...
PIX_FMT_BGRx32
,
///< Packed pixel, 4 bytes per pixel, RGBxRGBx...
PIX_FMT_YUV410P
,
///< Planar YUV 4:1:0 (1 Cr & Cb sample per 4x4 Y samples)
PIX_FMT_YVU410P
,
///< Planar YVU 4:1:0 (1 Cr & Cb sample per 4x4 Y samples)
PIX_FMT_YUV411P
,
///< Planar YUV 4:1:1 (1 Cr & Cb sample per 4x1 Y samples)
PIX_FMT_Y800
,
///< 8 bit Y plane (range [16-235])
PIX_FMT_Y16
,
///< 16 bit Y plane (little endian)
PIX_FMT_RGB565
,
///< always stored in cpu endianness
PIX_FMT_RGB555
,
///< always stored in cpu endianness, most significant bit to 1
PIX_FMT_GRAY8
,
PIX_FMT_GRAY16_L
,
PIX_FMT_GRAY16_B
,
PIX_FMT_MONOWHITE
,
///< 0 is white
PIX_FMT_MONOBLACK
,
///< 0 is black
PIX_FMT_PAL8
,
///< 8 bit with RGBA palette
PIX_FMT_YUVJ420P
,
///< Planar YUV 4:2:0 full scale (jpeg)
PIX_FMT_YUVJ422P
,
///< Planar YUV 4:2:2 full scale (jpeg)
PIX_FMT_YUVJ444P
,
///< Planar YUV 4:4:4 full scale (jpeg)
PIX_FMT_XVMC_MPEG2_MC
,
///< XVideo Motion Acceleration via common packet passing(xvmc_render.h)
PIX_FMT_XVMC_MPEG2_IDCT
,
PIX_FMT_UYVY422
,
///< Packed pixel, Cb Y0 Cr Y1
PIX_FMT_YVYU422
,
///< Packed pixel, Y0 Cr Y1 Cb
PIX_FMT_UYVY411
,
///< Packed pixel, Cb Y0 Y1 Cr Y2 Y3
PIX_FMT_V308
,
///< Packed pixel, Y0 Cb Cr
PIX_FMT_AYUV4444
,
///< Packed pixel, A0 Y0 Cb Cr
PIX_FMT_YUVA420P
,
///< Planar YUV 4:4:2:0 (1 Cr & Cb sample per 2x2 Y & A samples) (A420)
PIX_FMT_NB
};
/* currently unused, may be used if 24/32 bits samples ever supported */
enum
SampleFormat
{
SAMPLE_FMT_S16
=
0
,
///< signed 16 bits
};
/* thomas: extracted from imgconvert.c since it's also used in
* gstffmpegcodecmap.c */
/* start of extract */
#define FF_COLOR_RGB 0
/* RGB color space */
#define FF_COLOR_GRAY 1
/* gray color space */
#define FF_COLOR_YUV 2
/* YUV color space. 16 <= Y <= 235, 16 <= U, V <= 240 */
#define FF_COLOR_YUV_JPEG 3
/* YUV color space. 0 <= Y <= 255, 0 <= U, V <= 255 */
#define FF_PIXEL_PLANAR 0
/* each channel has one component in AVPicture */
#define FF_PIXEL_PACKED 1
/* only one components containing all the channels */
#define FF_PIXEL_PALETTE 2
/* one components containing indexes for a palette */
typedef
struct
PixFmtInfo
{
enum
PixelFormat
format
;
const
char
*
name
;
uint8_t
nb_channels
;
/* number of channels (including alpha) */
uint8_t
color_type
;
/* color type (see FF_COLOR_xxx constants) */
uint8_t
pixel_type
;
/* pixel storage type (see FF_PIXEL_xxx constants) */
uint8_t
is_alpha
:
1
;
/* true if alpha can be specified */
uint8_t
x_chroma_shift
;
/* X chroma subsampling factor is 2 ^ shift */
uint8_t
y_chroma_shift
;
/* Y chroma subsampling factor is 2 ^ shift */
uint8_t
depth
;
/* bit depth of the color components */
}
PixFmtInfo
;
PixFmtInfo
*
get_pix_fmt_info
(
enum
PixelFormat
format
);
/* end of extract */
/**
* main external api structure.
*/
typedef
struct
AVCodecContext
{
/* video only */
/**
* frames per sec multiplied by frame_rate_base.
* for variable fps this is the precission, so if the timestamps
* can be specified in msec precssion then this is 1000*frame_rate_base
* - encoding: MUST be set by user
* - decoding: set by lavc. 0 or the frame_rate if available
*/
int
frame_rate
;
/**
* frame_rate_base.
* for variable fps this is 1
* - encoding: set by user.
* - decoding: set by lavc.
*/
int
frame_rate_base
;
/**
* picture width / height.
* - encoding: MUST be set by user.
* - decoding: set by lavc.
* Note, for compatibility its possible to set this instead of
* coded_width/height before decoding
*/
int
width
,
height
;
/**
* pixel format, see PIX_FMT_xxx.
* - encoding: FIXME: used by ffmpeg to decide whether an pix_fmt
* conversion is in order. This only works for
* codecs with one supported pix_fmt, we should
* do something for a generic case as well.
* - decoding: set by lavc.
*/
enum
PixelFormat
pix_fmt
;
/* audio only */
int
sample_rate
;
///< samples per sec
int
channels
;
int
sample_fmt
;
///< sample format, currenly unused
/**
* Palette control structure
* - encoding: ??? (no palette-enabled encoder yet)
* - decoding: set by user.
*/
struct
AVPaletteControl
*
palctrl
;
}
AVCodecContext
;
/**
* four components are given, that's all.
* the last component is alpha
*/
typedef
struct
AVPicture
{
uint8_t
*
data
[
4
];
int
linesize
[
4
];
///< number of bytes per line
int
interlaced
;
}
AVPicture
;
/**
* AVPaletteControl
* This structure defines a method for communicating palette changes
* between and demuxer and a decoder.
*/
#define AVPALETTE_SIZE 1024
#define AVPALETTE_COUNT 256
typedef
struct
AVPaletteControl
{
/* demuxer sets this to 1 to indicate the palette has changed;
* decoder resets to 0 */
int
palette_changed
;
/* 4-byte ARGB palette entries, stored in native byte order; note that
* the individual palette components should be on a 8-bit scale; if
* the palette data comes from a IBM VGA native format, the component
* data is probably 6 bits in size and needs to be scaled */
unsigned
int
palette
[
AVPALETTE_COUNT
];
}
AVPaletteControl
;
int
avpicture_get_size
(
int
pix_fmt
,
int
width
,
int
height
);
void
avcodec_get_chroma_sub_sample
(
int
pix_fmt
,
int
*
h_shift
,
int
*
v_shift
);
const
char
*
avcodec_get_pix_fmt_name
(
int
pix_fmt
);
void
avcodec_set_dimensions
(
AVCodecContext
*
s
,
int
width
,
int
height
);
enum
PixelFormat
avcodec_get_pix_fmt
(
const
char
*
name
);
#define FF_LOSS_RESOLUTION 0x0001
/* loss due to resolution change */
#define FF_LOSS_DEPTH 0x0002
/* loss due to color depth change */
#define FF_LOSS_COLORSPACE 0x0004
/* loss due to color space conversion */
#define FF_LOSS_ALPHA 0x0008
/* loss of alpha bits */
#define FF_LOSS_COLORQUANT 0x0010
/* loss due to color quantization */
#define FF_LOSS_CHROMA 0x0020
/* loss of chroma (e.g. rgb to gray conversion) */
int
avcodec_get_pix_fmt_loss
(
int
dst_pix_fmt
,
int
src_pix_fmt
,
int
has_alpha
);
int
avcodec_find_best_pix_fmt
(
int
pix_fmt_mask
,
int
src_pix_fmt
,
int
has_alpha
,
int
*
loss_ptr
);
#define FF_ALPHA_TRANSP 0x0001
/* image has some totally transparent pixels */
#define FF_ALPHA_SEMI_TRANSP 0x0002
/* image has some transparent pixels */
int
img_get_alpha_info
(
const
AVPicture
*
src
,
int
pix_fmt
,
int
width
,
int
height
);
/* convert among pixel formats */
int
img_convert
(
AVPicture
*
dst
,
int
dst_pix_fmt
,
const
AVPicture
*
src
,
int
pix_fmt
,
int
width
,
int
height
);
void
avcodec_init
(
void
);
void
avcodec_get_context_defaults
(
AVCodecContext
*
s
);
AVCodecContext
*
avcodec_alloc_context
(
void
);
/* memory */
void
*
av_malloc
(
unsigned
int
size
);
void
*
av_mallocz
(
unsigned
int
size
);
void
*
av_realloc
(
void
*
ptr
,
unsigned
int
size
);
void
av_free
(
void
*
ptr
);
char
*
av_strdup
(
const
char
*
s
);
void
av_freep
(
void
*
ptr
);
void
*
av_fast_realloc
(
void
*
ptr
,
unsigned
int
*
size
,
unsigned
int
min_size
);
/* for static data only */
/* call av_free_static to release all staticaly allocated tables */
void
av_free_static
(
void
);
void
*
av_mallocz_static
(
unsigned
int
size
);
/* endian macros */
#if !defined(BE_16) || !defined(BE_32) || !defined(LE_16) || !defined(LE_32)
#define BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1])
#define BE_32(x) ((((uint8_t*)(x))[0] << 24) | \
(((uint8_t*)(x))[1] << 16) | \
(((uint8_t*)(x))[2] << 8) | \
((uint8_t*)(x))[3])
#define LE_16(x) ((((uint8_t*)(x))[1] << 8) | ((uint8_t*)(x))[0])
#define LE_32(x) ((((uint8_t*)(x))[3] << 24) | \
(((uint8_t*)(x))[2] << 16) | \
(((uint8_t*)(x))[1] << 8) | \
((uint8_t*)(x))[0])
#endif
#ifdef __cplusplus
}
#endif
#endif
/* AVCODEC_H */
gst/ffmpegcolorspace/dsputil.c
deleted
100644 → 0
View file @
db0a2f51
/*
* DSP utils
* Copyright (c) 2000, 2001 Fabrice Bellard.
* Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
*
* This library 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 of the License, or (at your option) any later version.
*
* This library 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 library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* gmc & q-pel & 32/64 bit based MC by Michael Niedermayer <michaelni@gmx.at>
*/
/**
* @file dsputil.c
* DSP utils
*/
#include "avcodec.h"
#include "dsputil.h"
uint8_t
cropTbl
[
256
+
2
*
MAX_NEG_CROP
]
=
{
0
,
};
/* init static data */
void
dsputil_static_init
(
void
)
{
int
i
;
for
(
i
=
0
;
i
<
256
;
i
++
)
cropTbl
[
i
+
MAX_NEG_CROP
]
=
i
;
for
(
i
=
0
;
i
<
MAX_NEG_CROP
;
i
++
)
{
cropTbl
[
i
]
=
0
;
cropTbl
[
i
+
MAX_NEG_CROP
+
256
]
=
255
;
}
}
gst/ffmpegcolorspace/dsputil.h
deleted
100644 → 0
View file @
db0a2f51
/*
* DSP utils
* Copyright (c) 2000, 2001, 2002 Fabrice Bellard.
* Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
*
* This library 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 of the License, or (at your option) any later version.
*
* This library 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 library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/**
* @file dsputil.h
* DSP utils.
* note, many functions in here may use MMX which trashes the FPU state, it is
* absolutely necessary to call emms_c() between dsp & float/double code
*/
#ifndef DSPUTIL_H
#define DSPUTIL_H
/* pixel operations */
#define MAX_NEG_CROP 1024
/* temporary */
extern
uint8_t
cropTbl
[
256
+
2
*
MAX_NEG_CROP
];
void
dsputil_static_init
(
void
);
#endif
gst/ffmpegcolorspace/ffmpegcolorspace.vcproj
deleted
100644 → 0
View file @
db0a2f51
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType=
"Visual C++"
Version=
"7.10"
Name=
"ffmpegcolorspace"
ProjectGUID=
"{979C216F-0ACF-4956-AE00-055A42D678B1}"
Keyword=
"Win32Proj"
>
<Platforms>
<Platform
Name=
"Win32"
/>
</Platforms>
<Configurations>
<Configuration
Name=
"Debug|Win32"
OutputDirectory=
"../../win32/Debug"
IntermediateDirectory=
"../../win32/Debug"
ConfigurationType=
"2"
CharacterSet=
"2"
>
<Tool
Name=
"VCCLCompilerTool"
Optimization=
"0"
AdditionalIncludeDirectories=
"../../../gstreamer/win32;../../../gstreamer;../../../gstreamer/libs;../../../glib;../../../glib/glib;../../../glib/gmodule;"../../gst-libs";../../../popt/include;../../../libxml2/include/libxml2"
PreprocessorDefinitions=
"WIN32;_DEBUG;_WINDOWS;_USRDLL;ffmpegcolorspace_EXPORTS;HAVE_CONFIG_H;_USE_MATH_DEFINES"
MinimalRebuild=
"TRUE"
BasicRuntimeChecks=
"3"
RuntimeLibrary=
"3"
UsePrecompiledHeader=
"0"
WarningLevel=
"3"
Detect64BitPortabilityProblems=
"TRUE"
DebugInformationFormat=
"4"
/>
<Tool
Name=
"VCCustomBuildTool"
/>
<Tool
Name=
"VCLinkerTool"
AdditionalDependencies=
"glib-2.0.lib gmodule-2.0.lib gthread-2.0.lib gobject-2.0.lib libgstreamer.lib gstbytestream.lib iconv.lib intl.lib"
OutputFile=
"$(OutDir)/gstffmpegcolorspace.dll"
LinkIncremental=
"2"
AdditionalLibraryDirectories=
"../../../gstreamer/win32/Debug;../../../glib/glib;../../../glib/gmodule;../../../glib/gthread;../../../glib/gobject;../../../gettext/lib;../../../libiconv/lib"
ModuleDefinitionFile=
""
GenerateDebugInformation=
"TRUE"
ProgramDatabaseFile=
"$(OutDir)/ffmpegcolorspace.pdb"
SubSystem=
"2"
OptimizeReferences=
"2"
ImportLibrary=
"$(OutDir)/gstffmpegcolorspace.lib"
TargetMachine=
"1"
/>
<Tool
Name=
"VCMIDLTool"
/>
<Tool
Name=
"VCPostBuildEventTool"
CommandLine=
"copy /Y $(TargetPath) c:\gstreamer\plugins"
/>
<Tool
Name=
"VCPreBuildEventTool"
/>
<Tool
Name=
"VCPreLinkEventTool"
/>
<Tool
Name=
"VCResourceCompilerTool"
/>
<Tool
Name=
"VCWebServiceProxyGeneratorTool"
/>
<Tool
Name=
"VCXMLDataGeneratorTool"
/>
<Tool
Name=
"VCWebDeploymentTool"
/>
<Tool
Name=
"VCManagedWrapperGeneratorTool"
/>
<Tool
Name=
"VCAuxiliaryManagedWrapperGeneratorTool"
/>
</Configuration>
<Configuration
Name=
"Release|Win32"
OutputDirectory=
"../../win32/Release"
IntermediateDirectory=
"../../win32/Release"
ConfigurationType=
"2"
CharacterSet=
"2"
>
<Tool
Name=
"VCCLCompilerTool"
AdditionalIncludeDirectories=
"../../../gstreamer/win32;../../../gstreamer;../../../gstreamer/libs;../../../glib;../../../glib/glib;../../../glib/gmodule;"../../gst-libs";../../../popt/include;../../../libxml2/include/libxml2"
PreprocessorDefinitions=
"WIN32;NDEBUG;GST_DISABLE_GST_DEBUG;_WINDOWS;_USRDLL;ffmpegcolorspace_EXPORTS;HAVE_CONFIG_H;_USE_MATH_DEFINES"
RuntimeLibrary=
"2"
UsePrecompiledHeader=
"0"
WarningLevel=
"3"
Detect64BitPortabilityProblems=
"TRUE"
DebugInformationFormat=
"3"
/>
<Tool
Name=
"VCCustomBuildTool"
/>
<Tool
Name=
"VCLinkerTool"
AdditionalDependencies=
"glib-2.0.lib gmodule-2.0.lib gthread-2.0.lib gobject-2.0.lib libgstreamer.lib gstbytestream.lib iconv.lib intl.lib"
OutputFile=
"$(OutDir)/gstffmpegcolorspace.dll"
LinkIncremental=
"1"
AdditionalLibraryDirectories=
"../../../gstreamer/win32/Release;../../../glib/glib;../../../glib/gmodule;../../../glib/gthread;../../../glib/gobject;../../../gettext/lib;../../../libiconv/lib"
ModuleDefinitionFile=
""
GenerateDebugInformation=
"TRUE"
SubSystem=
"2"
OptimizeReferences=
"2"
EnableCOMDATFolding=
"2"
ImportLibrary=
"$(OutDir)/gstffmpegcolorspace.lib"
TargetMachine=
"1"
/>
<Tool
Name=
"VCMIDLTool"
/>
<Tool
Name=
"VCPostBuildEventTool"
CommandLine=
"copy /Y $(TargetPath) c:\gstreamer\plugins"
/>
<Tool
Name=
"VCPreBuildEventTool"
/>
<Tool
Name=
"VCPreLinkEventTool"
/>
<Tool
Name=
"VCResourceCompilerTool"
/>
<Tool
Name=
"VCWebServiceProxyGeneratorTool"
/>
<Tool
Name=
"VCXMLDataGeneratorTool"
/>
<Tool
Name=
"VCWebDeploymentTool"
/>
<Tool
Name=
"VCManagedWrapperGeneratorTool"
/>
<Tool
Name=
"VCAuxiliaryManagedWrapperGeneratorTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name=
"Source Files"
Filter=
"cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier=
"{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath=
".\gstffmpegcolorspace.c"
>
</File>
<File
RelativePath=
".\gstffmpeg.c"
>
</File>
<File
RelativePath=
".\gstffmpegcodecmap.c"
>
</File>
<File
RelativePath=
".\dsputil.c"
>
</File>
<File
RelativePath=
".\mem.c"
>
</File>
<File
RelativePath=
".\utils.c"
>
</File>
<File
RelativePath=
".\imgconvert.c"
>
</File>
</Filter>
<Filter
Name=
"Header Files"
Filter=
"h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier=
"{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath=
".\gstffmpegcodecmap.h"
>
</File>
<File
RelativePath=
".\imgconvert_template.h"
>
</File>
<File
RelativePath=
".\common.h"
>
</File>
<File
RelativePath=
".\dsputil.h"
>
</File>
<File
RelativePath=
".\mmx.h"
>
</File>
<File