Commit cd10afac authored by liberato@chromium.org's avatar liberato@chromium.org Committed by Commit Bot

Fix d3d11 vp9 accelerator for profile 2

Change-Id: I6a15ad00706fe31ffb8484ff5a65607b7e4d55ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1874723Reviewed-by: default avatarTed Meyer <tmathmeyer@chromium.org>
Commit-Queue: Frank Liberato <liberato@chromium.org>
Cr-Commit-Position: refs/heads/master@{#708730}
parent 0712ad54
......@@ -128,8 +128,10 @@ void D3D11VP9Accelerator::CopyFrameParams(const D3D11VP9Picture& pic,
COPY_PARAM(frame_context_idx);
COPY_PARAM(allow_high_precision_mv);
// extra_plane, BitDepthMinus8Luma, and BitDepthMinus8Chroma are initialized
// at 0 already.
// extra_plane is initialized to zero.
pic_params->BitDepthMinus8Luma = pic_params->BitDepthMinus8Chroma =
pic.frame_hdr->bit_depth - 8;
pic_params->CurrPic.Index7Bits = pic.level();
pic_params->frame_type = !pic.frame_hdr->IsKeyframe();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment