Commit 6f14969a authored by Rupert Swarbrick's avatar Rupert Swarbrick
Browse files

Fix apparent typo in av1_rd_pick_inter_mode_sb

We should be selecting a transform size when tx_mode is TX_MODE_SELECT
and we're not lossless. (In lossless mode, the transform size is
forced to be TX_4X4).

Change-Id: I65b346fb2116689598e2251e97897be91f481ceb
parent 8e5b39a1
......@@ -10447,7 +10447,7 @@ void av1_rd_pick_inter_mode_sb(const AV1_COMP *cpi, TileDataEnc *tile_data,
args.left_pred_buf, args.left_pred_stride);
av1_subtract_plane(x, bsize, 0);
if (cm->tx_mode == TX_MODE_SELECT || xd->lossless[mbmi->segment_id]) {
if (cm->tx_mode == TX_MODE_SELECT && !xd->lossless[mbmi->segment_id]) {
// av1_rd_pick_inter_mode_sb
select_tx_type_yrd(cpi, x, &rd_stats_y, bsize, mi_row, mi_col,
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