refactor(ffmpeg): skip histogram if frame selected
* use availableIndex * refactor(ffmpeg): skip histogram if frame selected
This commit is contained in:
parent
da15744b3d
commit
17b50dea3c
3 changed files with 21 additions and 8 deletions
|
|
@ -63,6 +63,8 @@ int find_best_frame_index(ThumbContext *thumb_ctx);
|
|||
|
||||
AVFrame *select_frame(ThumbContext *thumb_ctx, int i);
|
||||
|
||||
void populate_frame(ThumbContext *thumb_ctx, int n, AVFrame *frame);
|
||||
|
||||
void populate_histogram(ThumbContext *thumb_ctx, int n, AVFrame *frame);
|
||||
|
||||
extern int goPacketRead(void *opaque, uint8_t *buf, int buf_size);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue