rtmp/src/main/java/com/example/test/rmtp/filterReuse/AndroidViewFilterReuse.java
/**
     * after call attach see{@link #setupDefaultAttachViewSizeAndSetupRecord(AndroidViewFilterRender, float, float)}
     * @param setupRender
     * @param scalex
     * @param scaley
     */
after call attach see #setupDefaultAttachViewSizeAndSetupRecord(AndroidViewFilterRender, float, float)
@param setupRender
@param scalex
@param scaley
after call attach see #setupDefaultAttachViewSizeAndSetupRecord ( AndroidViewFilterRender float float ) @param setupRender @param scalex @param scaley
public void scaleAttachViewAndSetupRecord(AndroidViewFilterRender setupRender , float scalex, float scaley){
        float beforeScalex=getFilterRecord().getScale().x;
        float beforeScaley=getFilterRecord().getScale().y;
        float setupScalex=beforeScalex * scalex;
        float setupScaley=beforeScaley * scaley;
        setupRender.setScale(setupScalex,setupScaley);
        getFilterRecord().setScale(new PointF(setupScalex,setupScaley));
    }
public void scaleAttachViewAndSetupRecord ( AndroidViewFilterRender setupRender , float scalex , float scaley ) { float beforeScalex = getFilterRecord ( ) . getScale ( ) . x ; float beforeScaley = getFilterRecord ( ) . getScale ( ) . y ; float setupScalex = beforeScalex * scalex ; float setupScaley = beforeScaley * scaley ; setupRender . setScale ( setupScalex , setupScaley ) ; getFilterRecord ( ) . setScale ( new PointF ( setupScalex , setupScaley ) ) ; }
after call attach see{@link #setupDefaultAttachViewSizeAndSetupRecord(AndroidViewFilterRender, float, float)}
 @param setupRender
 @param scalex
 @param scaley
after call attach see { @link #setupDefaultAttachViewSizeAndSetupRecord ( AndroidViewFilterRender float float ) } @param setupRender @param scalex @param scaley