#if CONFIG_BITSTREAM_DEBUG || CONFIG_MISMATCH_DEBUG void bitstream_queue_set_frame_write(int frame_idx);
int bitstream_queue_get_frame_write(void); void bitstream_queue_set_frame_read(int frame_idx);
int bitstream_queue_get_frame_read(void); #endif
#if CONFIG_BITSTREAM_DEBUG /* This is a debug tool used to detect bitstream error. On encoder side, it *pusheseachbitandprobabilityintoaqueuebeforethebitiswritteninto *theArithmeticcoder.Ondecoderside,wheneverabitisreadoutfromthe *Arithmeticcoder,itpopsoutthereferencebitandprobabilityfromthe *queueaswell.Ifthetworesultsdonotmatch,thisdebugtoolwillreport *anerror.Thistoolcanbeusedtopindownthebitstreamerrorprecisely. *Bycombininggdb'sbacktracemethod,wecandetectwhichmodulecausesthe
* bitstream error. */
int bitstream_queue_get_write(void);
int bitstream_queue_get_read(void); void bitstream_queue_record_write(void); void bitstream_queue_reset_write(void); void bitstream_queue_pop(int *result, int *prob); void bitstream_queue_push(int result, const int prob); void bitstream_queue_set_skip_write(int skip); void bitstream_queue_set_skip_read(int skip); #endif// CONFIG_BITSTREAM_DEBUG
#if CONFIG_MISMATCH_DEBUG void mismatch_move_frame_idx_w(void); void mismatch_move_frame_idx_r(void); void mismatch_reset_frame(int num_planes); void mismatch_record_block_pre(const uint8_t *src, int src_stride, int plane,
int pixel_c, int pixel_r, int blk_w, int blk_h,
int highbd); void mismatch_record_block_tx(const uint8_t *src, int src_stride, int plane,
int pixel_c, int pixel_r, int blk_w, int blk_h,
int highbd); void mismatch_check_block_pre(const uint8_t *src, int src_stride, int plane,
int pixel_c, int pixel_r, int blk_w, int blk_h,
int highbd); void mismatch_check_block_tx(const uint8_t *src, int src_stride, int plane,
int pixel_c, int pixel_r, int blk_w, int blk_h,
int highbd); #endif// CONFIG_MISMATCH_DEBUG
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.