Home
last modified time | relevance | path

Searched refs:c_idx (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/libavcodec/mips/
Dhevcpred_mips.h48 ptrdiff_t stride, int log2, int c_idx);
53 ptrdiff_t stride, int c_idx, int mode);
58 ptrdiff_t stride, int c_idx, int mode);
63 ptrdiff_t stride, int c_idx, int mode);
68 ptrdiff_t stride, int c_idx, int mode);
70 void ff_intra_pred_8_16x16_msa(struct HEVCContext *s, int x0, int y0, int c_idx);
71 void ff_intra_pred_8_32x32_msa(struct HEVCContext *s, int x0, int y0, int c_idx);
Dhevcpred_msa.c1813 ptrdiff_t stride, int log2, int c_idx) in ff_hevc_intra_pred_dc_msa() argument
1817 hevc_intra_pred_dc_4x4_msa(src_top, src_left, dst, stride, c_idx); in ff_hevc_intra_pred_dc_msa()
1821 hevc_intra_pred_dc_8x8_msa(src_top, src_left, dst, stride, c_idx); in ff_hevc_intra_pred_dc_msa()
1825 hevc_intra_pred_dc_16x16_msa(src_top, src_left, dst, stride, c_idx); in ff_hevc_intra_pred_dc_msa()
1837 ptrdiff_t stride, int c_idx, int mode) in ff_pred_intra_pred_angular_0_msa() argument
1840 hevc_intra_pred_horiz_4x4_msa(src_top, src_left, dst, stride, c_idx); in ff_pred_intra_pred_angular_0_msa()
1842 hevc_intra_pred_vert_4x4_msa(src_top, src_left, dst, stride, c_idx); in ff_pred_intra_pred_angular_0_msa()
1855 ptrdiff_t stride, int c_idx, int mode) in ff_pred_intra_pred_angular_1_msa() argument
1858 hevc_intra_pred_horiz_8x8_msa(src_top, src_left, dst, stride, c_idx); in ff_pred_intra_pred_angular_1_msa()
1860 hevc_intra_pred_vert_8x8_msa(src_top, src_left, dst, stride, c_idx); in ff_pred_intra_pred_angular_1_msa()
[all …]
/third_party/ffmpeg/libavcodec/
Dhevc_cabac.c888 static int hevc_transform_skip_flag_decode(HEVCContext *s, int c_idx) in hevc_transform_skip_flag_decode() argument
890 return GET_CABAC(elem_offset[TRANSFORM_SKIP_FLAG] + !!c_idx); in hevc_transform_skip_flag_decode()
893 static int explicit_rdpcm_flag_decode(HEVCContext *s, int c_idx) in explicit_rdpcm_flag_decode() argument
895 return GET_CABAC(elem_offset[EXPLICIT_RDPCM_FLAG] + !!c_idx); in explicit_rdpcm_flag_decode()
898 static int explicit_rdpcm_dir_flag_decode(HEVCContext *s, int c_idx) in explicit_rdpcm_dir_flag_decode() argument
900 return GET_CABAC(elem_offset[EXPLICIT_RDPCM_DIR_FLAG] + !!c_idx); in explicit_rdpcm_dir_flag_decode()
916 static av_always_inline void last_significant_coeff_xy_prefix_decode(HEVCContext *s, int c_idx, in last_significant_coeff_xy_prefix_decode() argument
923 if (!c_idx) { in last_significant_coeff_xy_prefix_decode()
954 static av_always_inline int significant_coeff_group_flag_decode(HEVCContext *s, int c_idx, int ctx_… in significant_coeff_group_flag_decode() argument
958 inc = FFMIN(ctx_cg, 1) + (c_idx>0 ? 2 : 0); in significant_coeff_group_flag_decode()
[all …]
Dhevc_filter.c49 static int chroma_tc(HEVCContext *s, int qp_y, int c_idx, int tc_offset) in chroma_tc() argument
57 if (c_idx == 1) in chroma_tc()
193 int c_idx, int x_ctb, int y_ctb) in copy_CTB_to_hv() argument
196 int w = s->ps.sps->width >> s->ps.sps->hshift[c_idx]; in copy_CTB_to_hv()
197 int h = s->ps.sps->height >> s->ps.sps->vshift[c_idx]; in copy_CTB_to_hv()
200 memcpy(s->sao_pixel_buffer_h[c_idx] + (((2 * y_ctb) * w + x) << sh), in copy_CTB_to_hv()
202 memcpy(s->sao_pixel_buffer_h[c_idx] + (((2 * y_ctb + 1) * w + x) << sh), in copy_CTB_to_hv()
206 …copy_vert(s->sao_pixel_buffer_v[c_idx] + (((2 * x_ctb) * h + y) << sh), src, sh, height, 1 << sh, … in copy_CTB_to_hv()
208 …copy_vert(s->sao_pixel_buffer_v[c_idx] + (((2 * x_ctb + 1) * h + y) << sh), src + ((width - 1) << … in copy_CTB_to_hv()
214 int x0, int y0, int width, int height, int c_idx) in restore_tqb_pixels() argument
[all …]
Dhevcpred_template.c31 int log2_size, int c_idx) in FUNC()
75 int hshift = s->ps.sps->hshift[c_idx]; in FUNC()
76 int vshift = s->ps.sps->vshift[c_idx]; in FUNC()
86 int spin = c_idx && !size_in_tbs_v && ((2 * y0) & (1 << s->ps.sps->log2_min_tb_size)); in FUNC()
90 ptrdiff_t stride = s->frame->linesize[c_idx] / sizeof(pixel); in FUNC()
91 pixel *src = (pixel*)s->frame->data[c_idx] + x + y * stride; in FUNC()
95 enum IntraPredMode mode = c_idx ? lc->tu.intra_pred_mode_c : in FUNC()
291 …if (!s->ps.sps->intra_smoothing_disabled_flag && (c_idx == 0 || s->ps.sps->chroma_format_idc == 3… in FUNC()
298 if (s->ps.sps->sps_strong_intra_smoothing_enable_flag && c_idx == 0 && in FUNC()
338 (uint8_t *)left, stride, log2_size, c_idx); in FUNC()
[all …]
Dhevcpred.h32 void (*intra_pred[4])(struct HEVCContext *s, int x0, int y0, int c_idx);
37 ptrdiff_t stride, int log2_size, int c_idx);
40 int c_idx, int mode);
Dhevcdec.c507 int c_idx; in set_sps() local
509 for(c_idx = 0; c_idx < c_count; c_idx++) { in set_sps()
510 int w = sps->width >> sps->hshift[c_idx]; in set_sps()
511 int h = sps->height >> sps->vshift[c_idx]; in set_sps()
512 s->sao_pixel_buffer_h[c_idx] = in set_sps()
515 s->sao_pixel_buffer_v[c_idx] = in set_sps()
518 if (!s->sao_pixel_buffer_h[c_idx] || in set_sps()
519 !s->sao_pixel_buffer_v[c_idx]) in set_sps()
995 int c_idx, i; in hls_sao_param() local
1009 for (c_idx = 0; c_idx < (s->ps.sps->chroma_format_idc ? 3 : 1); c_idx++) { in hls_sao_param()
[all …]
Dhevcdsp.h71 … struct SAOParams *sao, int *borders, int _width, int _height, int c_idx,
Dhevcdsp_template.c358 int c_idx, uint8_t *vert_edge, in FUNC()
364 int16_t *sao_offset_val = sao->offset_val[c_idx]; in FUNC()
365 int sao_eo_class = sao->eo_class[c_idx]; in FUNC()
408 int c_idx, uint8_t *vert_edge, in FUNC()
414 int16_t *sao_offset_val = sao->offset_val[c_idx]; in FUNC()
415 int sao_eo_class = sao->eo_class[c_idx]; in FUNC()
Dhevcdec.h686 int c_idx);
/third_party/rust/crates/clap/src/util/
Dgraph.rs36 let c_idx = self.0.len(); in insert_child() localVariable
38 self.0[parent].children.push(c_idx); in insert_child()
39 c_idx in insert_child()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_lower_packed_varyings.c346 nir_load_const_instr *c_idx = in get_packed_varying_deref() local
348 c_idx->value[0].u32 = vertex_index; in get_packed_varying_deref()
349 nir_builder_instr_insert(&state->b, &c_idx->instr); in get_packed_varying_deref()
351 deref = nir_build_deref_array(&state->b, deref, &c_idx->def); in get_packed_varying_deref()
632 nir_load_const_instr *c_idx = in lower_arraylike() local
634 c_idx->value[0].u32 = i; in lower_arraylike()
635 nir_builder_instr_insert(&state->b, &c_idx->instr); in lower_arraylike()
638 nir_build_deref_array(&state->b, unpacked_var_deref, &c_idx->def); in lower_arraylike()
/third_party/ffmpeg/libavfilter/
Dvf_fade.c200 #define INTERP(c_name, c_idx) av_clip_uint8(((c[c_idx]<<16) + ((int)p[c_name] - (int)c[c_idx]) * s-… in filter_rgb() argument
224 #define INTERPP(c_name, c_idx) av_clip_uint8(((c[c_idx]<<16) + ((int)c_name - (int)c[c_idx]) * s->f… in filter_rgb_planar() argument
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvdecoder.c1067 gint c_idx, b_idx; in gst_nv_decoder_check_device_caps() local
1135 for (c_idx = 0; c_idx < G_N_ELEMENTS (chroma_list); c_idx++) { in gst_nv_decoder_check_device_caps()
1141 decoder_caps.eChromaFormat = chroma_list[c_idx]; in gst_nv_decoder_check_device_caps()
1151 codec_map->codec_name, bitdepth_minus8[b_idx] + 8, c_idx); in gst_nv_decoder_check_device_caps()
1164 if (chroma_list[c_idx] == cudaVideoChromaFormat_420) in gst_nv_decoder_check_device_caps()
1172 codec_map->codec_name, bitdepth_minus8[b_idx] + 8, c_idx, min_width, in gst_nv_decoder_check_device_caps()
1175 switch (chroma_list[c_idx]) { in gst_nv_decoder_check_device_caps()