Home
last modified time | relevance | path

Searched full:slice (Results 1 – 25 of 552) sorted by relevance

12345678910>>...23

/OK3568_Linux_fs/external/mpp/mpp/codec/enc/h265/
H A Dh265e_slice.c41 H265eDpbFrm* get_lt_ref_pic(H265eDpbFrm *frame_list, H265eSlice *slice, RK_S32 poc, RK_U32 pocHasMs… in get_lt_ref_pic() argument
46 RK_S32 pocCycle = 1 << slice->m_sps->m_bitsForPOC; in get_lt_ref_pic()
55 if (frame->on_used && frame->poc != slice->poc && frame->slice->is_referenced) { in get_lt_ref_pic()
75 void h265e_slice_set_ref_list(H265eDpbFrm *frame_list, H265eSlice *slice) in h265e_slice_set_ref_list() argument
77 H265eReferencePictureSet *rps = slice->m_rps; in h265e_slice_set_ref_list()
88 if (slice->m_sliceType == I_SLICE) { in h265e_slice_set_ref_list()
89 memset(slice->m_refPicList, 0, sizeof(slice->m_refPicList)); in h265e_slice_set_ref_list()
90 memset(slice->m_numRefIdx, 0, sizeof(slice->m_numRefIdx)); in h265e_slice_set_ref_list()
95 refPic = get_ref_pic(frame_list, slice->poc + rps->delta_poc[i]); in h265e_slice_set_ref_list()
105 refPic = get_ref_pic(frame_list, slice->poc + rps->delta_poc[i]); in h265e_slice_set_ref_list()
[all …]
H A Dh265e_dpb.c79 if (!frm->slice) { in h265e_dpb_init_curr()
80 frm->slice = mpp_calloc(H265eSlice, 1); in h265e_dpb_init_curr()
113 MPP_FREE(frm->slice); in h265e_dpb_frm_deinit()
266 if (!outPic->inited || !outPic->slice->is_referenced) { in h265e_dpb_apply_rps()
274 …h265e_dbg_dpb("outPic->slice->poc %d,curPoc %d dealt %d", outPic->slice->poc, curPoc, rps->delta_p… in h265e_dpb_apply_rps()
275 if (!outPic->is_long_term && outPic->slice->poc == curPoc + rps->delta_poc[i]) { in h265e_dpb_apply_rps()
284 if (outPic->is_long_term && (outPic->slice->poc == rps->m_RealPoc[i])) { in h265e_dpb_apply_rps()
289 if (outPic->is_long_term && (outPic->slice->poc == rps->m_RealPoc[i])) { in h265e_dpb_apply_rps()
298 if (outPic->slice->poc != curPoc && isReference == 0) { in h265e_dpb_apply_rps()
299 h265e_dbg_dpb("free unreference buf poc %d", outPic->slice->poc); in h265e_dpb_apply_rps()
[all …]
H A Dh265e_syntax.c37 pp->pps_id = h->slice->m_ppsId; in fill_picture_parameters()
135 H265eSlice *slice = h->slice; in fill_slice_parameters() local
152 sp->cbc_init_flg = slice->m_cabacInitFlag; in fill_slice_parameters()
153 sp->mvd_l1_zero_flg = slice->m_bLMvdL1Zero; in fill_slice_parameters()
156 sp->ref_pic_lst_mdf_l0 = slice->ref_pic_list_modification_flag_l0; in fill_slice_parameters()
161 …sp->num_refidx_act_ovrd = (((RK_U32)slice->m_numRefIdx[0] != slice->m_pps->m_numRefIdxL0DefaultAct… in fill_slice_parameters()
162 || (slice->m_sliceType == B_SLICE && in fill_slice_parameters()
163 … (RK_U32)slice->m_numRefIdx[1] != slice->m_pps->m_numRefIdxL1DefaultActive)); in fill_slice_parameters()
165 sp->sli_sao_chrm_flg = slice->m_sps->m_bUseSAO && slice->m_saoEnabledFlagChroma; in fill_slice_parameters()
166 sp->sli_sao_luma_flg = slice->m_sps->m_bUseSAO && slice->m_saoEnabledFlag; in fill_slice_parameters()
[all …]
/OK3568_Linux_fs/external/xserver/mi/
H A Dmifillarc.c280 miFillArcSliceSetup(xArc * arc, miArcSliceRec * slice, GCPtr pGC) in miFillArcSliceSetup() argument
299 slice->min_top_y = 0; in miFillArcSliceSetup()
300 slice->max_top_y = arc->height >> 1; in miFillArcSliceSetup()
301 slice->min_bot_y = 1 - (arc->height & 1); in miFillArcSliceSetup()
302 slice->max_bot_y = slice->max_top_y - 1; in miFillArcSliceSetup()
303 slice->flip_top = FALSE; in miFillArcSliceSetup()
304 slice->flip_bot = FALSE; in miFillArcSliceSetup()
306 slice->edge1_top = (angle1 < HALFCIRCLE); in miFillArcSliceSetup()
307 slice->edge2_top = (angle2 <= HALFCIRCLE); in miFillArcSliceSetup()
309 if (angle2 ? slice->edge2_top : slice->edge1_top) in miFillArcSliceSetup()
[all …]
H A Dmifillarc.h114 #define miFillSliceUpper(slice) \ argument
115 ((y >= slice.min_top_y) && (y <= slice.max_top_y))
117 #define miFillSliceLower(slice) \ argument
118 ((y >= slice.min_bot_y) && (y <= slice.max_bot_y))
120 #define MIARCSLICEUPPER(xl,xr,slice,slw) \ argument
123 if (slice.edge1_top && (slice.edge1.x < xr)) \
124 xr = slice.edge1.x; \
125 if (slice.edge2_top && (slice.edge2.x > xl)) \
126 xl = slice.edge2.x;
128 #define MIARCSLICELOWER(xl,xr,slice,slw) \ argument
[all …]
/OK3568_Linux_fs/external/mpp/mpp/codec/enc/h264/
H A Dh264e_slice.c31 void h264e_slice_init(H264eSlice *slice, H264eReorderInfo *reorder, in h264e_slice_init() argument
34 memset(slice, 0, sizeof(*slice)); in h264e_slice_init()
36 slice->num_ref_idx_active = 1; in h264e_slice_init()
38 slice->reorder = reorder; in h264e_slice_init()
39 slice->marking = marking; in h264e_slice_init()
42 RK_S32 h264e_slice_update(H264eSlice *slice, MppEncCfgSet *cfg, in h264e_slice_update() argument
48 slice->mb_w = sps->pic_width_in_mbs; in h264e_slice_update()
49 slice->mb_h = sps->pic_height_in_mbs; in h264e_slice_update()
50 slice->max_num_ref_frames = sps->num_ref_frames; in h264e_slice_update()
51 slice->log2_max_frame_num = sps->log2_max_frame_num_minus4 + 4; in h264e_slice_update()
[all …]
H A Dh264e_slice.h27 * For H.264 encoder slice header process.
29 * Field, mbaff, B slice are not supported yet.
31 * The reorder and mmco syntax will be create by dpb and attach to slice.
32 * Then slice syntax will be passed to hal to config hardware or modify the
134 /* for multi-slice writing */
143 * reorder context for both dpb and slice
151 /* mmco context for both dpb and slice */
161 * When cfg has no changes just use slice next to setup
163 void h264e_slice_init(H264eSlice *slice, H264eReorderInfo *reorder,
165 RK_S32 h264e_slice_update(H264eSlice *slice, MppEncCfgSet *cfg,
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1/include/mapbox/geojsonvt/
H A Dclip.hpp84 vt_line_string newSlice(vt_multi_line_string& parts, vt_line_string& slice, double dist) const { in newSlice() argument
85 if (!slice.empty()) { in newSlice()
86 slice.dist = dist; in newSlice()
87 parts.push_back(std::move(slice)); in newSlice()
100 vt_line_string slice; in clipLine() local
110 slice.push_back(intersect<I>(a, b, k1)); in clipLine()
111 slice.push_back(intersect<I>(a, b, k2)); in clipLine()
112 slice = newSlice(slices, slice, dist); in clipLine()
115 slice.push_back(intersect<I>(a, b, k1)); in clipLine()
117 slice.push_back(b); // last point in clipLine()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/bits/
H A Dslice_array.h49 * The slice class represents a one-dimensional subset of an array, in _GLIBCXX_VISIBILITY()
56 * For example, with an array of size 10, and a slice with offset 1, size 3 in _GLIBCXX_VISIBILITY()
59 class slice in _GLIBCXX_VISIBILITY()
62 /// Construct an empty slice. in _GLIBCXX_VISIBILITY()
63 slice(); in _GLIBCXX_VISIBILITY()
66 * @brief Construct a slice. in _GLIBCXX_VISIBILITY()
69 * @param __d Number of elements in slice. in _GLIBCXX_VISIBILITY()
72 slice(size_t __o, size_t __d, size_t __s); in _GLIBCXX_VISIBILITY()
74 /// Return array offset of first slice element. in _GLIBCXX_VISIBILITY()
76 /// Return size of slice. in _GLIBCXX_VISIBILITY()
[all …]
H A Dgslice.h49 * The slice class represents a multi-dimensional subset of an array, in _GLIBCXX_VISIBILITY()
53 * dimension of the slice. Size is the number of elements in that in _GLIBCXX_VISIBILITY()
60 * stride[1]==3, then slice[0,0]==array[3], slice[0,1]==array[6], in _GLIBCXX_VISIBILITY()
61 * slice[0,2]==array[9], slice[1,0]==array[14], slice[1,1]==array[17], in _GLIBCXX_VISIBILITY()
62 * slice[1,2]==array[20]. in _GLIBCXX_VISIBILITY()
67 /// Construct an empty slice. in _GLIBCXX_VISIBILITY()
71 * @brief Construct a slice. in _GLIBCXX_VISIBILITY()
73 * Constructs a slice with as many dimensions as the length of the @a l in _GLIBCXX_VISIBILITY()
96 /// Return array offset of first slice element. in _GLIBCXX_VISIBILITY()
99 /// Return array of sizes of slice dimensions. in _GLIBCXX_VISIBILITY()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/bits/
H A Dslice_array.h49 * The slice class represents a one-dimensional subset of an array, in _GLIBCXX_VISIBILITY()
56 * For example, with an array of size 10, and a slice with offset 1, size 3 in _GLIBCXX_VISIBILITY()
59 class slice in _GLIBCXX_VISIBILITY()
62 /// Construct an empty slice. in _GLIBCXX_VISIBILITY()
63 slice(); in _GLIBCXX_VISIBILITY()
66 * @brief Construct a slice. in _GLIBCXX_VISIBILITY()
69 * @param __d Number of elements in slice. in _GLIBCXX_VISIBILITY()
72 slice(size_t __o, size_t __d, size_t __s); in _GLIBCXX_VISIBILITY()
74 /// Return array offset of first slice element. in _GLIBCXX_VISIBILITY()
76 /// Return size of slice. in _GLIBCXX_VISIBILITY()
[all …]
H A Dgslice.h49 * The slice class represents a multi-dimensional subset of an array, in _GLIBCXX_VISIBILITY()
53 * dimension of the slice. Size is the number of elements in that in _GLIBCXX_VISIBILITY()
60 * stride[1]==3, then slice[0,0]==array[3], slice[0,1]==array[6], in _GLIBCXX_VISIBILITY()
61 * slice[0,2]==array[9], slice[1,0]==array[14], slice[1,1]==array[17], in _GLIBCXX_VISIBILITY()
62 * slice[1,2]==array[20]. in _GLIBCXX_VISIBILITY()
67 /// Construct an empty slice. in _GLIBCXX_VISIBILITY()
71 * @brief Construct a slice. in _GLIBCXX_VISIBILITY()
73 * Constructs a slice with as many dimensions as the length of the @a l in _GLIBCXX_VISIBILITY()
96 /// Return array offset of first slice element. in _GLIBCXX_VISIBILITY()
99 /// Return array of sizes of slice dimensions. in _GLIBCXX_VISIBILITY()
[all …]
/OK3568_Linux_fs/kernel/sound/pci/au88x0/
H A Dau88x0_a3d.c26 a3d_addrA(a->slice, a->source, A3D_A_HrtfTrackTC), HrtfTrack); in a3dsrc_SetTimeConsts()
28 a3d_addrA(a->slice, a->source, A3D_A_ITDTrackTC), ItdTrack); in a3dsrc_SetTimeConsts()
30 a3d_addrA(a->slice, a->source, A3D_A_GainTrackTC), GTrack); in a3dsrc_SetTimeConsts()
32 a3d_addrA(a->slice, a->source, A3D_A_CoeffTrackTC), CTrack); in a3dsrc_SetTimeConsts()
52 a3d_addrB(a->slice, a->source, A3D_B_A21Target), in a3dsrc_SetAtmosTarget()
55 a3d_addrB(a->slice, a->source, A3D_B_B10Target), in a3dsrc_SetAtmosTarget()
58 a3d_addrB(a->slice, a->source, A3D_B_B2Target), c); in a3dsrc_SetAtmosTarget()
67 a3d_addrB(a->slice, a->source, A3D_B_A12Current), in a3dsrc_SetAtmosCurrent()
70 a3d_addrB(a->slice, a->source, A3D_B_B01Current), in a3dsrc_SetAtmosCurrent()
73 a3d_addrB(a->slice, a->source, A3D_B_B2Current), c); in a3dsrc_SetAtmosCurrent()
[all …]
H A Dau88x0_a3d.h38 unsigned int slice; /* this_08 */ member
102 // Slice size: 0x2000
106 #define a3d_addrA(slice,source,reg) (((slice)<<0xd)+((source)*0x3A4)+(reg)) argument
107 #define a3d_addrB(slice,source,reg) (((slice)<<0xd)+((source)*0x2C8)+(reg)) argument
108 #define a3d_addrS(slice,reg) (((slice)<<0xd)+(reg)) argument
109 //#define a3d_addr(slice,source,reg) (((reg)>=0x19000) ? a3d_addr2((slice),(source),(reg)) : a3d_ad…
/OK3568_Linux_fs/kernel/include/linux/soc/qcom/
H A Dllcc-qcom.h31 * llcc_slice_desc - Cache slice descriptor
32 * @slice_id: llcc slice id
33 * @slice_size: Size allocated for the llcc slice
68 * @cfg: pointer to the data structure for slice configuration
69 * @lock: mutex associated with each slice
73 * @bitmap: Bit map to track the active slice ids
92 * llcc_slice_getd - get llcc slice descriptor
98 * llcc_slice_putd - llcc slice descritpor
99 * @desc: Pointer to llcc slice descriptor
104 * llcc_get_slice_id - get slice id
[all …]
/OK3568_Linux_fs/kernel/block/partitions/
H A Dsysv68.c25 __be32 ios_slcblk; /* Slice table block number */
26 __be16 ios_slccnt; /* Number of entries in slice table */
40 * Slice Table Structure
43 struct slice { struct
44 __be32 nblocks; /* slice size (in blocks) */ argument
45 __be32 blkoff; /* block offset of slice */ argument
56 struct slice *slice; in sysv68_partition() local
76 slices -= 1; /* last slice is the whole disk */ in sysv68_partition()
79 slice = (struct slice *)data; in sysv68_partition()
80 for (i = 0; i < slices; i++, slice++) { in sysv68_partition()
[all …]
/OK3568_Linux_fs/external/mpp/mpp/hal/common/h264/
H A Dhal_h264e_stream_amend.c95 H264eSlice *slice, H264ePrefixNal *prefix) in h264e_vepu_stream_amend_config() argument
118 slice->pic_order_cnt_type = cfg->codec.h264.poc_type; in h264e_vepu_stream_amend_config()
120 ctx->slice = slice; in h264e_vepu_stream_amend_config()
135 H264eSlice *slice = ctx->slice; in h264e_vepu_stream_amend_proc() local
185 if (slice->is_multi_slice) { in h264e_vepu_stream_amend_proc()
205 nal_len, slice->is_multi_slice, last_slice, prefix); in h264e_vepu_stream_amend_proc()
208 /* add prefix for each slice */ in h264e_vepu_stream_amend_proc()
220 memcpy(&slice_rd, slice, sizeof(slice_rd)); in h264e_vepu_stream_amend_proc()
222 /* update slice by hw_cfg */ in h264e_vepu_stream_amend_proc()
238 slice->qp_delta = slice_rd.qp_delta; in h264e_vepu_stream_amend_proc()
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/eeprom/
H A Dmax6875.c54 static void max6875_update_slice(struct i2c_client *client, int slice) in max6875_update_slice() argument
60 if (slice >= USER_EEPROM_SLICES) in max6875_update_slice()
65 buf = &data->data[slice << SLICE_BITS]; in max6875_update_slice()
67 if (!(data->valid & (1 << slice)) || in max6875_update_slice()
68 time_after(jiffies, data->last_updated[slice])) { in max6875_update_slice()
70 dev_dbg(&client->dev, "Starting update of slice %u\n", slice); in max6875_update_slice()
72 data->valid &= ~(1 << slice); in max6875_update_slice()
74 addr = USER_EEPROM_BASE + (slice << SLICE_BITS); in max6875_update_slice()
99 data->last_updated[slice] = jiffies; in max6875_update_slice()
100 data->valid |= (1 << slice); in max6875_update_slice()
[all …]
H A Deeprom.c35 u8 valid; /* bitfield, bit!=0 if slice is valid */
42 static void eeprom_update_client(struct i2c_client *client, u8 slice) in eeprom_update_client() argument
49 if (!(data->valid & (1 << slice)) || in eeprom_update_client()
50 time_after(jiffies, data->last_updated[slice] + 300 * HZ)) { in eeprom_update_client()
51 dev_dbg(&client->dev, "Starting eeprom update, slice %u\n", slice); in eeprom_update_client()
54 for (i = slice << 5; i < (slice + 1) << 5; i += 32) in eeprom_update_client()
60 for (i = slice << 5; i < (slice + 1) << 5; i += 2) { in eeprom_update_client()
68 data->last_updated[slice] = jiffies; in eeprom_update_client()
69 data->valid |= (1 << slice); in eeprom_update_client()
81 u8 slice; in eeprom_read() local
[all …]
/OK3568_Linux_fs/kernel/arch/mips/sgi-ip27/
H A Dip27-nmi.c37 void install_cpu_nmi_handler(int slice) in install_cpu_nmi_handler() argument
41 nmi_addr = (nmi_t *)NMI_ADDR(get_nasid(), slice); in install_cpu_nmi_handler()
56 void nmi_cpu_eframe_save(nasid_t nasid, int slice) in nmi_cpu_eframe_save() argument
64 slice * IP27_NMI_KREGS_CPU_SIZE); in nmi_cpu_eframe_save()
66 pr_emerg("NMI nasid %d: slice %d\n", nasid, slice); in nmi_cpu_eframe_save()
132 void nmi_dump_hub_irq(nasid_t nasid, int slice) in nmi_dump_hub_irq() argument
136 if (slice == 0) { /* Slice A */ in nmi_dump_hub_irq()
139 } else { /* Slice B */ in nmi_dump_hub_irq()
158 int slice; in nmi_node_eframe_save() local
164 for (slice = 0; slice < NODE_NUM_CPUS(slice); slice++) { in nmi_node_eframe_save()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/
H A Dtcm.h213 * This method slices off the topmost 2D slice from the parent area, and stores
214 * it in the 'slice' parameter. The 'parent' parameter will get modified to
216 * fit in a 2D slice, its tcm pointer is set to NULL to mark that it is no
220 * @param slice Pointer to the slice area that will get modified
222 static inline void tcm_slice(struct tcm_area *parent, struct tcm_area *slice) in tcm_slice() argument
224 *slice = *parent; in tcm_slice()
226 /* check if we need to slice */ in tcm_slice()
227 if (slice->tcm && !slice->is2d && in tcm_slice()
228 slice->p0.y != slice->p1.y && in tcm_slice()
229 (slice->p0.x || (slice->p1.x != slice->tcm->width - 1))) { in tcm_slice()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h264.c217 const struct v4l2_ctrl_h264_slice_params *slice = run->h264.slice_params; in cedrus_write_ref_list0() local
220 slice->ref_pic_list0, in cedrus_write_ref_list0()
221 slice->num_ref_idx_l0_active_minus1 + 1, in cedrus_write_ref_list0()
228 const struct v4l2_ctrl_h264_slice_params *slice = run->h264.slice_params; in cedrus_write_ref_list1() local
231 slice->ref_pic_list1, in cedrus_write_ref_list1()
232 slice->num_ref_idx_l1_active_minus1 + 1, in cedrus_write_ref_list1()
325 const struct v4l2_ctrl_h264_slice_params *slice = run->h264.slice_params; in cedrus_set_params() local
369 cedrus_skip_bits(dev, slice->header_bit_size); in cedrus_set_params()
371 if (V4L2_H264_CTRL_PRED_WEIGHTS_REQUIRED(pps, slice)) in cedrus_set_params()
374 if ((slice->slice_type == V4L2_H264_SLICE_TYPE_P) || in cedrus_set_params()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/
H A Dintel_sseu.c35 u32 intel_sseu_get_subslices(const struct sseu_dev_info *sseu, u8 slice) in intel_sseu_get_subslices() argument
37 int i, offset = slice * sseu->ss_stride; in intel_sseu_get_subslices()
40 GEM_BUG_ON(slice >= sseu->max_slices); in intel_sseu_get_subslices()
49 void intel_sseu_set_subslices(struct sseu_dev_info *sseu, int slice, in intel_sseu_set_subslices() argument
52 int offset = slice * sseu->ss_stride; in intel_sseu_set_subslices()
58 intel_sseu_subslices_per_slice(const struct sseu_dev_info *sseu, u8 slice) in intel_sseu_subslices_per_slice() argument
60 return hweight32(intel_sseu_get_subslices(sseu, slice)); in intel_sseu_subslices_per_slice()
63 static int sseu_eu_idx(const struct sseu_dev_info *sseu, int slice, in sseu_eu_idx() argument
68 return slice * slice_stride + subslice * sseu->eu_stride; in sseu_eu_idx()
71 static u16 sseu_get_eus(const struct sseu_dev_info *sseu, int slice, in sseu_get_eus() argument
[all …]
/OK3568_Linux_fs/kernel/arch/mips/include/asm/sn/
H A Daddrs.h278 #define EX_HANDLER_OFFSET(slice) ((slice) << 16) argument
279 #define EX_HANDLER_ADDR(nasid, slice) \ argument
280 PHYS_TO_K0(NODE_OFFSET(nasid) | EX_HANDLER_OFFSET(slice))
283 #define EX_FRAME_OFFSET(slice) ((slice) << 16 | 0x400) argument
284 #define EX_FRAME_ADDR(nasid, slice) \ argument
285 PHYS_TO_K0(NODE_OFFSET(nasid) | EX_FRAME_OFFSET(slice))
332 #define LAUNCH_OFFSET(nasid, slice) \ argument
334 KLD_LAUNCH(nasid)->stride * (slice))
335 #define LAUNCH_ADDR(nasid, slice) \ argument
336 TO_NODE_UNCAC((nasid), LAUNCH_OFFSET(nasid, slice))
[all …]
/OK3568_Linux_fs/kernel/drivers/soc/qcom/
H A Dllcc-qcom.c51 * llcc_slice_config - Data associated with the llcc slice
53 * @slice_id: llcc slice id for each client
54 * @max_cap: The maximum capacity of the cache slice provided in KB
56 * @fixed_size: Boolean indicating if the slice has a fixed capacity
57 * @bonus_ways: Bonus ways are additional ways to be used for any slice,
61 * @res_ways: Reserved ways for the cache slice, the reserved ways cannot
63 * @cache_mode: Each slice operates as a cache, this controls the mode of the
64 * slice: normal or TCM(Tightly Coupled Memory)
72 * @activate_on_init: Activate the slice immediately after it is programmed
135 * llcc_slice_getd - get llcc slice descriptor
[all …]

12345678910>>...23