On Mon, Jan 27, 2014 at 04:19:55PM +0100, Vittorio Giovara wrote:
> --- a/libavutil/frame.h
> +++ b/libavutil/frame.h
> @@ -74,6 +74,19 @@ typedef struct AVFrameSideData {
>  
>  /**
> + * AVFieldState describes the interlacing mode of a frame (if any).
> + * You can quickly check if a frame is interlaced using AV_FRAME_INTERLACED
> + * as a bitmask.
> + */
> +enum AVFieldState {
> +    AV_FRAME_UNKNOWN        = 0x02,  //< unknown frame field information
> +    AV_FRAME_INTERLACED     = 0x01,  //< interlaced frame, unknown field mode
> +    AV_FRAME_INTERLACED_TFF = 0x03,  //< interlaced frame, top field first
> +    AV_FRAME_INTERLACED_BFF = 0x05,  //< interlaced frame, bottom field field

bottom field first

> @@ -399,6 +412,11 @@ typedef struct AVFrame {
> +
> +    /**
> +     *
> +     */
> +    enum AVFieldState field_state;

empty Doxygen comment

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to