Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libva
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
libva
Commits
172d562a
Commit
172d562a
authored
Apr 21, 2011
by
Xiang, Haihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i965_drv_video/encode: fix macroblock instra struct in VME message
Signed-off-by:
Xiang, Haihao
<
haihao.xiang@intel.com
>
parent
396cc42a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
i965_drv_video/gen6_vme.c
i965_drv_video/gen6_vme.c
+4
-4
No files found.
i965_drv_video/gen6_vme.c
View file @
172d562a
...
...
@@ -498,9 +498,9 @@ static int gen6_vme_media_object_intra(VADriverContextP ctx,
if
(
mb_y
>
0
)
i
|=
0x10
;
if
(
mb_x
>
0
&&
mb_y
>
0
)
i
|=
0x08
;
if
(
mb_x
>
0
&&
mb_y
>
0
&&
mb_x
<
(
mb_width
-
1
)
)
i
|=
0x04
;
if
(
mb_y
>
0
&&
mb_x
<
(
mb_width
-
1
)
)
i
|=
0x08
;
OUT_BATCH
(
ctx
,
(
i
<<
8
)
|
6
);
/*M1.7 Neighbor MBS and Intra mode masks*/
drm_intel_gem_bo_map_gtt
(
obj_surface
->
bo
);
...
...
@@ -631,9 +631,9 @@ static int gen6_vme_media_object_inter(VADriverContextP ctx,
if
(
mb_y
>
0
)
i
|=
0x10
;
if
(
mb_x
>
0
&&
mb_y
>
0
)
i
|=
0x08
;
if
(
mb_x
>
0
&&
mb_y
>
0
&&
mb_x
<
(
mb_width
-
1
)
)
i
|=
0x04
;
if
(
mb_y
>
0
&&
mb_x
<
(
mb_width
-
1
)
)
i
|=
0x08
;
OUT_BATCH
(
ctx
,
(
i
<<
8
)
|
6
);
/*M1.7 Neighbor MBS and Intra mode masks*/
drm_intel_gem_bo_map_gtt
(
obj_surface
->
bo
);
...
...
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