History

libavcodec: add a new AV_CODEC_EXPORT_DATA_FILM_GRAIN flag and option

This introduces a new field to allow decoders to export their film grain parameters. Will be used by the next patch.

Lynne committed 6 years ago

Commit d243dd51 parent 4f9ee873 files · +9 −0Browse files

Showing the changes to libavcodec/avcodec.h (1 of 3 files). Show all

Unified · Split

libavcodec/avcodec.h+5−0
@@ -410,6 +410,11 @@ typedef struct RcOverride{ · 409 unmodified lines
410 * Export the AVVideoEncParams structure through frame side data.410 * Export the AVVideoEncParams structure through frame side data.
411 */411 */
412#define AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS (1 << 2)412#define AV_CODEC_EXPORT_DATA_VIDEO_ENC_PARAMS (1 << 2)
413/**
414 * Decoding only.
415 * Do not apply film grain, export it instead.
416 */
417#define AV_CODEC_EXPORT_DATA_FILM_GRAIN (1 << 3)
413 418
414/**419/**
415 * Pan Scan area.420 * Pan Scan area.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t