Searched refs:layerInfo (Results 1 – 6 of 6) sorted by relevance
/third_party/flutter/skia/tests/ |
D | LayerDrawLooperTest.cpp | 47 SkLayerDrawLooper::LayerInfo layerInfo; in test_frontToBack() local 50 (void)looperBuilder.addLayer(layerInfo); in test_frontToBack() 53 layerInfo.fOffset.set(10.0f, 20.0f); in test_frontToBack() 54 layerInfo.fPaintBits |= SkLayerDrawLooper::kXfermode_Bit; in test_frontToBack() 55 SkPaint* layerPaint = looperBuilder.addLayer(layerInfo); in test_frontToBack() 83 SkLayerDrawLooper::LayerInfo layerInfo; in test_backToFront() local 86 (void)looperBuilder.addLayerOnTop(layerInfo); in test_backToFront() 89 layerInfo.fOffset.set(10.0f, 20.0f); in test_backToFront() 90 layerInfo.fPaintBits |= SkLayerDrawLooper::kXfermode_Bit; in test_backToFront() 91 SkPaint* layerPaint = looperBuilder.addLayerOnTop(layerInfo); in test_backToFront() [all …]
|
/third_party/openh264/test/api/ |
D | encode_decode_api_test.template | 86 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; 87 const int kiFirstNalType = ((* (layerInfo.pBsBuf + 4)) & 0x1f); 92 for (int iNal = 0; iNal < layerInfo.iNalCount; ++iNal) { 93 iLayerLen += layerInfo.pNalLengthInByte[iNal]; 97 iIdx = layerInfo.uiSpatialId; 99 memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char)); 102 if (layerInfo.uiLayerType == NON_VIDEO_CODING_LAYER) { 105 … memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char)); 109 iIdx = layerInfo.uiSpatialId; 111 … memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char));
|
D | encode_decode_api_test.cpp | 62 const SLayerBSInfo& layerInfo = info.sLayerInfo[i]; in encToDecData() local 63 for (int j = 0; j < layerInfo.iNalCount; ++j) { in encToDecData() 64 len += layerInfo.pNalLengthInByte[j]; in encToDecData() 73 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayerNum]; in encToDecSliceData() local 74 if (iSliceNum < layerInfo.iNalCount) in encToDecSliceData() 75 len = layerInfo.pNalLengthInByte[iSliceNum]; in encToDecSliceData() 165 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; in TestOneSimulcastAVC() local 166 for (int iNal = 0; iNal < layerInfo.iNalCount; ++iNal) { in TestOneSimulcastAVC() 167 iLayerLen += layerInfo.pNalLengthInByte[iNal]; in TestOneSimulcastAVC() 170 iIdx = layerInfo.uiSpatialId; in TestOneSimulcastAVC() [all …]
|
D | encoder_test.cpp | 8 const SLayerBSInfo& layerInfo = info.sLayerInfo[i]; in UpdateHashFromFrame() local 10 for (int j = 0; j < layerInfo.iNalCount; ++j) { in UpdateHashFromFrame() 11 layerSize += layerInfo.pNalLengthInByte[j]; in UpdateHashFromFrame() 13 SHA1Input (ctx, layerInfo.pBsBuf, layerSize); in UpdateHashFromFrame()
|
D | decode_encode_test.cpp | 11 const SLayerBSInfo& layerInfo = info.sLayerInfo[i]; in UpdateHashFromFrame() local 13 for (int j = 0; j < layerInfo.iNalCount; ++j) { in UpdateHashFromFrame() 14 layerSize += layerInfo.pNalLengthInByte[j]; in UpdateHashFromFrame() 16 SHA1Input (ctx, layerInfo.pBsBuf, layerSize); in UpdateHashFromFrame()
|
D | encode_options_test.cpp | 1006 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; in TEST_F() local 1007 for (int iNal = 0; iNal < layerInfo.iNalCount; ++iNal) { in TEST_F() 1008 iLayerLen += layerInfo.pNalLengthInByte[iNal]; in TEST_F() 1011 if (layerInfo.uiLayerType == NON_VIDEO_CODING_LAYER) { in TEST_F() 1014 … memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char)); in TEST_F() 1018 iIdx = layerInfo.uiSpatialId; in TEST_F() 1020 memcpy ((pBsBuf[iIdx] + aLen[iIdx]), layerInfo.pBsBuf, iLayerLen * sizeof (unsigned char)); in TEST_F() 1131 const SLayerBSInfo& layerInfo = info.sLayerInfo[iLayer]; in TEST_F() local 1132 const int kiFirstNalType = ((* (layerInfo.pBsBuf + 4)) & 0x1f); in TEST_F() 1135 for (int iNal = 0; iNal < layerInfo.iNalCount; ++iNal) { in TEST_F() [all …]
|