eab69f0ff48a8a595cc26e6770a603010c75dddf,python/src/vmaf/core/executor.py,Executor,_get_ref_crop_cmd,#Executor#Any#,521

Before Change


            return ""

    def _get_ref_crop_cmd(self, asset):
        crop_cmd = "crop={}".format(
            asset.ref_crop_cmd) if asset.ref_crop_cmd is not None else ""
        return crop_cmd

    def _get_dis_crop_cmd(self, asset):
        crop_cmd = "crop={}".format(
            asset.dis_crop_cmd) if asset.dis_crop_cmd is not None else ""

After Change



    @classmethod
    def _get_ref_crop_cmd(cls, asset):
        return cls._get_filter_cmd(asset, "crop", "ref")

    @classmethod
    def _get_dis_crop_cmd(cls, asset):
        return cls._get_filter_cmd(asset, "crop", "dis")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 9

Instances


Project Name: Netflix/vmaf
Commit Name: eab69f0ff48a8a595cc26e6770a603010c75dddf
Time: 2019-12-13
Author: zli@netflix.com
File Name: python/src/vmaf/core/executor.py
Class Name: Executor
Method Name: _get_ref_crop_cmd


Project Name: Netflix/vmaf
Commit Name: eab69f0ff48a8a595cc26e6770a603010c75dddf
Time: 2019-12-13
Author: zli@netflix.com
File Name: python/src/vmaf/core/executor.py
Class Name: Executor
Method Name: _get_dis_crop_cmd


Project Name: Netflix/vmaf
Commit Name: eab69f0ff48a8a595cc26e6770a603010c75dddf
Time: 2019-12-13
Author: zli@netflix.com
File Name: python/src/vmaf/core/executor.py
Class Name: Executor
Method Name: _get_dis_pad_cmd


Project Name: Netflix/vmaf
Commit Name: eab69f0ff48a8a595cc26e6770a603010c75dddf
Time: 2019-12-13
Author: zli@netflix.com
File Name: python/src/vmaf/core/executor.py
Class Name: Executor
Method Name: _get_ref_pad_cmd


Project Name: Netflix/vmaf
Commit Name: eab69f0ff48a8a595cc26e6770a603010c75dddf
Time: 2019-12-13
Author: zli@netflix.com
File Name: python/src/vmaf/core/executor.py
Class Name: Executor
Method Name: _get_ref_crop_cmd