• Home
  • Raw
  • Download

Lines Matching refs:sDqLayer

561   SDqLayer sDqLayer;  in TEST()  local
575 sCtx.pCurDqLayer = &sDqLayer; in TEST()
577 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iFirstMbInSlice = 0; in TEST()
578 sDqLayer.sLayerInfo.sSliceInLayer.iTotalMbInCurSlice = 0; in TEST()
581 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.uiDisableDeblockingFilterIdc = 0; in TEST()
582 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iSliceAlphaC0Offset = 0; in TEST()
583 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.iSliceBetaOffset = 0; in TEST()
585 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pSps = &sSPS; in TEST()
586 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pSps->uiTotalMbCount = 0; in TEST()
588 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pPps = &sPPS; in TEST()
590 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pPps->uiNumSliceGroups = 1; in TEST()
593 sDqLayer.iMbX = sDqLayer.iMbY = 0; in TEST()
594 sDqLayer.iMbXyIndex = 0; in TEST()
595 sDqLayer.sLayerInfo.sSliceInLayer.iTotalMbInCurSlice = 1 + rand() % 256; // at least one MB in TEST()
596 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pSps->uiTotalMbCount = in TEST()
597 sDqLayer.sLayerInfo.sSliceInLayer.iTotalMbInCurSlice; in TEST()
598 sDqLayer.iMbWidth = 1 + rand() % 128; in TEST()
600 …EXPECT_TRUE ((sDqLayer.iMbXyIndex + 1) == sDqLayer.sLayerInfo.sSliceInLayer.iTotalMbInCurSlice) <<… in TEST()
601 << " " << sDqLayer.sLayerInfo.sSliceInLayer.iTotalMbInCurSlice; in TEST()
604 sDqLayer.iMbX = sDqLayer.iMbY = 0; in TEST()
605 sDqLayer.iMbXyIndex = 0; in TEST()
606 sDqLayer.sLayerInfo.sSliceInLayer.iTotalMbInCurSlice = 1 + rand() % 256; in TEST()
607 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pSps->uiTotalMbCount = in TEST()
608 sDqLayer.sLayerInfo.sSliceInLayer.iTotalMbInCurSlice + rand() % 256; in TEST()
609 sDqLayer.iMbWidth = 1 + rand() % 128; in TEST()
611 EXPECT_TRUE ((sDqLayer.iMbXyIndex + 1) == sDqLayer.sLayerInfo.sSliceInLayer.iTotalMbInCurSlice); in TEST()
614 sDqLayer.iMbX = sDqLayer.iMbY = 0; in TEST()
615 sDqLayer.iMbXyIndex = 0; in TEST()
616sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pSps->uiTotalMbCount = 1 + rand() %… in TEST()
617 sDqLayer.sLayerInfo.sSliceInLayer.iTotalMbInCurSlice = in TEST()
618sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pSps->uiTotalMbCount + rand() % 256; in TEST()
619 sDqLayer.iMbWidth = 1 + rand() % 128; in TEST()
621 EXPECT_TRUE ((uint32_t) (sDqLayer.iMbXyIndex + 1) == in TEST()
622 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pSps->uiTotalMbCount); in TEST()
625 sDqLayer.iMbX = sDqLayer.iMbY = 0; in TEST()
626 sDqLayer.iMbXyIndex = 0; in TEST()
627 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.uiDisableDeblockingFilterIdc = 1; in TEST()
628 sDqLayer.sLayerInfo.sSliceInLayer.iTotalMbInCurSlice = 1 + rand() % 256; in TEST()
629 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.pSps->uiTotalMbCount = in TEST()
630 sDqLayer.sLayerInfo.sSliceInLayer.iTotalMbInCurSlice; in TEST()
631 sDqLayer.iMbWidth = 1 + rand() % 128; in TEST()
633 EXPECT_TRUE (sDqLayer.iMbXyIndex == 0) << sDqLayer.iMbXyIndex << " " << in TEST()
634 sDqLayer.sLayerInfo.sSliceInLayer.iTotalMbInCurSlice; in TEST()
640 SDqLayer sDqLayer; in TEST() local
645 memset (&sDqLayer, 0, sizeof (SDqLayer)); in TEST()
656 sDqLayer.pChromaQp = iChromaQP; in TEST()
664 sDqLayer.iMbX = 0; in TEST()
665 sDqLayer.iMbY = 0; //Only for test easy in TEST()
666 sDqLayer.iMbXyIndex = 1; // this function has NO iMbXyIndex validation in TEST()
673 FilteringEdgeChromaHV(&sDqLayer, &sFilter, iBoundryFlag); \ in TEST()
709 SDqLayer sDqLayer; in TEST() local
714 memset (&sDqLayer, 0, sizeof (SDqLayer)); in TEST()
725 sDqLayer.pLumaQp = iLumaQP; in TEST()
731 sDqLayer.iMbX = 0; in TEST()
732 sDqLayer.iMbY = 0; //Only for test easy in TEST()
733 sDqLayer.iMbXyIndex = 1; // this function has NO iMbXyIndex validation in TEST()
736 sDqLayer.pTransformSize8x8Flag = bTSize8x8Flag; in TEST()
737 sDqLayer.pTransformSize8x8Flag[sDqLayer.iMbXyIndex] = false; in TEST()
743 FilteringEdgeLumaHV(&sDqLayer, &sFilter, iBoundryFlag); \ in TEST()
781 SDqLayer sDqLayer; in TEST() local
794 sDqLayer.pNzc = (int8_t (*)[24])iNoZeroCount; in TEST()
795 sDqLayer.pRefIndex[0] = (int8_t (*)[16])&iLayerRefIndex[0]; in TEST()
796 sDqLayer.pRefIndex[1] = (int8_t (*)[16])&iLayerRefIndex[1]; in TEST()
798 sDqLayer.pMv[0] = (int16_t (*) [16][2])&iLayerMv[0]; in TEST()
799 sDqLayer.pMv[1] = (int16_t (*) [16][2])&iLayerMv[1]; in TEST()
802 sDqLayer.pTransformSize8x8Flag = bTSize8x8Flag; in TEST()
811 sDqLayer.pDec = NULL; in TEST()
833 EXPECT_TRUE (DeblockingBsMarginalMBAvcbase (&sFilter, &sDqLayer, iEdge, 1, in TEST()
840 EXPECT_TRUE (DeblockingBsMarginalMBAvcbase (&sFilter, &sDqLayer, iEdge, 1, in TEST()
848 EXPECT_TRUE (DeblockingBsMarginalMBAvcbase (&sFilter, &sDqLayer, iEdge, 1, in TEST()
854 EXPECT_TRUE (DeblockingBsMarginalMBAvcbase (&sFilter, &sDqLayer, iEdge, 1, in TEST()
859 EXPECT_TRUE (DeblockingBsMarginalMBAvcbase (&sFilter, &sDqLayer, iEdge, 1, in TEST()
864 EXPECT_TRUE (DeblockingBsMarginalMBAvcbase (&sFilter, &sDqLayer, iEdge, 1, in TEST()
869 EXPECT_TRUE (DeblockingBsMarginalMBAvcbase (&sFilter, &sDqLayer, iEdge, 1, in TEST()
876 EXPECT_TRUE (DeblockingBsMarginalMBAvcbase (&sFilter, &sDqLayer, iEdge, 1, in TEST()
882 EXPECT_TRUE (DeblockingBsMarginalMBAvcbase (&sFilter, &sDqLayer, iEdge, 1, in TEST()
888 EXPECT_TRUE (DeblockingBsMarginalMBAvcbase (&sFilter, &sDqLayer, iEdge, 1, in TEST()
894 EXPECT_TRUE (DeblockingBsMarginalMBAvcbase (&sFilter, &sDqLayer, iEdge, 1, in TEST()
901 EXPECT_TRUE (DeblockingBsMarginalMBAvcbase (&sFilter, &sDqLayer, iEdge, 1, in TEST()
908 EXPECT_TRUE (DeblockingBsMarginalMBAvcbase (&sFilter, &sDqLayer, iEdge, 1, in TEST()
917 SDqLayer sDqLayer; in TEST() local
918 sDqLayer.sLayerInfo.sSliceInLayer.sSliceHeaderExt.sSliceHeader.eSliceType = P_SLICE; in TEST()
919 sDqLayer.pDec = NULL; in TEST()
933 sDqLayer.iMbX = sDqLayer.iMbY = 0; in TEST()
934 sDqLayer.iMbXyIndex = 1; in TEST()
935 sDqLayer.iMbWidth = 1; in TEST()
938 sDqLayer.pTransformSize8x8Flag = bTSize8x8Flag; in TEST()
953 sDqLayer.pLumaQp = iLumaQP; in TEST()
954 sDqLayer.pChromaQp = iChromaQP; in TEST()
957 sDqLayer.pMbType = iMbType; in TEST()
958 sDqLayer.pMbType[0] = MB_TYPE_INTRA4x4; in TEST()
959 sDqLayer.pMbType[1] = MB_TYPE_INTRA4x4; in TEST()
967 memset(sDqLayer.pLumaQp, iQP, sizeof(int8_t)*50); \ in TEST()
968 memset(sDqLayer.pChromaQp, iQP, sizeof(int8_t)*9*2); \ in TEST()
972 WelsDeblockingMb(&sDqLayer, &sFilter, iBoundFlag ); \ in TEST()
973 EXPECT_TRUE(iY[0]==iLumaV0)<<iQP<<" "<<sDqLayer.pMbType[1]; \ in TEST()
974 …EXPECT_TRUE(iY[1<<2]==iLumaV1 && iY[2<<2]==iLumaV1 && iY[3<<2]==iLumaV1)<<iQP<<" "<<sDqLayer.pMbTy… in TEST()
975 …tride[0]]==iLumaV2 && iY[(3 << 2)*sFilter.iCsStride[0]]==iLumaV2)<<iQP<<" "<<sDqLayer.pMbType[1]; \ in TEST()
976 EXPECT_TRUE(iCb[0]==iChromaV0 && iCr[0]==iChromaV0)<<iQP<<" "<<sDqLayer.pMbType[1]; \ in TEST()
977 EXPECT_TRUE(iCb[2<<1]==iChromaV1 && iCr[2<<1]==iChromaV1)<<iQP<<" "<<sDqLayer.pMbType[1]; \ in TEST()
978 …ride[1]]==iChromaV2 && iCr[(2<<1)*sFilter.iCsStride[1]]==iChromaV2)<<iQP<<" "<<sDqLayer.pMbType[1]; in TEST()
982 sDqLayer.pMbType[1] = MB_TYPE_INTRA4x4; in TEST()
987 sDqLayer.pMbType[1] = MB_TYPE_INTRA16x16; in TEST()
994 sDqLayer.pMbType[1] = MB_TYPE_INTRA_PCM; in TEST()
999 sDqLayer.pMbType[0] = MB_TYPE_INTRA16x16; in TEST()
1000 sDqLayer.pMbType[1] = MB_TYPE_SKIP; // Internal SKIP, Bs==0 in TEST()
1005 sDqLayer.pMbType[1] = MB_TYPE_INTRA_PCM; in TEST()