All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mastering_display_metadata.c File Reference
#include <stdint.h>
#include <string.h>
#include "mastering_display_metadata.h"
#include "mem.h"

Go to the source code of this file.


AVMasteringDisplayMetadataav_mastering_display_metadata_alloc (void)
 Copyright (c) 2016 Neil Birkbeck neil..nosp@m.birk.nosp@m.beck@.nosp@m.gmai.nosp@m.l.com More...
AVMasteringDisplayMetadataav_mastering_display_metadata_create_side_data (AVFrame *frame)
 Allocate a complete AVMasteringDisplayMetadata and add it to the frame. More...

Function Documentation

AVMasteringDisplayMetadata* av_mastering_display_metadata_alloc ( void  )

Copyright (c) 2016 Neil Birkbeck neil..nosp@m.birk.nosp@m.beck@.nosp@m.gmai.nosp@m.l.com

Allocate an AVMasteringDisplayMetadata structure and set its fields to default values.

This file is part of FFmpeg.

FFmpeg is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

FFmpeg is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with FFmpeg; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Definition at line 27 of file mastering_display_metadata.c.

AVMasteringDisplayMetadata* av_mastering_display_metadata_create_side_data ( AVFrame frame)

Allocate a complete AVMasteringDisplayMetadata and add it to the frame.

frameThe frame which side data is added to.
The AVMasteringDisplayMetadata structure to be filled by caller.

Definition at line 32 of file mastering_display_metadata.c.

Referenced by set_side_data().