mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
vp9decoder: Update document
s/GstH264Picture/GstVp9Picture/g and minor update since this baseclass is no more d3d11 specific one.
This commit is contained in:
parent
82f1d5e8be
commit
f487648b03
2 changed files with 8 additions and 8 deletions
|
@ -313,8 +313,8 @@ gst_vp9_decoder_handle_frame (GstVideoDecoder * decoder,
|
|||
/* if we have multiple frames in superframe here,
|
||||
* decide which frame should consume given GstVideoCodecFrame.
|
||||
* In practice, superframe consists of two frame, one is decode-only frame
|
||||
* and the other is normal frame. If it's not the case, any other vp9 decoder
|
||||
* implementations (nvdec, libvpx) including this d3d11 decoder would
|
||||
* and the other is normal frame. If it's not the case, existing vp9 decoder
|
||||
* implementations (nvdec, vp9dec, d3d11 and so on) would
|
||||
* show mismatched number of input and output buffers.
|
||||
* To handle it in generic manner, we need vp9parse element to
|
||||
* split frames from superframe. */
|
||||
|
|
|
@ -62,9 +62,9 @@ struct _GstVp9Decoder
|
|||
* GstVp9DecoderClass:
|
||||
* @new_sequence: Notifies subclass of SPS update
|
||||
* @new_picture: Optional.
|
||||
* Called whenever new #GstH264Picture is created.
|
||||
* Called whenever new #GstVp9Picture is created.
|
||||
* Subclass can set implementation specific user data
|
||||
* on the #GstH264Picture via gst_h264_picture_set_user_data()
|
||||
* on the #GstVp9Picture via gst_h264_picture_set_user_data()
|
||||
* @duplicate_picture: Duplicate the #GstVp9Picture
|
||||
* @output_picture: Called with a #GstVp9Picture which is required to be outputted.
|
||||
* Subclass can retrieve parent #GstVideoCodecFrame by using
|
||||
|
@ -72,13 +72,13 @@ struct _GstVp9Decoder
|
|||
* and the #GstVideoCodecFrame must be consumed by subclass via
|
||||
* gst_video_decoder_{finish,drop,release}_frame().
|
||||
* @start_picture: Optional.
|
||||
* Called per one #GstH264Picture to notify subclass to prepare
|
||||
* decoding process for the #GstH264Picture
|
||||
* Called per one #GstVp9Picture to notify subclass to prepare
|
||||
* decoding process for the #GstVp9Picture
|
||||
* @decode_slice: Provides per slice data with parsed slice header and
|
||||
* required raw bitstream for subclass to decode it
|
||||
* @end_picture: Optional.
|
||||
* Called per one #GstH264Picture to notify subclass to finish
|
||||
* decoding process for the #GstH264Picture
|
||||
* Called per one #GstVp9Picture to notify subclass to finish
|
||||
* decoding process for the #GstVp9Picture
|
||||
*/
|
||||
struct _GstVp9DecoderClass
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue