parent
3c7ac6652f
commit
b0dc246835
@ -0,0 +1,32 @@
|
||||
From 8a7af9959ad71192951c734e3c91aac5b29165c2 Mon Sep 17 00:00:00 2001
|
||||
From: Fabio Valentini <decathorpe@gmail.com>
|
||||
Date: Tue, 27 Jun 2023 19:32:07 +0200
|
||||
Subject: [PATCH] remove noop hawktracer macros
|
||||
|
||||
---
|
||||
src/plane.rs | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/src/plane.rs b/src/plane.rs
|
||||
index 7979edc..6e81a24 100644
|
||||
--- a/src/plane.rs
|
||||
+++ b/src/plane.rs
|
||||
@@ -7,7 +7,6 @@
|
||||
// Media Patent License 1.0 was not distributed with this source code in the
|
||||
// PATENTS file, you can obtain it at www.aomedia.org/license/patent.
|
||||
|
||||
-use rust_hawktracer::*;
|
||||
use std::alloc::handle_alloc_error;
|
||||
use std::iter::FusedIterator;
|
||||
use std::marker::PhantomData;
|
||||
@@ -592,7 +591,6 @@ impl<T: Pixel> Plane<T> {
|
||||
/// # Panics
|
||||
///
|
||||
/// - If the current plane's width and height are not at least `SCALE` times the `in_plane`'s
|
||||
- #[hawktracer(downscale_in_place)]
|
||||
pub fn downscale_in_place<const SCALE: usize>(&self, in_plane: &mut Plane<T>) {
|
||||
let stride = in_plane.cfg.stride;
|
||||
let width = in_plane.cfg.width;
|
||||
--
|
||||
2.41.0
|
||||
|
@ -1,52 +0,0 @@
|
||||
From e106ded8e5e29ee464bddc6a321fe67a8e5884c1 Mon Sep 17 00:00:00 2001
|
||||
From: Fabio Valentini <decathorpe@gmail.com>
|
||||
Date: Mon, 8 Aug 2022 20:15:48 +0200
|
||||
Subject: [PATCH] remove unused hawktracer usage
|
||||
|
||||
---
|
||||
src/lib.rs | 8 +-------
|
||||
src/plane.rs | 2 --
|
||||
2 files changed, 1 insertion(+), 9 deletions(-)
|
||||
|
||||
diff --git a/src/lib.rs b/src/lib.rs
|
||||
index 298dc01..b4bc59a 100644
|
||||
--- a/src/lib.rs
|
||||
+++ b/src/lib.rs
|
||||
@@ -23,13 +23,7 @@ mod serialize {
|
||||
}
|
||||
|
||||
mod wasm_bindgen {
|
||||
- cfg_if::cfg_if! {
|
||||
- if #[cfg(feature="wasm")] {
|
||||
- pub use wasm_bindgen::prelude::*;
|
||||
- } else {
|
||||
- pub use noop_proc_macro::wasm_bindgen;
|
||||
- }
|
||||
- }
|
||||
+ pub use noop_proc_macro::wasm_bindgen;
|
||||
}
|
||||
|
||||
pub mod prelude {
|
||||
diff --git a/src/plane.rs b/src/plane.rs
|
||||
index 7723d89..a09a708 100644
|
||||
--- a/src/plane.rs
|
||||
+++ b/src/plane.rs
|
||||
@@ -10,7 +10,6 @@
|
||||
use rayon::current_num_threads;
|
||||
use rayon::iter::ParallelIterator;
|
||||
use rayon::prelude::*;
|
||||
-use rust_hawktracer::*;
|
||||
use std::cmp;
|
||||
use std::marker::PhantomData;
|
||||
use std::mem;
|
||||
@@ -559,7 +558,6 @@ impl<T: Pixel> Plane<T> {
|
||||
/// Downscales the source plane by a factor of `scale`, writing the result to `in_plane` (not padded)
|
||||
///
|
||||
/// `in_plane`'s width and height must be sufficient for `scale`.
|
||||
- #[hawktracer(downscale)]
|
||||
pub fn downscale_in_place(&self, scale: usize, in_plane: &mut Plane<T>) {
|
||||
let src = self;
|
||||
let box_pixels = scale * scale;
|
||||
--
|
||||
2.37.1
|
||||
|
@ -1 +1 @@
|
||||
SHA512 (v_frame-0.2.5.crate) = cd883b644700dfc58cdb78a8932e8c981306120a5a9b3e6c616b5712213df09263ef354fd4d4227b6305977e099fca8b98dc599a8b483b2f74b3f8688011f54c
|
||||
SHA512 (v_frame-0.3.4.crate) = 04dfe50c2aa23e0eee9b7a5075a46ca1aa2864e3e6e9e3831d3f0cfe38337e8b7ca7e22184d8af3af3c25d3afb2e59521654daff321885b3332e98b060d47b55
|
||||
|
Loading…
Reference in new issue