Lines Matching +full:non +full:- +full:temporal
1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
3 * Wave5 series multi-standard codec IP - helper definitions
5 * Copyright (C) 2021-2023 CHIPS&MEDIA INC
13 #include <media/v4l2-device.h>
14 #include <media/v4l2-mem2mem.h>
15 #include <media/v4l2-ctrls.h>
16 #include "wave5-vpuerror.h"
17 #include "wave5-vpuconfig.h"
18 #include "wave5-vdi.h"
193 #define DISPLAY_IDX_FLAG_SEQ_END -1
194 #define DISPLAY_IDX_FLAG_NO_FB -3
195 #define DECODED_IDX_FLAG_NO_FB -1
196 #define DECODED_IDX_FLAG_SKIP -2
198 #define RECON_IDX_FLAG_ENC_END -1
199 #define RECON_IDX_FLAG_ENC_DELAY -2
200 #define RECON_IDX_FLAG_HEADER_ONLY -3
201 #define RECON_IDX_FLAG_CHANGE_PARAM -4
222 FORMAT_ERR = -1,
375 u32 luma_bitdepth; /* bit-depth of the luma sample */
376 u32 chroma_bitdepth; /* bit-depth of the chroma sample */
392 * reordering in AVC or B-frames in VC1), this index might be different to
396 * -3(0xFFFD) or -2(0xFFFE) : when a display output cannot be given due to picture
398 * -1(0xFFFF) : when there is no more output for display at the end of sequence
407 * -2 : indicates that no decoded output is generated because decoder meets EOS
409 * -1 : indicates that the decoder fails to decode a picture because there is no available
423 int temporal_id; /* temporal ID of the picture */
469 s32 temporal_id; /* temporal ID of nth picture in the custom GOP */
487 u32 gop_preset_idx: 4; /* 0 - 9 */
488 u32 decoding_refresh_type: 2; /* 0=non-IRAP, 1=CRA, 2=IDR */
500 * - intra_ctu_refresh_mode (1) -> number of consecutive CTU rows
501 * - intra_ctu_refresh_mode (2) -> the number of consecutive CTU columns
502 * - intra_ctu_refresh_mode (3) -> step size in CTU
503 * - intra_ctu_refresh_mode (4) -> number of intra ct_us to be encoded in a picture
514 u32 independ_slice_mode : 1; /* 0=no-multi-slice, 1=slice-in-ctu-number*/
536 u32 avc_idr_period; /* period of IDR picture (0 ~ 1024). 0 - implies an infinite period */
538 u32 intra_mb_refresh_mode: 2; /* 0=none, 1=row, 2=column, 3=step-size-in-mb */
542 * intra_mb_refresh_mode (1) -> number of consecutive MB rows
543 * intra_mb_refresh_mode (2) ->the number of consecutive MB columns
544 * intra_mb_refresh_mode (3) -> step size in MB
553 u32 avc_slice_mode: 1; /* 0=none, 1=slice-in-mb-number */
557 u32 tmvp_enable: 1; /* enable temporal motion vector prediction */
559 u32 disable_deblk: 1; /* disable in-loop deblocking filtering */
570 u32 mb_level_rc_enable: 1; /* enable MB-level rate control */
670 struct dec_initial_info new_seq_info; /* temporal new sequence information */
727 struct vpu_buf vb_sub_sam_buf; /* sub-sampled buffer for ME */