Lines Matching refs:psCurrent
1583 MTX_CURRENT_IN_PARAMS * psCurrent, in pnw__setup_qpvalue_h264() argument
1594 psCurrent->bySliceQP = bySliceQP; in pnw__setup_qpvalue_h264()
1595 psCurrent->bySliceQPC = HOST_PVR_QP_SCALE_CR[psCurrent->bySliceQP]; in pnw__setup_qpvalue_h264()
1600 MTX_CURRENT_IN_PARAMS * psCurrent, in pnw__setup_qpvalues_mpeg4() argument
1603 psCurrent->bySliceQP = bySliceQP; in pnw__setup_qpvalues_mpeg4()
1618 MTX_CURRENT_IN_PARAMS *psCurrent; in pnw__setup_slice_row_params() local
1642 psCurrent = (MTX_CURRENT_IN_PARAMS*)(cmdbuf->topaz_in_params_I_p + ctx->in_params_ofs); in pnw__setup_slice_row_params()
1644 psCurrent = (MTX_CURRENT_IN_PARAMS*)(cmdbuf->topaz_in_params_P_p + ctx->in_params_ofs); in pnw__setup_slice_row_params()
1646 psCurrent += (CurrentRowY * (ctx->Width) / 256); in pnw__setup_slice_row_params()
1668 for (iPos = 0; iPos < ctx->Width; iPos += 16, psCurrent++) { in pnw__setup_slice_row_params()
1669 memset(psCurrent, 0, sizeof(MTX_CURRENT_IN_PARAMS)); in pnw__setup_slice_row_params()
1670 psCurrent->MVValid = 0; in pnw__setup_slice_row_params()
1671 psCurrent->ParamsValid = 0; in pnw__setup_slice_row_params()
1674 psCurrent->MVValid = VECTORS_ABOVE_VALID; in pnw__setup_slice_row_params()
1678 psCurrent->MVValid = VECTORS_ABOVE_VALID | DO_INTRA_PRED; in pnw__setup_slice_row_params()
1679 psCurrent->ParamsValid |= PARAMS_ABOVE_VALID; in pnw__setup_slice_row_params()
1682 psCurrent->ParamsValid |= PARAMS_ABOVER_VALID; in pnw__setup_slice_row_params()
1683 …psCurrent->MVValid |= /*VECTORS_LEFT_VALID; //*/(1 << 2); /* Vectors left valid define looks wrong… in pnw__setup_slice_row_params()
1687 psCurrent->ParamsValid |= PARAMS_ABOVEL_VALID; in pnw__setup_slice_row_params()
1688 psCurrent->MVValid |= VECTORS_ABOVE_LEFT_VALID; //(1<<0) in pnw__setup_slice_row_params()
1695 psCurrent->ParamsValid |= MB_START_OF_SLICE;// OPTI? in pnw__setup_slice_row_params()
1697 psCurrent->ParamsValid |= MB_START_OF_SLICE;// OPTI? in pnw__setup_slice_row_params()
1709 …psCurrent->MVValid |= DO_INTRA_PRED | (1 << 3); /*MV_VALID define looks wrong?! so use hard coded … in pnw__setup_slice_row_params()
1710 psCurrent->ParamsValid |= 8; //(1<<3) in pnw__setup_slice_row_params()
1714 psCurrent->ParamsValid |= MB_END_OF_ROW; in pnw__setup_slice_row_params()
1717 psCurrent->ParamsValid |= MB_END_OF_SLICE; in pnw__setup_slice_row_params()
1719 psCurrent->ParamsValid |= MB_END_OF_PICTURE; in pnw__setup_slice_row_params()
1727 psCurrent->MVValid |= VECTORS_BELOW_VALID; //(1<<4) in pnw__setup_slice_row_params()
1730 psCurrent->MVValid |= VECTORS_2BELOW_VALID; //(1<<5) in pnw__setup_slice_row_params()
1738 psCurrent->IPEMin[0] = ui16CurBlockX - iPos; in pnw__setup_slice_row_params()
1739 psCurrent->RealEdge |= SPE_EDGE_LEFT; in pnw__setup_slice_row_params()
1741 psCurrent->IPEMin[0] = ui16CurBlockX / 16; in pnw__setup_slice_row_params()
1745 …psCurrent->IPEMax[0] = (ui16CurBlockX - 1 + ctx->Width) - iPos; //(112 - 1) - ((iPos + 48+16) - ct… in pnw__setup_slice_row_params()
1746 psCurrent->RealEdge |= SPE_EDGE_RIGHT; in pnw__setup_slice_row_params()
1748 … psCurrent->IPEMax[0] = (ui16CurBlockX + 16 + ui16SearchLeftOffset) - 1 - 3; //(112 - 1) - 3; in pnw__setup_slice_row_params()
1754 psCurrent->IPEMin[1] = 0; in pnw__setup_slice_row_params()
1755 psCurrent->RealEdge |= SPE_EDGE_TOP; in pnw__setup_slice_row_params()
1757 psCurrent->IPEMin[1] = 3; in pnw__setup_slice_row_params()
1762 psCurrent->IPEMax[1] = ui16SearchHeight - 1; in pnw__setup_slice_row_params()
1763 psCurrent->RealEdge |= ui16SearchHeight - 4; in pnw__setup_slice_row_params()
1765 psCurrent->IPEMax[1] = ui16SearchHeight - 4; in pnw__setup_slice_row_params()
1768 psCurrent->CurBlockAddr = ((ui16CurBlockX) / 16); in pnw__setup_slice_row_params()
1769 psCurrent->CurBlockAddr |= ((IMG_UINT8)(((iYPos + ui16SearchTopOffset) - srcY) / 16) << 4); in pnw__setup_slice_row_params()
1775 psCurrent->IPEControl = ctx->IPEControl; in pnw__setup_slice_row_params()
1781 pnw__setup_qpvalues_mpeg4(psCurrent, bySliceQP); in pnw__setup_slice_row_params()
1782 psCurrent->JMCompControl = F_ENCODE(2, MVEA_CR_JMCOMP_MODE); in pnw__setup_slice_row_params()
1783 …psCurrent->VLCControl = F_ENCODE(3, TOPAZ_VLC_CR_CODEC) | F_ENCODE(IsIntra ? 0 : 1, TOPAZ_VLC_CR_S… in pnw__setup_slice_row_params()
1788 pnw__setup_qpvalues_mpeg4(psCurrent, bySliceQP); in pnw__setup_slice_row_params()
1789 …psCurrent->JMCompControl = F_ENCODE(1, MVEA_CR_JMCOMP_MODE) | F_ENCODE(1, MVEA_CR_JMCOMP_AC_ENABLE… in pnw__setup_slice_row_params()
1790 …psCurrent->VLCControl = F_ENCODE(2, TOPAZ_VLC_CR_CODEC) | F_ENCODE(IsIntra ? 0 : 1, TOPAZ_VLC_CR_S… in pnw__setup_slice_row_params()
1797 pnw__setup_qpvalue_h264(psCurrent, bySliceQP); in pnw__setup_slice_row_params()
1798 psCurrent->JMCompControl = F_ENCODE(0, MVEA_CR_JMCOMP_MODE); in pnw__setup_slice_row_params()
1799 …psCurrent->VLCControl = F_ENCODE(1, TOPAZ_VLC_CR_CODEC) | F_ENCODE(IsIntra ? 0 : 1, TOPAZ_VLC_CR_S… in pnw__setup_slice_row_params()
1806 memset(psCurrent, 0, sizeof(MTX_CURRENT_IN_PARAMS)); in pnw__setup_slice_row_params()
1807 psCurrent->MVValid = DO_INTRA_PRED; in pnw__setup_slice_row_params()
1808 psCurrent->ParamsValid = 0; in pnw__setup_slice_row_params()
1809 psCurrent->RealEdge = 0; in pnw__setup_slice_row_params()