Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.io.base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
bob
bob.io.base
Commits
91deb6ab
Commit
91deb6ab
authored
10 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Remove video stuff from API
parent
a1e2caaa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xbob/io/base/include/xbob.io.base/api.h
+0
-74
0 additions, 74 deletions
xbob/io/base/include/xbob.io.base/api.h
with
0 additions
and
74 deletions
xbob/io/base/include/xbob.io.base/api.h
+
0
−
74
View file @
91deb6ab
...
@@ -21,11 +21,6 @@
...
@@ -21,11 +21,6 @@
#include
<bob/io/HDF5File.h>
#include
<bob/io/HDF5File.h>
#include
<bob/io/CodecRegistry.h>
#include
<bob/io/CodecRegistry.h>
#if WITH_FFMPEG
#include
<bob/io/VideoReader.h>
#include
<bob/io/VideoWriter.h>
#endif
/* WITH_FFMPEG */
#include
<boost/shared_ptr.hpp>
#include
<boost/shared_ptr.hpp>
/*******************
/*******************
...
@@ -51,11 +46,6 @@ enum _PyBobIo_ENUM{
...
@@ -51,11 +46,6 @@ enum _PyBobIo_ENUM{
PyBobIoCodec_Deregister_NUM
,
PyBobIoCodec_Deregister_NUM
,
PyBobIoCodec_IsRegistered_NUM
,
PyBobIoCodec_IsRegistered_NUM
,
PyBobIoCodec_GetDescription_NUM
,
PyBobIoCodec_GetDescription_NUM
,
#if WITH_FFMPEG
PyBobIoVideoReader_Type_NUM
,
PyBobIoVideoReaderIterator_Type_NUM
,
PyBobIoVideoWriter_Type_NUM
,
#endif // WITH_FFMPEG
// Total number of C API pointers
// Total number of C API pointers
PyXbobIo_API_pointers
PyXbobIo_API_pointers
};
};
...
@@ -141,46 +131,6 @@ typedef struct {
...
@@ -141,46 +131,6 @@ typedef struct {
#define PyBobIoCodec_GetDescription_RET const char*
#define PyBobIoCodec_GetDescription_RET const char*
#define PyBobIoCodec_GetDescription_PROTO (const char* extension)
#define PyBobIoCodec_GetDescription_PROTO (const char* extension)
#if WITH_FFMPEG
/******************
* Video bindings *
******************/
typedef
struct
{
PyObject_HEAD
/* Type-specific fields go here. */
boost
::
shared_ptr
<
bob
::
io
::
VideoReader
>
v
;
}
PyBobIoVideoReaderObject
;
#define PyBobIoVideoReader_Type_TYPE PyTypeObject
typedef
struct
{
PyObject_HEAD
/* Type-specific fields go here. */
PyBobIoVideoReaderObject
*
pyreader
;
boost
::
shared_ptr
<
bob
::
io
::
VideoReader
::
const_iterator
>
iter
;
}
PyBobIoVideoReaderIteratorObject
;
#define PyBobIoVideoReaderIterator_Type_TYPE PyTypeObject
typedef
struct
{
PyObject_HEAD
/* Type-specific fields go here. */
boost
::
shared_ptr
<
bob
::
io
::
VideoWriter
>
v
;
}
PyBobIoVideoWriterObject
;
#define PyBobIoVideoWriter_Type_TYPE PyTypeObject
#endif
/* WITH_FFMPEG */
#ifdef XBOB_IO_BASE_MODULE
#ifdef XBOB_IO_BASE_MODULE
/* This section is used when compiling `xbob.io.base' itself */
/* This section is used when compiling `xbob.io.base' itself */
...
@@ -230,18 +180,6 @@ typedef struct {
...
@@ -230,18 +180,6 @@ typedef struct {
PyBobIoCodec_GetDescription_RET
PyBobIoCodec_GetDescription
PyBobIoCodec_GetDescription_PROTO
;
PyBobIoCodec_GetDescription_RET
PyBobIoCodec_GetDescription
PyBobIoCodec_GetDescription_PROTO
;
#if WITH_FFMPEG
/******************
* Video bindings *
******************/
extern
PyBobIoVideoReader_Type_TYPE
PyBobIoVideoReader_Type
;
extern
PyBobIoVideoReaderIterator_Type_TYPE
PyBobIoVideoReaderIterator_Type
;
extern
PyBobIoVideoWriter_Type_TYPE
PyBobIoVideoWriter_Type
;
#endif
/* WITH_FFMPEG */
#else
#else
/* This section is used in modules that use `xbob.io.base's' C-API */
/* This section is used in modules that use `xbob.io.base's' C-API */
...
@@ -301,18 +239,6 @@ typedef struct {
...
@@ -301,18 +239,6 @@ typedef struct {
# define PyBobIoCodec_GetDescription (*(PyBobIoCodec_GetDescription_RET (*)PyBobIoCodec_GetDescription_PROTO) PyXbobIo_API[PyBobIoCodec_GetDescription_NUM])
# define PyBobIoCodec_GetDescription (*(PyBobIoCodec_GetDescription_RET (*)PyBobIoCodec_GetDescription_PROTO) PyXbobIo_API[PyBobIoCodec_GetDescription_NUM])
#if WITH_FFMPEG
/******************
* Video bindings *
******************/
# define PyBobIoVideoReader_Type (*(PyBobIoVideoReader_Type_TYPE *)PyXbobIo_API[PyBobIoVideoReader_Type_NUM])
# define PyBobIoVideoReaderIterator_Type (*(PyBobIoVideoReaderIterator_Type_TYPE *)PyXbobIo_API[PyBobIoVideoReaderIterator_Type_NUM])
# define PyBobIoVideoWriterIterator_Type (*(PyBobIoVideoWriterIterator_Type_TYPE *)PyXbobIo_API[PyBobIoVideoWriterIterator_Type_NUM])
#endif
/* WITH_FFMPEG */
# if !defined(NO_IMPORT_ARRAY)
# if !defined(NO_IMPORT_ARRAY)
/**
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment