History

avcodec: Add max_pixels options

Michael Niedermayer committed 9 years ago

Commit 2f078301 parent f542b156 files · +23 −6Browse files

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

Unified · Split

libavcodec/avcodec.h+8−0
@@ -3570,6 +3570,14 @@ typedef struct AVCodecContext { · 3569 unmodified lines
35703570 */
35713571 int trailing_padding;
35723572
3573+ /**
3574+ * The number of pixels per image to maximally accept.
3575+ *
3576+ * - decoding: set by user
3577+ * - encoding: set by user
3578+ */
3579+ int64_t max_pixels;
3580+
35733581 } AVCodecContext;
35743582
35753583 AVRational av_codec_get_pkt_timebase (const AVCodecContext *avctx);

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