diff options
author | ameerj <aj662@drexel.edu> | 2020-11-26 06:18:26 +0100 |
---|---|---|
committer | ameerj <aj662@drexel.edu> | 2020-11-26 06:18:26 +0100 |
commit | c9e3abe2060760d71c83a1574559b6e479e637d2 (patch) | |
tree | 2c29ff2c4ba95f7219b0654b5c1c32b23288cd54 /src/video_core/command_classes/codecs/vp9_types.h | |
parent | Queue decoded frames, cleanup decoders (diff) | |
download | yuzu-c9e3abe2060760d71c83a1574559b6e479e637d2.tar yuzu-c9e3abe2060760d71c83a1574559b6e479e637d2.tar.gz yuzu-c9e3abe2060760d71c83a1574559b6e479e637d2.tar.bz2 yuzu-c9e3abe2060760d71c83a1574559b6e479e637d2.tar.lz yuzu-c9e3abe2060760d71c83a1574559b6e479e637d2.tar.xz yuzu-c9e3abe2060760d71c83a1574559b6e479e637d2.tar.zst yuzu-c9e3abe2060760d71c83a1574559b6e479e637d2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/command_classes/codecs/vp9_types.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/src/video_core/command_classes/codecs/vp9_types.h b/src/video_core/command_classes/codecs/vp9_types.h index 5ca944f2a..139501a1c 100644 --- a/src/video_core/command_classes/codecs/vp9_types.h +++ b/src/video_core/command_classes/codecs/vp9_types.h @@ -245,33 +245,33 @@ struct EntropyProbs { std::array<u8, 2304> coef_probs{}; void Convert(Vp9EntropyProbs& fc) { - fc.inter_mode_prob = std::move(inter_mode_prob); - fc.intra_inter_prob = std::move(intra_inter_prob); - fc.tx_8x8_prob = std::move(tx_8x8_prob); - fc.tx_16x16_prob = std::move(tx_16x16_prob); - fc.tx_32x32_prob = std::move(tx_32x32_prob); + fc.inter_mode_prob = inter_mode_prob; + fc.intra_inter_prob = intra_inter_prob; + fc.tx_8x8_prob = tx_8x8_prob; + fc.tx_16x16_prob = tx_16x16_prob; + fc.tx_32x32_prob = tx_32x32_prob; - for (s32 i = 0; i < 4; i++) { - for (s32 j = 0; j < 9; j++) { + for (std::size_t i = 0; i < 4; i++) { + for (std::size_t j = 0; j < 9; j++) { fc.y_mode_prob[j + 9 * i] = j < 8 ? y_mode_prob_e0e7[i][j] : y_mode_prob_e8[i]; } } - fc.partition_prob = std::move(partition_prob); - fc.switchable_interp_prob = std::move(switchable_interp_prob); - fc.comp_inter_prob = std::move(comp_inter_prob); - fc.skip_probs = std::move(skip_probs); - fc.joints = std::move(joints); - fc.sign = std::move(sign); - fc.class_0 = std::move(class_0); - fc.fr = std::move(fr); - fc.class_0_hp = std::move(class_0_hp); - fc.high_precision = std::move(high_precision); - fc.classes = std::move(classes); - fc.class_0_fr = std::move(class_0_fr); - fc.prob_bits = std::move(pred_bits); - fc.single_ref_prob = std::move(single_ref_prob); - fc.comp_ref_prob = std::move(comp_ref_prob); + fc.partition_prob = partition_prob; + fc.switchable_interp_prob = switchable_interp_prob; + fc.comp_inter_prob = comp_inter_prob; + fc.skip_probs = skip_probs; + fc.joints = joints; + fc.sign = sign; + fc.class_0 = class_0; + fc.fr = fr; + fc.class_0_hp = class_0_hp; + fc.high_precision = high_precision; + fc.classes = classes; + fc.class_0_fr = class_0_fr; + fc.prob_bits = pred_bits; + fc.single_ref_prob = single_ref_prob; + fc.comp_ref_prob = comp_ref_prob; // Skip the 4th element as it goes unused for (std::size_t i = 0; i < coef_probs.size(); i += 4) { |