FFmpeg
|
#include "film_grain_params.h"
Go to the source code of this file.
Functions | |
AVFilmGrainParams * | av_film_grain_params_alloc (size_t *size) |
This file is part of FFmpeg. More... | |
AVFilmGrainParams * | av_film_grain_params_create_side_data (AVFrame *frame) |
Allocate a complete AVFilmGrainParams and add it to the frame. More... | |
AVFilmGrainParams* av_film_grain_params_alloc | ( | size_t * | size | ) |
This file is part of FFmpeg.
Allocate an AVFilmGrainParams structure and set its fields to default values.
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 21 of file film_grain_params.c.
AVFilmGrainParams* av_film_grain_params_create_side_data | ( | AVFrame * | frame | ) |
Allocate a complete AVFilmGrainParams and add it to the frame.
frame | The frame which side data is added to. |
Definition at line 31 of file film_grain_params.c.
Referenced by export_film_grain(), h264_export_frame_props(), libdav1d_receive_frame(), and set_side_data().