mirror of https://git.ffmpeg.org/ffmpeg.git
vda: cosmetic.
This commit is contained in:
parent
e953b8b7be
commit
186980bf0f
|
@ -61,7 +61,6 @@ typedef struct {
|
||||||
* - decoding: Set/Unset by libavcodec.
|
* - decoding: Set/Unset by libavcodec.
|
||||||
*/
|
*/
|
||||||
struct vda_frame *next_frame;
|
struct vda_frame *next_frame;
|
||||||
|
|
||||||
} vda_frame;
|
} vda_frame;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -152,18 +151,18 @@ struct vda_context {
|
||||||
int ref_size;
|
int ref_size;
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Creates the video decoder. */
|
/** Create the video decoder. */
|
||||||
int ff_vda_create_decoder(struct vda_context *vda_ctx,
|
int ff_vda_create_decoder(struct vda_context *vda_ctx,
|
||||||
uint8_t *extradata,
|
uint8_t *extradata,
|
||||||
int extradata_size);
|
int extradata_size);
|
||||||
|
|
||||||
/** Destroys the video decoder. */
|
/** Destroy the video decoder. */
|
||||||
int ff_vda_destroy_decoder(struct vda_context *vda_ctx);
|
int ff_vda_destroy_decoder(struct vda_context *vda_ctx);
|
||||||
|
|
||||||
/** Returns the top frame of the queue. */
|
/** Return the top frame of the queue. */
|
||||||
vda_frame *ff_vda_queue_pop(struct vda_context *vda_ctx);
|
vda_frame *ff_vda_queue_pop(struct vda_context *vda_ctx);
|
||||||
|
|
||||||
/** Releases the given frame. */
|
/** Release the given frame. */
|
||||||
void ff_vda_release_vda_frame(vda_frame *frame);
|
void ff_vda_release_vda_frame(vda_frame *frame);
|
||||||
|
|
||||||
#endif /* AVCODEC_VDA_H */
|
#endif /* AVCODEC_VDA_H */
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/** Send a frame data to the hardware decoder. */
|
/** Send frame data to the hardware decoder. */
|
||||||
int ff_vda_decoder_decode(struct vda_context *vda_ctx,
|
int ff_vda_decoder_decode(struct vda_context *vda_ctx,
|
||||||
uint8_t *bitstream,
|
uint8_t *bitstream,
|
||||||
int bitstream_size,
|
int bitstream_size,
|
||||||
|
|
Loading…
Reference in New Issue