Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
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
linux
linux-davinci-2.6.23
Commits
b37fe3a8
Commit
b37fe3a8
authored
Sep 05, 2008
by
吴智聪(John Wu)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make the horz start be even, otherwise the pixel color will lose align
parent
2e9294aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
drivers/media/video/ccdc_davinci.c
drivers/media/video/ccdc_davinci.c
+1
-1
include/media/davinci_vpfe.h
include/media/davinci_vpfe.h
+5
-4
No files found.
drivers/media/video/ccdc_davinci.c
View file @
b37fe3a8
...
...
@@ -55,7 +55,7 @@ void ccdc_setwin(ccdc_params_ycbcr * params)
int
vert_start
,
vert_nr_lines
;
/* configure horizonal and vertical starts and sizes */
horz_start
=
params
->
win
.
left
;
horz_start
=
params
->
win
.
left
<<
1
;
horz_nr_pixels
=
(
params
->
win
.
width
<<
1
)
-
1
;
regw
((
horz_start
<<
16
)
|
horz_nr_pixels
,
HORZ_INFO
);
...
...
include/media/davinci_vpfe.h
View file @
b37fe3a8
...
...
@@ -54,10 +54,11 @@
#define VPFE_WIN_QCIF {0,0,176,144}
#define VPFE_WIN_QVGA {0,0,320,240}
#define VPFE_WIN_SIF {0,0,352,240}
#define VPFE_WIN_HD480P {69,0,720,480}
#define VPFE_WIN_HD576P {72,0,720,576}
#define VPFE_WIN_HD720P {185,0,1280,720}
#define VPFE_WIN_HD1080I {140,0,1920,1080}
/* the left member must be divide by 2 if it is odd must add by 1 then divide by 2*/
#define VPFE_WIN_HD480P {35,0,720,480}
#define VPFE_WIN_HD576P {36,0,720,576}
#define VPFE_WIN_HD720P {93,0,1280,720}
#define VPFE_WIN_HD1080I {70,0,1920,1080}
#define VPFE_CAPTURE_ID_TVP5150 0
#define VPFE_CAPTURE_ID_TVP7000 1
...
...
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