On Wed, 11 Jan 2017 10:18:04 +0100
Anton Khirnov <[email protected]> wrote:

> Quoting wm4 (2017-01-10 10:29:53)
> > On Tue, 10 Jan 2017 09:01:09 +0100
> > Anton Khirnov <[email protected]> wrote:
> >   
> > >      /**
> > > -     * width and height of the video frame
> > > +     * @name Video dimensions
> > > +     * Video frames only. The coded dimensions (in pixels) of the video 
> > > frame,
> > > +     * i.e. the size of the rectangle that contains some well-defined 
> > > values.
> > > +     *
> > > +     * @note The part of the frame intended for display/presentation is 
> > > further
> > > +     * restricted by the @ref cropping "Cropping rectangle".
> > > +     * @{
> > >       */
> > >      int width, height;
> > > +    /**
> > > +     * @}
> > > +     */  
> > 
> > I also have to this is obviously wrong when applying automatic cropping
> > (or one could say legacy cropping) to hw frames. Quite annoying in
> > multiple ways.  
> 
> How is it wrong? They are not the actual real coded or allocated
> dimensions, but that shouldn't matter all that much, no?
> 

I mean the hw surface (which will be equivalent to the coded size) will
have a different size in the "legacy" cropping case.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to