av1: normalize aom_enc_frame_flags_t usage
quiets -Wshorten-64-to-32 warnings ported from libvpx: 710483308 vp9: normalize vpx_enc_frame_flags_t usage Change-Id: Ice037acb675d1d81bfedf2dfcfa91a8a29a19dfd
This commit is contained in:
Родитель
3b6c54479b
Коммит
3e2613b1da
|
@ -5156,7 +5156,7 @@ static void check_initial_width(AV1_COMP *cpi,
|
|||
}
|
||||
}
|
||||
|
||||
int av1_receive_raw_frame(AV1_COMP *cpi, unsigned int frame_flags,
|
||||
int av1_receive_raw_frame(AV1_COMP *cpi, aom_enc_frame_flags_t frame_flags,
|
||||
YV12_BUFFER_CONFIG *sd, int64_t time_stamp,
|
||||
int64_t end_time) {
|
||||
AV1_COMMON *const cm = &cpi->common;
|
||||
|
|
|
@ -677,7 +677,7 @@ void av1_change_config(AV1_COMP *cpi, const AV1EncoderConfig *oxcf);
|
|||
|
||||
// receive a frames worth of data. caller can assume that a copy of this
|
||||
// frame is made and not just a copy of the pointer..
|
||||
int av1_receive_raw_frame(AV1_COMP *cpi, unsigned int frame_flags,
|
||||
int av1_receive_raw_frame(AV1_COMP *cpi, aom_enc_frame_flags_t frame_flags,
|
||||
YV12_BUFFER_CONFIG *sd, int64_t time_stamp,
|
||||
int64_t end_time_stamp);
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ int av1_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG *src,
|
|||
#if CONFIG_AOM_HIGHBITDEPTH
|
||||
int use_highbitdepth,
|
||||
#endif
|
||||
unsigned int flags) {
|
||||
aom_enc_frame_flags_t flags) {
|
||||
struct lookahead_entry *buf;
|
||||
#if USE_PARTIAL_COPY
|
||||
int row, col, active_end;
|
||||
|
|
|
@ -25,7 +25,7 @@ struct lookahead_entry {
|
|||
YV12_BUFFER_CONFIG img;
|
||||
int64_t ts_start;
|
||||
int64_t ts_end;
|
||||
unsigned int flags;
|
||||
aom_enc_frame_flags_t flags;
|
||||
};
|
||||
|
||||
// The max of past frames we want to keep in the queue.
|
||||
|
@ -77,7 +77,7 @@ int av1_lookahead_push(struct lookahead_ctx *ctx, YV12_BUFFER_CONFIG *src,
|
|||
#if CONFIG_AOM_HIGHBITDEPTH
|
||||
int use_highbitdepth,
|
||||
#endif
|
||||
unsigned int flags);
|
||||
aom_enc_frame_flags_t flags);
|
||||
|
||||
/**\brief Get the next source buffer to encode
|
||||
*
|
||||
|
|
Загрузка…
Ссылка в новой задаче