Lines Matching full:context
8 use anyhow::Context;
323 .context("Invalid width_in_sbs_minus_1")?;
333 .context("Invalid height_in_sbs_minus_1")?;
350 u16::try_from(quant.qm_y).context("Invalid qm_y")?,
351 u16::try_from(quant.qm_u).context("Invalid qm_u")?,
352 u16::try_from(quant.qm_v).context("Invalid qm_v")?,
381 .context("Failed to merge primary and secondary strengths")?;
392 .context("Failed to merge primary and secondary strengths")?;
410 u8::try_from(seq.seq_profile as u32).context("Invalid profile")?,
411 u8::try_from(seq.order_hint_bits_minus_1).context("Invalid order hint bits")?,
414 .context("Invalid matrix_coefficients")?,
419 u16::try_from(hdr.upscaled_width - 1).context("Invalid frame width")?,
420 u16::try_from(hdr.frame_height - 1).context("Invalid frame height")?,
425 u8::try_from(hdr.primary_ref_frame).context("Invalid primary_ref_frame")?,
426 u8::try_from(hdr.order_hint).context("Invalid order_hint")?,
429 u8::try_from(hdr.tile_info.tile_cols).context("Invalid tile_cols")?,
430 u8::try_from(hdr.tile_info.tile_rows).context("Invalid tile_rows")?,
435 .context("Invalid context_update_tile_id")?,
437 u8::try_from(hdr.superres_denom).context("Invalid superres_denom")?,
438 u8::try_from(hdr.interpolation_filter as u32).context("Invalid interpolation_filter")?,
445 u8::try_from(quant.base_q_idx).context("Invalid base_q_idx")?,
446 i8::try_from(quant.delta_q_y_dc).context("Invalid delta_q_y_dc")?,
447 i8::try_from(quant.delta_q_u_dc).context("Invalid delta_q_u_dc")?,
448 i8::try_from(quant.delta_q_u_ac).context("Invalid delta_q_u_ac")?,
449 i8::try_from(quant.delta_q_v_dc).context("Invalid delta_q_v_dc")?,
450 i8::try_from(quant.delta_q_v_ac).context("Invalid delta_q_v_ac")?,
453 u8::try_from(hdr.cdef_params.cdef_damping - 3).context("Invalid cdef_damping")?,
454 u8::try_from(hdr.cdef_params.cdef_bits).context("Invalid cdef_bits")?,
473 u16::try_from(tile.tile_row).context("Invalid tile_row")?, in build_slice_params_for_tg()
474 u16::try_from(tile.tile_col).context("Invalid tile_col")?, in build_slice_params_for_tg()
475 u16::try_from(tg.tg_start).context("Invalid tg_start")?, in build_slice_params_for_tg()
476 u16::try_from(tg.tg_end).context("Invalid tg_end")?, in build_slice_params_for_tg()
507 Rc::clone(&self.context), in new_picture()
520 .context("Failed to build picture parameter")?;
522 .context
524 .context("Failed to create picture parameter buffer")?;
538 let context = &self.context; in decode_tile_group() localVariable
540 let buffer = context in decode_tile_group()
542 .context("Failed to create slice parameter buffer")?; in decode_tile_group()
547 context.create_buffer(slice_data).context("Failed to create slice data buffer")?; in decode_tile_group()