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
ecb3fc8f
Commit
ecb3fc8f
authored
Apr 22, 2011
by
Xiang, Haihao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i965_drv_video/encode: indentation fix
Signed-off-by:
Xiang, Haihao
<
haihao.xiang@intel.com
>
parent
4677f2c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
i965_drv_video/gen6_mfc.c
i965_drv_video/gen6_mfc.c
+19
-19
No files found.
i965_drv_video/gen6_mfc.c
View file @
ecb3fc8f
...
...
@@ -280,33 +280,33 @@ static void gen6_mfc_avc_slice_state(VADriverContextP ctx, int intra_slice)
OUT_BCS_BATCH
(
ctx
,
MFX_AVC_SLICE_STATE
|
(
11
-
2
)
);
if
(
intra_slice
)
if
(
intra_slice
)
OUT_BCS_BATCH
(
ctx
,
2
);
/*Slice Type: I Slice*/
else
OUT_BCS_BATCH
(
ctx
,
0
);
/*Slice Type: P Slice*/
else
OUT_BCS_BATCH
(
ctx
,
0
);
/*Slice Type: P Slice*/
if
(
intra_slice
)
if
(
intra_slice
)
OUT_BCS_BATCH
(
ctx
,
0
);
/*no reference frames and pred_weight_table*/
else
OUT_BCS_BATCH
(
ctx
,
0x00010000
);
/*1 reference frame*/
else
OUT_BCS_BATCH
(
ctx
,
0x00010000
);
/*1 reference frame*/
OUT_BCS_BATCH
(
ctx
,
(
0
<<
24
)
|
/*Enable deblocking operation*/
(
26
<<
16
)
|
/*Slice Quantization Parameter*/
0x0202
);
OUT_BCS_BATCH
(
ctx
,
(
0
<<
24
)
|
/*Enable deblocking operation*/
(
26
<<
16
)
|
/*Slice Quantization Parameter*/
0x0202
);
OUT_BCS_BATCH
(
ctx
,
0
);
/*First MB X&Y , the postion of current slice*/
OUT_BCS_BATCH
(
ctx
,
(
((
bcs_state
->
surface_state
.
height
+
15
)
/
16
)
<<
16
)
);
OUT_BCS_BATCH
(
ctx
,
(
0
<<
31
)
|
/*RateControlCounterEnable = disable*/
(
1
<<
30
)
|
/*ResetRateControlCounter*/
(
2
<<
28
)
|
/*RC Triggle Mode = Loose Rate Control*/
(
1
<<
19
)
|
/*IsLastSlice*/
(
0
<<
18
)
|
/*BitstreamOutputFlag Compressed BitStream Output Disable Flag 0:enable 1:disable*/
(
0
<<
17
)
|
/*HeaderPresentFlag*/
(
1
<<
16
)
|
/*SliceData PresentFlag*/
(
0
<<
15
)
|
/*TailPresentFlag*/
(
1
<<
13
)
|
/*RBSP NAL TYPE*/
(
0
<<
12
)
);
/*CabacZeroWordInsertionEnable*/
(
0
<<
31
)
|
/*RateControlCounterEnable = disable*/
(
1
<<
30
)
|
/*ResetRateControlCounter*/
(
2
<<
28
)
|
/*RC Triggle Mode = Loose Rate Control*/
(
1
<<
19
)
|
/*IsLastSlice*/
(
0
<<
18
)
|
/*BitstreamOutputFlag Compressed BitStream Output Disable Flag 0:enable 1:disable*/
(
0
<<
17
)
|
/*HeaderPresentFlag*/
(
1
<<
16
)
|
/*SliceData PresentFlag*/
(
0
<<
15
)
|
/*TailPresentFlag*/
(
1
<<
13
)
|
/*RBSP NAL TYPE*/
(
0
<<
12
)
);
/*CabacZeroWordInsertionEnable*/
OUT_BCS_RELOC
(
ctx
,
bcs_state
->
mfc_indirect_pak_bse_object
.
bo
,
I915_GEM_DOMAIN_INSTRUCTION
,
I915_GEM_DOMAIN_INSTRUCTION
,
...
...
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