mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec/pthread: add wpp api
cherry picked from commit c7765f3295fe7dc0653161c6a3d3e1778b76ee67 cherry picked from commit 0008c4979fc1d1bc24d4d2c791715f6dd017563c Conflicts: libavcodec/utils.c Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
519395e4dd
commit
e146c326b9
3 changed files with 87 additions and 0 deletions
|
|
@ -3269,6 +3269,23 @@ int ff_thread_can_start_frame(AVCodecContext *avctx)
|
|||
return 1;
|
||||
}
|
||||
|
||||
int ff_alloc_entries(AVCodecContext *avctx, int count)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void ff_reset_entries(AVCodecContext *avctx)
|
||||
{
|
||||
}
|
||||
|
||||
void ff_thread_await_progress2(AVCodecContext *avctx, int field, int thread, int shift)
|
||||
{
|
||||
}
|
||||
|
||||
void ff_thread_report_progress2(AVCodecContext *avctx, int field, int thread, int n)
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
enum AVMediaType avcodec_get_type(enum AVCodecID codec_id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue