mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-29 21:47:48 +02:00
lavc/bsf: improve doxy
This commit is contained in:
parent
5e7643eff7
commit
a24e6ca8bf
@ -167,9 +167,9 @@ const AVBitStreamFilter *av_bsf_iterate(void **opaque);
|
|||||||
* av_bsf_init() before sending any data to the filter.
|
* av_bsf_init() before sending any data to the filter.
|
||||||
*
|
*
|
||||||
* @param filter the filter for which to allocate an instance.
|
* @param filter the filter for which to allocate an instance.
|
||||||
* @param ctx a pointer into which the pointer to the newly-allocated context
|
* @param[out] ctx a pointer into which the pointer to the newly-allocated context
|
||||||
* will be written. It must be freed with av_bsf_free() after the
|
* will be written. It must be freed with av_bsf_free() after the
|
||||||
* filtering is done.
|
* filtering is done.
|
||||||
*
|
*
|
||||||
* @return 0 on success, a negative AVERROR code on failure
|
* @return 0 on success, a negative AVERROR code on failure
|
||||||
*/
|
*/
|
||||||
@ -195,9 +195,11 @@ int av_bsf_init(AVBSFContext *ctx);
|
|||||||
* sending more empty packets does nothing) and will cause the filter to output
|
* sending more empty packets does nothing) and will cause the filter to output
|
||||||
* any packets it may have buffered internally.
|
* any packets it may have buffered internally.
|
||||||
*
|
*
|
||||||
* @return 0 on success. AVERROR(EAGAIN) if packets need to be retrieved from the
|
* @return
|
||||||
* filter (using av_bsf_receive_packet()) before new input can be consumed. Another
|
* - 0 on success.
|
||||||
* negative AVERROR value if an error occurs.
|
* - AVERROR(EAGAIN) if packets need to be retrieved from the filter (using
|
||||||
|
* av_bsf_receive_packet()) before new input can be consumed.
|
||||||
|
* - Another negative AVERROR value if an error occurs.
|
||||||
*/
|
*/
|
||||||
int av_bsf_send_packet(AVBSFContext *ctx, AVPacket *pkt);
|
int av_bsf_send_packet(AVBSFContext *ctx, AVPacket *pkt);
|
||||||
|
|
||||||
@ -214,10 +216,12 @@ int av_bsf_send_packet(AVBSFContext *ctx, AVPacket *pkt);
|
|||||||
* overwritten by the returned data. On failure, pkt is not
|
* overwritten by the returned data. On failure, pkt is not
|
||||||
* touched.
|
* touched.
|
||||||
*
|
*
|
||||||
* @return 0 on success. AVERROR(EAGAIN) if more packets need to be sent to the
|
* @return
|
||||||
* filter (using av_bsf_send_packet()) to get more output. AVERROR_EOF if there
|
* - 0 on success.
|
||||||
* will be no further output from the filter. Another negative AVERROR value if
|
* - AVERROR(EAGAIN) if more packets need to be sent to the filter (using
|
||||||
* an error occurs.
|
* av_bsf_send_packet()) to get more output.
|
||||||
|
* - AVERROR_EOF if there will be no further output from the filter.
|
||||||
|
* - Another negative AVERROR value if an error occurs.
|
||||||
*
|
*
|
||||||
* @note one input packet may result in several output packets, so after sending
|
* @note one input packet may result in several output packets, so after sending
|
||||||
* a packet with av_bsf_send_packet(), this function needs to be called
|
* a packet with av_bsf_send_packet(), this function needs to be called
|
||||||
|
Loading…
x
Reference in New Issue
Block a user