Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
a688d669
Commit
a688d669
authored
Mar 31, 2010
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
davinci: resizer.c: cleanup
- remove hackish code for direct framebuffer output
parent
3d7b2498
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
67 additions
and
164 deletions
+67
-164
modules/codec/davinci/resizer.c
modules/codec/davinci/resizer.c
+54
-151
modules/codec/davinci/resizer.h
modules/codec/davinci/resizer.h
+13
-13
No files found.
modules/codec/davinci/resizer.c
View file @
a688d669
This diff is collapsed.
Click to expand it.
modules/codec/davinci/resizer.h
View file @
a688d669
...
...
@@ -42,15 +42,6 @@
#define PI 3.1415926535897932384626
typedef
struct
{
int
i_fd
;
struct
fb_var_screeninfo
var_info
;
struct
fb_fix_screeninfo
fix_info
;
uint8_t
*
p_map
;
UInt32
p_physbufs
[
NUM_BUFFERS
];
}
davinci_fb_t
;
typedef
struct
{
int
i_fd
;
...
...
@@ -67,9 +58,18 @@ typedef struct
bool
b_direct
;
}
davinci_resizer_t
;
void
Resize
(
decoder_t
*
,
bool
,
davinci_resizer_t
*
,
davinci_fb_t
*
,
XDM_BufDesc
);
int
DavinciInit
(
decoder_t
*
,
davinci_fb_t
*
,
davinci_resizer_t
*
);
void
DavinciClose
(
davinci_fb_t
*
,
davinci_resizer_t
*
);
/* Resize: resize and/or enhance input picture
* \param p_dec : pointer to decoder_t structure
* \param rsz : pointer to davinci_resizer_t structure
* \param b_scale : rescale to output size
* \param in : input buffer as XDM_BufDesc
* \param out : output buffer as XDM_BufDesc
* \return VLC_SUCCESS on success and VLC_EGENERIC on failure
*/
int
Resize
(
decoder_t
*
p_dec
,
davinci_resizer_t
*
rsz
,
bool
b_scale
,
XDM_BufDesc
in
,
XDM_BufDesc
out
);
int
ResizerOpen
(
vlc_object_t
*
p_this
,
davinci_resizer_t
*
rsz
);
void
ResizerClose
(
davinci_resizer_t
*
rsz
);
#endif
/* RESIZER_H */
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