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
60d7e55d
Commit
60d7e55d
authored
Apr 26, 2011
by
Xiang, Haihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i965_drv_video/encode: offset for coded buffer
Signed-off-by:
Xiang, Haihao
<
haihao.xiang@intel.com
>
parent
ecb3fc8f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
i965_drv_video/gen6_mfc.c
i965_drv_video/gen6_mfc.c
+2
-1
i965_drv_video/gen6_mfc.h
i965_drv_video/gen6_mfc.h
+1
-0
No files found.
i965_drv_video/gen6_mfc.c
View file @
60d7e55d
...
@@ -310,7 +310,7 @@ static void gen6_mfc_avc_slice_state(VADriverContextP ctx, int intra_slice)
...
@@ -310,7 +310,7 @@ static void gen6_mfc_avc_slice_state(VADriverContextP ctx, int intra_slice)
OUT_BCS_RELOC
(
ctx
,
bcs_state
->
mfc_indirect_pak_bse_object
.
bo
,
OUT_BCS_RELOC
(
ctx
,
bcs_state
->
mfc_indirect_pak_bse_object
.
bo
,
I915_GEM_DOMAIN_INSTRUCTION
,
I915_GEM_DOMAIN_INSTRUCTION
,
I915_GEM_DOMAIN_INSTRUCTION
,
I915_GEM_DOMAIN_INSTRUCTION
,
ALIGN
(
sizeof
(
VACodedBufferSegment
),
64
)
);
bcs_state
->
mfc_indirect_pak_bse_object
.
offset
);
OUT_BCS_BATCH
(
ctx
,
0
);
OUT_BCS_BATCH
(
ctx
,
0
);
OUT_BCS_BATCH
(
ctx
,
0
);
OUT_BCS_BATCH
(
ctx
,
0
);
...
@@ -641,6 +641,7 @@ static VAStatus gen6_mfc_avc_prepare(VADriverContextP ctx,
...
@@ -641,6 +641,7 @@ static VAStatus gen6_mfc_avc_prepare(VADriverContextP ctx,
bo
=
obj_buffer
->
buffer_store
->
bo
;
bo
=
obj_buffer
->
buffer_store
->
bo
;
assert
(
bo
);
assert
(
bo
);
bcs_state
->
mfc_indirect_pak_bse_object
.
bo
=
bo
;
bcs_state
->
mfc_indirect_pak_bse_object
.
bo
=
bo
;
bcs_state
->
mfc_indirect_pak_bse_object
.
offset
=
ALIGN
(
sizeof
(
VACodedBufferSegment
),
64
);
dri_bo_reference
(
bcs_state
->
mfc_indirect_pak_bse_object
.
bo
);
dri_bo_reference
(
bcs_state
->
mfc_indirect_pak_bse_object
.
bo
);
/*Programing bcs pipeline*/
/*Programing bcs pipeline*/
...
...
i965_drv_video/gen6_mfc.h
View file @
60d7e55d
...
@@ -80,6 +80,7 @@ struct gen6_mfc_bcs_state
...
@@ -80,6 +80,7 @@ struct gen6_mfc_bcs_state
struct
{
struct
{
dri_bo
*
bo
;
dri_bo
*
bo
;
int
offset
;
}
mfc_indirect_pak_bse_object
;
//OUTPUT: the compressed bitstream
}
mfc_indirect_pak_bse_object
;
//OUTPUT: the compressed bitstream
//MFX_BSP_BUF_BASE_ADDR_STATE
//MFX_BSP_BUF_BASE_ADDR_STATE
...
...
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