public Size getCodedSize() {
        SampleEntry se = getSampleEntries()[0];
        if (!(se instanceof VideoSampleEntry))
            throw new IllegalArgumentException("Not a video track");
        VideoSampleEntry vse = (VideoSampleEntry) se;

        return new Size(vse.getWidth(), vse.getHeight());
    }
public Size getCodedSize() {
        SampleEntry se = getSampleEntries()[0];
        if (!(se instanceof VideoSampleEntry))
            throw new IllegalArgumentException("Not a video track");
        VideoSampleEntry vse = (VideoSampleEntry) se;

        return new Size(vse.getWidth(), vse.getHeight());
    }
public Size getCodedSize ( ) { SampleEntry se = getSampleEntries ( ) [ 0 ] ; if ( ! ( se instanceof VideoSampleEntry ) ) throw new IllegalArgumentException ( "Not a video track" ) ; VideoSampleEntry vse = ( VideoSampleEntry ) se ; return new Size ( vse . getWidth ( ) , vse . getHeight ( ) ) ; }
Retrieves coded size of this video track.

Note: May be different from video display dimension.

@return
Retrieves coded size of this video track .