@Test public void mustSetOutputSurface() { VideoDecoder decoder = create.videoDecoder().construct(); ISurfaceWrapper surface = create.surfaceContainer().construct(); decoder.setOutputSurface(surface); assertNull(decoder.getSurface()); }
public VideoDecoder(IMediaCodec mediaCodec) { super(mediaCodec, MediaFormatType.VIDEO); }
VideoDecoder extends Decoder implements IVideoOutput { public VideoDecoder(IMediaCodec mediaCodec) { super(mediaCodec, MediaFormatType.VIDEO); } }
VideoDecoder extends Decoder implements IVideoOutput { public VideoDecoder(IMediaCodec mediaCodec) { super(mediaCodec, MediaFormatType.VIDEO); } VideoDecoder(IMediaCodec mediaCodec); }
VideoDecoder extends Decoder implements IVideoOutput { public VideoDecoder(IMediaCodec mediaCodec) { super(mediaCodec, MediaFormatType.VIDEO); } VideoDecoder(IMediaCodec mediaCodec); @Override void drain(int bufferIndex); @Override void push(Frame frame); @Override void stop(); Resolution getOutputResolution(); }
VideoDecoder extends Decoder implements IVideoOutput { public VideoDecoder(IMediaCodec mediaCodec) { super(mediaCodec, MediaFormatType.VIDEO); } VideoDecoder(IMediaCodec mediaCodec); @Override void drain(int bufferIndex); @Override void push(Frame frame); @Override void stop(); Resolution getOutputResolution();  }