FFmpeg
|
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include "mastering_display_metadata.h"
#include "mem.h"
Go to the source code of this file.
Functions | |
static void | get_defaults (AVMasteringDisplayMetadata *mastering) |
Copyright (c) 2016 Neil Birkbeck neil. birk beck@ gmai l.comMore... | |
AVMasteringDisplayMetadata * | av_mastering_display_metadata_alloc (void) |
Allocate an AVMasteringDisplayMetadata structure and set its fields to default values. More... | |
AVMasteringDisplayMetadata * | av_mastering_display_metadata_alloc_size (size_t *size) |
Allocate an AVMasteringDisplayMetadata structure and set its fields to default values. More... | |
AVMasteringDisplayMetadata * | av_mastering_display_metadata_create_side_data (AVFrame *frame) |
Allocate a complete AVMasteringDisplayMetadata and add it to the frame. More... | |
AVContentLightMetadata * | av_content_light_metadata_alloc (size_t *size) |
Allocate an AVContentLightMetadata structure and set its fields to default values. More... | |
AVContentLightMetadata * | av_content_light_metadata_create_side_data (AVFrame *frame) |
Allocate a complete AVContentLightMetadata and add it to the frame. More... | |
|
static |
Copyright (c) 2016 Neil Birkbeck neil. birk beck@ gmai l.com
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 28 of file mastering_display_metadata.c.
Referenced by av_mastering_display_metadata_alloc_size(), and av_mastering_display_metadata_create_side_data().
AVMasteringDisplayMetadata* av_mastering_display_metadata_alloc | ( | void | ) |
Allocate an AVMasteringDisplayMetadata structure and set its fields to default values.
The resulting struct can be freed using av_freep().
Definition at line 39 of file mastering_display_metadata.c.
AVMasteringDisplayMetadata* av_mastering_display_metadata_alloc_size | ( | size_t * | size | ) |
Allocate an AVMasteringDisplayMetadata structure and set its fields to default values.
The resulting struct can be freed using av_freep().
Definition at line 44 of file mastering_display_metadata.c.
Referenced by av_mastering_display_metadata_alloc(), ff_decode_mastering_display_new_ext(), mov_read_mdcv(), mov_read_smdm(), and mxf_read_generic_descriptor().
AVMasteringDisplayMetadata* av_mastering_display_metadata_create_side_data | ( | AVFrame * | frame | ) |
Allocate a complete AVMasteringDisplayMetadata and add it to the frame.
frame | The frame which side data is added to. |
Definition at line 58 of file mastering_display_metadata.c.
Referenced by ff_decode_mastering_display_new().
AVContentLightMetadata* av_content_light_metadata_alloc | ( | size_t * | size | ) |
Allocate an AVContentLightMetadata structure and set its fields to default values.
The resulting struct can be freed using av_freep().
Definition at line 72 of file mastering_display_metadata.c.
Referenced by ff_decode_content_light_new_ext(), flv_update_video_color_info(), mov_read_clli(), mov_read_coll(), and mxf_read_generic_descriptor().
AVContentLightMetadata* av_content_light_metadata_create_side_data | ( | AVFrame * | frame | ) |
Allocate a complete AVContentLightMetadata and add it to the frame.
frame | The frame which side data is added to. |
Definition at line 82 of file mastering_display_metadata.c.
Referenced by ff_decode_content_light_new().