public ByteBuffer encodeIDRFrame(Picture pic, ByteBuffer _out) {
        frameNumber = 0;
        return doEncodeFrame(pic, _out, true, frameNumber, SliceType.I);
    }
public ByteBuffer encodeIDRFrame(Picture pic, ByteBuffer _out) {
        frameNumber = 0;
        return doEncodeFrame(pic, _out, true, frameNumber, SliceType.I);
    }
public ByteBuffer encodeIDRFrame ( Picture pic , ByteBuffer _out ) { frameNumber = 0 ; return doEncodeFrame ( pic , _out , true , frameNumber , SliceType . I ) ; }
Encode this picture as an IDR frame. IDR frame starts a new independently
decodeable video sequence

@param pic
@param _out
@return
Encode this picture as an IDR frame . IDR frame starts a new independently decodeable video sequence