Skip to content

Commit

Permalink
Automated Update
Browse files Browse the repository at this point in the history
  • Loading branch information
natural-harmonia-gropius authored and github-actions[bot] committed Nov 3, 2024
1 parent f2d8c9e commit e48c55b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 3 additions & 1 deletion portable_config/filters/vsmlrt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.22.7"
__version__ = "3.22.8"

__all__ = [
"Backend", "BackendV2",
Expand Down Expand Up @@ -249,6 +249,7 @@ class MIGX:
opt_shapes: typing.Optional[typing.Tuple[int, int]] = None
fast_math: bool = True
exhaustive_tune: bool = False
num_streams: int = 1

short_path: typing.Optional[bool] = None # True on Windows by default, False otherwise
custom_env: typing.Dict[str, str] = field(default_factory=lambda: {})
Expand Down Expand Up @@ -2649,6 +2650,7 @@ def _inference(
ret = core.migx.Model(
clips, mxr_path,
device_id=backend.device_id,
num_streams=backend.num_streams,
**kwargs
)
elif isinstance(backend, Backend.OV_NPU):
Expand Down
10 changes: 9 additions & 1 deletion portable_config/shaders/CfL_Prediction.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

//!PARAM chroma_offset_x
//!TYPE float
0.0

//!PARAM chroma_offset_y
//!TYPE float
0.0

//!HOOK CHROMA
//!BIND LUMA
//!BIND HOOKED
Expand All @@ -30,7 +38,7 @@
//!DESC Chroma From Luma Prediction (Downscaling Luma)

vec4 hook() {
return LUMA_texOff(0.0);
return LUMA_texOff(vec2(chroma_offset_x, chroma_offset_y));
}

//!HOOK CHROMA
Expand Down

0 comments on commit e48c55b

Please sign in to comment.