mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
parent
0897402ac8
commit
2ba04670c3
@ -406,7 +406,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
|||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
|
||||||
fgp->type = AV_FILM_GRAM_PARAMS_AV1;
|
fgp->type = AV_FILM_GRAIN_PARAMS_AV1;
|
||||||
fgp->seed = p->frame_hdr->film_grain.data.seed;
|
fgp->seed = p->frame_hdr->film_grain.data.seed;
|
||||||
fgp->codec.aom.num_y_points = p->frame_hdr->film_grain.data.num_y_points;
|
fgp->codec.aom.num_y_points = p->frame_hdr->film_grain.data.num_y_points;
|
||||||
fgp->codec.aom.chroma_scaling_from_luma = p->frame_hdr->film_grain.data.chroma_scaling_from_luma;
|
fgp->codec.aom.chroma_scaling_from_luma = p->frame_hdr->film_grain.data.chroma_scaling_from_luma;
|
||||||
|
@ -22,12 +22,12 @@
|
|||||||
#include "frame.h"
|
#include "frame.h"
|
||||||
|
|
||||||
enum AVFilmGrainParamsType {
|
enum AVFilmGrainParamsType {
|
||||||
AV_FILM_GRAM_PARAMS_NONE = 0,
|
AV_FILM_GRAIN_PARAMS_NONE = 0,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The union is valid when interpreted as AVFilmGrainAOMParams (codec.aom)
|
* The union is valid when interpreted as AVFilmGrainAOMParams (codec.aom)
|
||||||
*/
|
*/
|
||||||
AV_FILM_GRAM_PARAMS_AV1,
|
AV_FILM_GRAIN_PARAMS_AV1,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user