Go to the documentation of this file.
   21 #ifndef AVUTIL_VIDEO_HINT_H 
   22 #define AVUTIL_VIDEO_HINT_H 
  
This structure describes decoded (raw) audio or video data.
 
Copyright 2023 Elias Carotti <eliascrt at amazon dot it>
 
size_t nb_rects
Number of AVVideoRect present.
 
@ AV_VIDEO_HINT_TYPE_CHANGED
 
@ AV_VIDEO_HINT_TYPE_CONSTANT
 
static av_always_inline AVVideoRect * av_video_hint_rects(const AVVideoHint *hints)
 
size_t rect_offset
Offset in bytes from the beginning of this structure at which the array of AVVideoRect starts.
 
size_t rect_size
Size in bytes of AVVideoRect.
 
static av_always_inline AVVideoRect * av_video_hint_get_rect(const AVVideoHint *hints, size_t idx)
 
AVVideoHint * av_video_hint_alloc(size_t nb_rects, size_t *out_size)
Allocate memory for the AVVideoHint struct along with an nb_rects-sized arrays of AVVideoRect.
 
AVVideoHint * av_video_hint_create_side_data(AVFrame *frame, size_t nb_rects)
Same as av_video_hint_alloc(), except newly-allocated AVVideoHint is attached as side data of type AV...