Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
awxkee committed Nov 7, 2024
1 parent 8dd5444 commit bcaa586
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/yuv_p10_rgba.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ fn yuv_p16_to_image_ant<
((val + rounding) >> total_shift).min(max_value).max(0)
}

let dst_offset = 0usize;

let process_wide_row =
|_y_plane: &[u16], _u_plane: &[u16], _v_plane: &[u16], _rgba: &mut [u8]| {
let mut _cx = 0usize;
Expand All @@ -119,7 +117,7 @@ fn yuv_p16_to_image_ant<
_u_plane.as_ptr(),
_v_plane.as_ptr(),
_rgba,
dst_offset,
0,
image.width,
&range,
&i_transform,
Expand Down

0 comments on commit bcaa586

Please sign in to comment.