203bf1c8f13796d01c65bcf7fec4e2233e143bcd,python/src/vmaf/core/asset.py,Asset,dis_pad_cmd,#Asset#,732
Before Change
@property
def dis_pad_cmd(self):
if "dis_pad_cmd" in self.asset_dict:
return self.asset_dict["dis_pad_cmd"]
elif "pad_cmd" in self.asset_dict:
return self.asset_dict["pad_cmd"]
else:
return None
@property
def gblur_cmd(self):
if "gblur_cmd" in self.asset_dict:
return self.asset_dict["gblur_cmd"]
After Change
@property
def dis_pad_cmd(self):
return self.get_filter_cmd("pad", "dis")
def get_filter_cmd(self, key, target=None):
assert key in self.SUPPORTED_FILTER_TYPES, "key {key} is not in SUPPORTED_FILTER_TYPES".format(key=key)
assert target == "ref" or target == "dis" or target is None, \
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 15
Instances Project Name: Netflix/vmaf
Commit Name: 203bf1c8f13796d01c65bcf7fec4e2233e143bcd
Time: 2019-12-13
Author: zli@netflix.com
File Name: python/src/vmaf/core/asset.py
Class Name: Asset
Method Name: dis_pad_cmd
Project Name: Netflix/vmaf
Commit Name: 203bf1c8f13796d01c65bcf7fec4e2233e143bcd
Time: 2019-12-13
Author: zli@netflix.com
File Name: python/src/vmaf/core/asset.py
Class Name: Asset
Method Name: dis_pad_cmd
Project Name: Netflix/vmaf
Commit Name: 203bf1c8f13796d01c65bcf7fec4e2233e143bcd
Time: 2019-12-13
Author: zli@netflix.com
File Name: python/src/vmaf/core/asset.py
Class Name: Asset
Method Name: ref_crop_cmd
Project Name: Netflix/vmaf
Commit Name: 203bf1c8f13796d01c65bcf7fec4e2233e143bcd
Time: 2019-12-13
Author: zli@netflix.com
File Name: python/src/vmaf/core/asset.py
Class Name: Asset
Method Name: dis_crop_cmd
Project Name: Netflix/vmaf
Commit Name: 203bf1c8f13796d01c65bcf7fec4e2233e143bcd
Time: 2019-12-13
Author: zli@netflix.com
File Name: python/src/vmaf/core/asset.py
Class Name: Asset
Method Name: ref_pad_cmd