15 #ifndef AOM_AV1_ENCODER_ENCODE_STRATEGY_H_ 16 #define AOM_AV1_ENCODER_ENCODE_STRATEGY_H_ 27 #include "av1/encoder/firstpass.h" 55 uint8_t *
const dest,
unsigned int *frame_flags,
56 int64_t *
const time_stamp, int64_t *
const time_end,
57 const aom_rational64_t *
const timestamp_ratio,
64 void av1_configure_buffer_updates(
66 const FRAME_UPDATE_TYPE type,
const FRAME_TYPE frame_type,
67 int force_refresh_all);
69 int av1_get_refresh_frame_flags(
const AV1_COMP *
const cpi,
71 FRAME_UPDATE_TYPE frame_update_type,
72 const RefBufferStack *
const ref_buffer_stack);
74 int av1_get_refresh_ref_frame_map(
int refresh_frame_flags);
76 void av1_update_ref_frame_map(
AV1_COMP *cpi,
77 FRAME_UPDATE_TYPE frame_update_type,
78 FRAME_TYPE frame_type,
int show_existing_frame,
80 RefBufferStack *ref_buffer_stack);
82 void av1_get_ref_frames(
AV1_COMP *
const cpi, RefBufferStack *ref_buffer_stack);
84 int is_forced_keyframe_pending(
struct lookahead_ctx *lookahead,
85 const int up_to_index,
86 const COMPRESSOR_STAGE compressor_stage);
92 #endif // AOM_AV1_ENCODER_ENCODE_STRATEGY_H_ Describes the encoder algorithm interface to applications.
int av1_encode_strategy(AV1_COMP *const cpi, size_t *const size, uint8_t *const dest, unsigned int *frame_flags, int64_t *const time_stamp, int64_t *const time_end, const aom_rational64_t *const timestamp_ratio, int flush)
Implement high-level encode strategy.
Definition: encode_strategy.c:1085
contains per-frame encoding parameters decided upon by av1_encode_strategy() and passed down to av1_e...
Definition: encoder.h:2726
Top level encoder structure.
Definition: encoder.h:2095
Declares top-level encoder structures and functions.
Refresh frame flags for different type of frames.
Definition: encoder.h:1767