def test_ExtVPPImageStab(self): """Test ExtVPPImageStab""" obj = pyvpl.ExtVPPImageStab() self.assertEqual(obj.ID, 1112822601) self.assertEqual(obj.size, 32) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1112822601, 32), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'Mode')
def test_ExtVppMctf(self): """Test ExtVppMctf""" obj = pyvpl.ExtVppMctf() self.assertEqual(obj.ID, 1179927373) self.assertEqual(obj.size, 64) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1179927373, 64), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'FilterStrength')
def test_ExtDecodedFrameInfo(self): """Test ExtDecodedFrameInfo""" obj = pyvpl.ExtDecodedFrameInfo() self.assertEqual(obj.ID, 1229342020) self.assertEqual(obj.size, 128) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1229342020, 128), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'FrameType')
def test_ExtVPPFrameRateConversion(self): """Test ExtVPPFrameRateConversion""" obj = pyvpl.ExtVPPFrameRateConversion() self.assertEqual(obj.ID, 541282886) self.assertEqual(obj.size, 72) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(541282886, 72), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'Algorithm')
def test_ExtVPPDetail(self): """Test ExtVPPDetail""" obj = pyvpl.ExtVPPDetail() self.assertEqual(obj.ID, 542393668) self.assertEqual(obj.size, 12) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(542393668, 12), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'DetailFactor')
def test_ExtVPPColorFill(self): """Test ExtVPPColorFill""" obj = pyvpl.ExtVPPColorFill() self.assertEqual(obj.ID, 1179403094) self.assertEqual(obj.size, 32) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1179403094, 32), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'Enable')
def test_ExtVPPMirroring(self): """Test ExtVPPMirroring""" obj = pyvpl.ExtVPPMirroring() self.assertEqual(obj.ID, 1381124429) self.assertEqual(obj.size, 32) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1381124429, 32), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'Type')
def test_ExtPictureTimingSEI(self): """Test ExtPictureTimingSEI""" obj = pyvpl.ExtPictureTimingSEI() self.assertEqual(obj.ID, 1163088976) self.assertEqual(obj.size, 160) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1163088976, 160), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'TimeStamp')
def test_ExtVP9TemporalLayers(self): """Test ExtVP9TemporalLayers""" obj = pyvpl.ExtVP9TemporalLayers() self.assertEqual(obj.ID, 1280136249) self.assertEqual(obj.size, 384) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1280136249, 384), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'Layer')
def test_ExtVPPRotation(self): """Test ExtVPPRotation""" obj = pyvpl.ExtVPPRotation() self.assertEqual(obj.ID, 542396242) self.assertEqual(obj.size, 32) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(542396242, 32), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'Angle')
def test_ExtColorConversion(self): """Test ExtColorConversion""" obj = pyvpl.ExtColorConversion() self.assertEqual(obj.ID, 1129530198) self.assertEqual(obj.size, 64) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1129530198, 64), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'ChromaSiting')
def test_ExtEncoderCapability(self): """Test ExtEncoderCapability""" obj = pyvpl.ExtEncoderCapability() self.assertEqual(obj.ID, 1346588229) self.assertEqual(obj.size, 128) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1346588229, 128), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'MBPerSec')
def test_ExtEncoderResetOption(self): """Test ExtEncoderResetOption""" obj = pyvpl.ExtEncoderResetOption() self.assertEqual(obj.ID, 1330794053) self.assertEqual(obj.size, 32) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1330794053, 32), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'StartNewSequence')
def test_ExtDecodeErrorReport(self): """Test ExtDecodeErrorReport""" obj = pyvpl.ExtDecodeErrorReport() self.assertEqual(obj.ID, 1381123396) self.assertEqual(obj.size, 32) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1381123396, 32), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'ErrorTypes')
def test_ExtMoveRect(self): """Test ExtMoveRect""" obj = pyvpl.ExtMoveRect() self.assertEqual(obj.ID, 1229935181) self.assertEqual(obj.size, 8224) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1229935181, 8224), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'NumRect') self.check_field(obj, 'Rect')
def test_ExtVPPDoUse(self): """Test ExtVPPDoUse""" obj = pyvpl.ExtVPPDoUse() self.assertEqual(obj.ID, 1163089220) self.assertEqual(obj.size, 24) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1163089220, 24), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'AlgList') self.check_field(obj, 'NumAlg')
def test_ExtInsertHeaders(self): """Test ExtInsertHeaders""" obj = pyvpl.ExtInsertHeaders() self.assertEqual(obj.ID, 1163022419) self.assertEqual(obj.size, 28) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1163022419, 28), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'PPS') self.check_field(obj, 'SPS')
def test_ExtHEVCTiles(self): """Test ExtHEVCTiles""" obj = pyvpl.ExtHEVCTiles() self.assertEqual(obj.ID, 1412773426) self.assertEqual(obj.size, 160) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1412773426, 160), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'NumTileColumns') self.check_field(obj, 'NumTileRows')
def test_ExtEncoderIPCMArea(self): """Test ExtEncoderIPCMArea""" obj = pyvpl.ExtEncoderIPCMArea() self.assertEqual(obj.ID, 1380795216) self.assertEqual(obj.size, 40) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1380795216, 40), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'Areas') self.check_field(obj, 'NumArea')
def test_ExtVPPDenoise2(self): """Test ExtVPPDenoise2""" obj = pyvpl.ExtVPPDenoise2() self.assertEqual(obj.ID, 843664964) self.assertEqual(obj.size, 44) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(843664964, 12), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'Mode') self.check_field(obj, 'Strength')
def test_ExtMBForceIntra(self): """Test ExtMBForceIntra""" obj = pyvpl.ExtMBForceIntra() self.assertEqual(obj.ID, 1229341261) self.assertEqual(obj.size, 64) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1229341261, 64), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'Map') self.check_field(obj, 'MapSize')
def test_ExtDeviceAffinityMask(self): """Test ExtDeviceAffinityMask""" obj = pyvpl.ExtDeviceAffinityMask() self.assertEqual(obj.ID, 1296449860) self.assertEqual(obj.size, 168) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1296449860, 168), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'DeviceID') self.check_field(obj, 'NumSubDevices')
def test_ExtMBDisableSkipMap(self): """Test ExtMBDisableSkipMap""" obj = pyvpl.ExtMBDisableSkipMap() self.assertEqual(obj.ID, 1297302605) self.assertEqual(obj.size, 64) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1297302605, 64), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'Map') self.check_field(obj, 'MapSize')
def test_ExtDecVideoProcessing(self): """Test ExtDecVideoProcessing""" obj = pyvpl.ExtDecVideoProcessing() self.assertEqual(obj.ID, 1447249220) self.assertEqual(obj.size, 132) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1447249220, 132), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'In') self.check_field(obj, 'Out')
def test_ExtPartialBitstreamParam(self): """Test ExtPartialBitstreamParam""" obj = pyvpl.ExtPartialBitstreamParam() self.assertEqual(obj.ID, 1347371600) self.assertEqual(obj.size, 32) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1347371600, 32), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'BlockSize') self.check_field(obj, 'Granularity')
def test_ExtAvcTemporalLayers(self): """Test ExtAvcTemporalLayers""" obj = pyvpl.ExtAvcTemporalLayers() self.assertEqual(obj.ID, 1280136257) self.assertEqual(obj.size, 92) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1280136257, 92), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'BaseLayerPID') self.check_field(obj, 'Layer')
def test_ExtVPPScaling(self): """Test ExtVPPScaling""" obj = pyvpl.ExtVPPScaling() self.assertEqual(obj.ID, 1279480662) self.assertEqual(obj.size, 32) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1279480662, 32), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'InterpolationMethod') self.check_field(obj, 'ScalingMode')
def test_ExtVPPDeinterlacing(self): """Test ExtVPPDeinterlacing""" obj = pyvpl.ExtVPPDeinterlacing() self.assertEqual(obj.ID, 1229213782) self.assertEqual(obj.size, 32) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1229213782, 32), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'Mode') self.check_field(obj, 'TelecineLocation') self.check_field(obj, 'TelecinePattern')
def test_ExtHEVCRegion(self): """Test ExtHEVCRegion""" obj = pyvpl.ExtHEVCRegion() self.assertEqual(obj.ID, 1379218994) self.assertEqual(obj.size, 64) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1379218994, 64), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'RegionEncoding') self.check_field(obj, 'RegionId') self.check_field(obj, 'RegionType')
def test_ExtVPPFieldProcessing(self): """Test ExtVPPFieldProcessing""" obj = pyvpl.ExtVPPFieldProcessing() self.assertEqual(obj.ID, 1330794566) self.assertEqual(obj.size, 64) self.check_field(obj, 'Header', pyvpl.mfxExtBuffer(1330794566, 64), pyvpl.mfxExtBuffer(1, 1)) self.check_field(obj, 'InField') self.check_field(obj, 'Mode') self.check_field(obj, 'OutField')