extern crate nihav_core;
extern crate nihav_codec_support;
-#[allow(clippy::collapsible_if)]
-#[allow(clippy::collapsible_else_if)]
-#[allow(clippy::comparison_chain)]
-#[allow(clippy::excessive_precision)]
-#[allow(clippy::identity_op)]
-#[allow(clippy::needless_late_init)]
-#[allow(clippy::unreadable_literal)]
-#[allow(clippy::upper_case_acronyms)]
-#[allow(clippy::verbose_bit_mask)]
-#[allow(clippy::manual_range_contains)]
-#[allow(clippy::wrong_self_convention)]
mod codecs;
mod demuxers;
keyframe: Option<NAVideoBufferRef<u8>>,
}
-#[allow(dead_code)]
impl FSVShuffler {
fn new() -> Self { Self::default() }
fn clear(&mut self) {
fn get_key_frame(&mut self) -> Option<NAVideoBufferRef<u8>> {
self.keyframe.as_ref().cloned()
}
- fn get_last_frame(&mut self) -> Option<NAVideoBufferRef<u8>> {
+ /*fn get_last_frame(&mut self) -> Option<NAVideoBufferRef<u8>> {
self.lastframe.as_ref().cloned()
- }
+ }*/
}
use nihav_codec_support::codecs::h263::decoder::*;
use nihav_codec_support::codecs::h263::data::*;
-#[allow(dead_code)]
struct Tables {
intra_mcbpc_cb: Codebook<u8>,
inter_mcbpc_cb: Codebook<u8>,
cbpy_cb: Codebook<u8>,
rl_cb: Codebook<H263RLSym>,
- aic_rl_cb: Codebook<H263RLSym>,
mv_cb: Codebook<u8>,
}
let cbpy_cb = Codebook::new(&mut coderead, CodebookMode::MSB).unwrap();
let mut coderead = H263RLCodeReader::new(H263_RL_CODES);
let rl_cb = Codebook::new(&mut coderead, CodebookMode::MSB).unwrap();
- let mut coderead = H263RLCodeReader::new(H263_RL_CODES_AIC);
- let aic_rl_cb = Codebook::new(&mut coderead, CodebookMode::MSB).unwrap();
let mut coderead = H263ShortCodeReader::new(H263_MV);
let mv_cb = Codebook::new(&mut coderead, CodebookMode::MSB).unwrap();
let tables = Tables {
inter_mcbpc_cb,
cbpy_cb,
rl_cb,
- aic_rl_cb,
mv_cb,
};