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
d75118e4
Commit
d75118e4
authored
Oct 31, 2010
by
Sebastian Dröge
Committed by
Wim Taymans
Jun 15, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MOVED FROM BAD 37/68] colorspace: Add const to the source arrays and the getline/putline table
parent
dd00c712
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
172 additions
and
95 deletions
+172
-95
gst/colorspace/colorspace.c
gst/colorspace/colorspace.c
+166
-90
gst/colorspace/colorspace.h
gst/colorspace/colorspace.h
+6
-5
No files found.
gst/colorspace/colorspace.c
View file @
d75118e4
This diff is collapsed.
Click to expand it.
gst/colorspace/colorspace.h
View file @
d75118e4
...
...
@@ -47,21 +47,22 @@ struct _ColorspaceConvert {
int
src_offset
[
4
];
int
src_stride
[
4
];
void
(
*
convert
)
(
ColorspaceConvert
*
convert
,
guint8
*
dest
,
guint8
*
src
);
void
(
*
getline
)
(
ColorspaceConvert
*
convert
,
guint8
*
dest
,
guint8
*
src
,
int
j
);
void
(
*
putline
)
(
ColorspaceConvert
*
convert
,
guint8
*
dest
,
guint8
*
src
,
int
j
);
void
(
*
convert
)
(
ColorspaceConvert
*
convert
,
guint8
*
dest
,
const
guint8
*
src
);
void
(
*
getline
)
(
ColorspaceConvert
*
convert
,
guint8
*
dest
,
const
guint8
*
src
,
int
j
);
void
(
*
putline
)
(
ColorspaceConvert
*
convert
,
guint8
*
dest
,
const
guint8
*
src
,
int
j
);
void
(
*
matrix
)
(
ColorspaceConvert
*
convert
);
};
ColorspaceConvert
*
colorspace_convert_new
(
GstVideoFormat
to_format
,
GstVideoFormat
from_format
,
int
width
,
int
height
);
ColorSpaceColorSpec
from_spec
,
GstVideoFormat
from_format
,
ColorSpaceColorSpec
to_spec
,
int
width
,
int
height
);
void
colorspace_convert_set_interlaced
(
ColorspaceConvert
*
convert
,
gboolean
interlaced
);
void
colorspace_convert_set_palette
(
ColorspaceConvert
*
convert
,
guint32
*
palette
);
void
colorspace_convert_free
(
ColorspaceConvert
*
convert
);
void
colorspace_convert_convert
(
ColorspaceConvert
*
convert
,
guint8
*
dest
,
guint8
*
src
);
guint8
*
dest
,
const
guint8
*
src
);
G_END_DECLS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment