diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2012-12-07 13:54:37 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2012-12-14 16:03:14 +0800 |
commit | 593eaafc319d3d71c5c4b28915558e9e366c240d (patch) | |
tree | 7d0c28e16d7b7a71b1eacbe14703cd1a5238cdf6 /src/gen75_mfc.c | |
parent | ef7381380edfb070a782986f331d1ee8ea3badf5 (diff) |
MPEG-2 encoding: Use pre deblocking output for reconstructed picture.
This avoids OLDB enabling for MPEG-2
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'src/gen75_mfc.c')
-rw-r--r-- | src/gen75_mfc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen75_mfc.c b/src/gen75_mfc.c index 38e17e9..b2130db 100644 --- a/src/gen75_mfc.c +++ b/src/gen75_mfc.c @@ -2399,8 +2399,8 @@ intel_mfc_mpeg2_prepare(VADriverContextP ctx, obj_surface = SURFACE(pic_param->reconstructed_picture); assert(obj_surface); i965_check_alloc_surface_bo(ctx, obj_surface, 1, VA_FOURCC('N','V','1','2'), SUBSAMPLE_YUV420); - mfc_context->post_deblocking_output.bo = obj_surface->bo; - dri_bo_reference(mfc_context->post_deblocking_output.bo); + mfc_context->pre_deblocking_output.bo = obj_surface->bo; + dri_bo_reference(mfc_context->pre_deblocking_output.bo); mfc_context->surface_state.width = obj_surface->orig_width; mfc_context->surface_state.height = obj_surface->orig_height; mfc_context->surface_state.w_pitch = obj_surface->width; |