Lines Matching refs:frame

22  * reference-counted frame API
80 * transformation that needs to be applied to the frame for correct
111 * This side data must be associated with an audio frame and corresponds to
116 * Mastering display metadata associated with a video frame. The payload is
123 * This is set on the first frame of a GOP that has a temporal reference of 0.
155 * HDR dynamic metadata associated with a video frame. The payload is
168 * Encoding parameters for a video frame, as described by AVVideoEncParams.
173 * User data unregistered metadata associated with a video frame.
181 * Film grain parameters for a frame, described by AVFilmGrainParams.
182 * Must be present for every frame which should have film grain applied.
207 * HDR Vivid dynamic metadata associated with a video frame. The payload is
248 * area of the frame applies.
257 * Distance in pixels from the top edge of the frame to the top and
258 * bottom edges and from the left edge of the frame to the left and
277 * largest possible offset - if the rest of the frame is encoded with the
285 * range better than the rest of the frame. So, if most of the frame
290 * the rest of the frame - that is, should be encoded at a QP of -12.
306 * the frame and reset it to its original clean state before it
354 * even and odd fields of a frame (possibly flipped)
382 * Note: Both data and extended_data should always be set in a valid frame,
390 * Video frames only. The coded dimensions (in pixels) of the video frame,
393 * @note The part of the frame intended for display/presentation is further
403 * number of audio samples (per channel) described by this frame
408 * format of the frame, -1 if unknown or unset
420 * Picture type of the frame.
425 * Sample aspect ratio for the video frame, 0/1 if unknown/unspecified.
430 * Presentation timestamp in time_base units (time when frame should be shown to user).
435 * DTS copied from the AVPacket that triggered returning this frame. (if frame threading isn't used)
442 * Time base for the timestamps in this frame.
485 * Tell user application that palette has changed from previous frame.
514 * AVBuffer references backing the data for this frame. All the pointers in
537 * the frame. It is freed in av_frame_unref().
551 * Flags describing additional frame properties.
557 * The frame data may be corrupted, e.g. due to decoding errors.
594 * frame timestamp estimated using various heuristics, in stream time base
623 * decode error flags of the frame, set to a combination of
624 * FF_DECODE_ERROR_xxx flags if the decoder produced a frame, but there
648 * frame.
657 * AVHWFramesContext describing the frame.
664 * the frame is unreferenced. av_frame_copy_props() calls create a new
665 * reference with av_buffer_ref() for the target frame's opaque_ref field.
676 * top/bottom/left/right border of the frame to obtain the sub-rectangle of
677 * the frame intended for presentation.
691 * Has to be NULL when ownership of the frame leaves the respective library.
695 * FFmpeg calls av_buffer_unref() on it when the frame is unreferenced.
697 * for the target frame's private_ref field.
730 * Free the frame and any dynamically allocated objects in it,
731 * e.g. extended_data. If the frame is reference counted, it will be
734 * @param frame frame to be freed. The pointer will be set to NULL.
736 void av_frame_free(AVFrame **frame);
739 * Set up a new reference to the data described by the source frame.
741 * Copy frame properties from src to dst and create a new reference for each
756 * Create a new frame that references the same data as src.
765 * Unreference all the buffers referenced by frame and reset the frame fields.
767 void av_frame_unref(AVFrame *frame);
781 * The following fields must be set on frame before calling this function:
790 * @warning: if frame already has been allocated, calling this function will
794 * @param frame frame in which to store the new buffers.
801 int av_frame_get_buffer(AVFrame *frame, int align);
804 * Check if the frame data is writable.
806 * @return A positive value if the frame data is writable (which is true if and
808 * stored in this frame). Return 0 otherwise.
815 int av_frame_is_writable(AVFrame *frame);
818 * Ensure that the frame data is writable, avoiding data copy if possible.
820 * Do nothing if the frame is writable, allocate new buffers and copy the data
828 int av_frame_make_writable(AVFrame *frame);
831 * Copy the frame data from src to dst.
836 * This function only copies the frame data (i.e. the contents of the data /
856 * @param plane index of the data plane of interest in frame->extended_data.
859 * frame is not valid.
861 AVBufferRef *av_frame_get_plane_buffer(AVFrame *frame, int plane);
864 * Add a new side data to a frame.
866 * @param frame a frame to which the side data should be added
872 AVFrameSideData *av_frame_new_side_data(AVFrame *frame,
877 * Add a new side data to a frame from an existing AVBufferRef
879 * @param frame a frame to which the side data should be added
882 * the reference is transferred to the frame.
885 * the frame is unchanged and the AVBufferRef remains owned by
888 AVFrameSideData *av_frame_new_side_data_from_buf(AVFrame *frame,
894 * is no side data with such type in this frame.
896 AVFrameSideData *av_frame_get_side_data(const AVFrame *frame,
902 void av_frame_remove_side_data(AVFrame *frame, enum AVFrameSideDataType type);
906 * Flags for frame cropping.
930 * @param frame the frame which should be cropped
936 int av_frame_apply_cropping(AVFrame *frame, int flags);