projects
/
profile
/
ivi
/
vaapi-intel-driver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93d9be5
)
Switch scaling method according to the setting
author
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 10 Nov 2011 05:27:23 +0000
(13:27 +0800)
committer
Xiang, Haihao
<haihao.xiang@intel.com>
Thu, 10 Nov 2011 05:27:23 +0000
(13:27 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/i965_post_processing.c
patch
|
blob
|
history
diff --git
a/src/i965_post_processing.c
b/src/i965_post_processing.c
index
e6fda36
..
f8a52c3
100644
(file)
--- a/
src/i965_post_processing.c
+++ b/
src/i965_post_processing.c
@@
-3785,7
+3785,8
@@
i965_proc_picture(VADriverContextP ctx,
&input_param->region,
&dst_surface,
&pipeline_param->output_region,
- PP_NV12_AVS,
+ (pipeline_param->flags & VA_FILTER_SCALING_MASK) == VA_FILTER_SCALING_NL_ANAMORPHIC ?
+ PP_NV12_AVS : PP_NV12_SCALING,
NULL);
if (num_tmp_surfaces)