refactor(pdu)!: remove RfxChannelWidth and RfxChannelHeight structs

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2025-03-12 23:29:31 +04:00 committed by Benoît Cortier
parent 097cdb66f9
commit 7cb1ac99d1
5 changed files with 14 additions and 54 deletions

View file

@ -253,8 +253,8 @@ const FRAME_END_PDU: Block<'_> = Block::CodecChannel(CodecChannel::FrameEnd(Fram
lazy_static::lazy_static! {
static ref CHANNELS_PDU: Block<'static> = Block::Channels(ChannelsPdu(vec![
RfxChannel { width: RfxChannelWidth::new(64), height: RfxChannelHeight::new(64) },
RfxChannel { width: RfxChannelWidth::new(32), height: RfxChannelHeight::new(32) }
RfxChannel { width: 64, height: 64 },
RfxChannel { width: 32, height: 32 }
]));
static ref REGION_PDU: Block<'static> = Block::CodecChannel(CodecChannel::Region(RegionPdu {
rectangles: vec![