-
什么是马克思主义和马克思主义基本原理(包括的三个基本部分有哪些)?
马克思主义是由马克思和恩格斯创立并为后继者所不断发展的科学理论体系,是关于自然、社会和人类思维发展一般规律的学说,是关于社会主义必然代替资本主义、最终实现共产主义的学说,是关于无产阶级解放、全人类解放和每个人自由而全面发展的学说,是无产阶级政党和社会主义国家的指导思想,是指引人民创造美好生活的行动指南。
马克思主义基本原理是对马克思主义立场、观点、方法的集中概括,是马克思主义在其形成、发展和运用过程中经过反复实践而确立起来的具有普遍真理性的理论。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def adaptive_grain(clip: vs.VideoNode, strength=0.25, static=True, luma_scaling=12, show_mask=False) -> vs.VideoNode: | |
""" | |
Generates grain based on frame and pixel brightness. Details can be found here: | |
https://kageru.moe/blog/article/adaptivegrain | |
Strength is the strength of the grain generated by AddGrain, static=True for static grain, luma_scaling | |
manipulates the grain alpha curve. Higher values will generate less grain (especially in brighter scenes), | |
while lower values will generate more grain, even in brighter scenes. | |
""" | |
import numpy as np |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from vapoursynth import core, VideoNode | |
def defilmgrain(clip: VideoNode, s1=16, s2=3, s3=3, g=1.5, dark=10000) -> VideoNode: | |
from vapoursynth import YUV, GRAY, Error | |
from fvsfunc import Depth | |
from havsfunc import QTGMC | |
from muvsfunc import MergeChroma | |
from vsutil import get_y, iterate | |
from dfttest2 import DFTTest | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# In my (and Magic-Raws') configue, mkvmerge is placed in system path, | |
# VSPipe.exe in sys.prefix, and x265 (plus x264) in sys.prefix//x26x, so that is default in this function. | |
def SEM( | |
fp_vc_input: str, | |
segment_list: list, | |
fp_qpfile: str, | |
x26x_param: str, | |
fp_vpy: str, | |
fp_vc_output: str, | |
force_expand: bool = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def GCFQP( | |
vcfile: str, | |
qpfile: str, | |
output_chapter: str | |
): | |
import xml.etree.ElementTree as xet | |
import os | |
os.system(f'mkvmerge -o tmp.mkv "{vcfile}"') | |
os.system('ffprobe -hide_banner -v error -threads auto -show_frames -of xml -select_streams v:0 -i tmp.mkv > tmp.xml') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import argparse | |
import sys | |
import time | |
import msvcrt | |
parser = argparse.ArgumentParser(formatter_class=argparse.RawTextHelpFormatter) | |
parser.add_argument('-d', type=str, default='./', | |
help='-d: specify the path to your workspace') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Holy's ported AviSynth functions for VapourSynth. | |
Main functions: | |
daa | |
daa3mod | |
mcdaa3 | |
santiag | |
FixChromaBleedingMod | |
Deblock_QED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import vapoursynth as vs | |
import rksfunc as rks | |
import os | |
import random | |
from awsmfunc import FrameInfo | |
from math import ceil | |
core = vs.core | |
core.max_cache_size = 25600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from vapoursynth import core | |
from muvsfunc import SSIM_downsample | |
__version__ = "k.1.1.0" | |
def nnedi3_rpow2(clip, rfactor=2, width=None, height=None, correct_shift=True, | |
kernel="SSIM", nsize=0, nns=3, qual=None, etype=None, pscrn=None, | |
opt=True, int16_prescreener=None, int16_predictor=None, exp=None, upsizer=None): |