Home
last modified time | relevance | path

Searched refs:plane_index (Results 1 – 15 of 15) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dsnowdec.c35 …buffered(SnowContext *s, slice_buffer * sb, IDWTELEM * old_buffer, int plane_index, int add, int m… in predict_slice_buffered() argument
36 Plane *p= &s->plane[plane_index]; in predict_slice_buffered()
41 int block_w = plane_index ? block_size>>s->chroma_h_shift : block_size; in predict_slice_buffered()
42 int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in predict_slice_buffered()
43 …const uint8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_t… in predict_slice_buffered()
44 int obmc_stride= plane_index ? (2*block_size)>>s->chroma_h_shift : 2*block_size; in predict_slice_buffered()
45 int ref_stride= s->current_picture->linesize[plane_index]; in predict_slice_buffered()
46 uint8_t *dst8= s->current_picture->data[plane_index]; in predict_slice_buffered()
88 add, 0, plane_index); in predict_slice_buffered()
91 if(s->avmv && mb_y < mb_h && plane_index == 0) in predict_slice_buffered()
[all …]
Dsnowenc.c41 int plane_index, ret; in encode_init() local
63 for(plane_index=0; plane_index<3; plane_index++){ in encode_init()
64 s->plane[plane_index].diag_mc= 1; in encode_init()
65 s->plane[plane_index].htaps= 6; in encode_init()
66 s->plane[plane_index].hcoeff[0]= 40; in encode_init()
67 s->plane[plane_index].hcoeff[1]= -10; in encode_init()
68 s->plane[plane_index].hcoeff[2]= 2; in encode_init()
69 s->plane[plane_index].fast_mc= 1; in encode_init()
513 static int get_dc(SnowContext *s, int mb_x, int mb_y, int plane_index){ in get_dc() argument
515 Plane *p= &s->plane[plane_index]; in get_dc()
[all …]
Dsnow.c98 int plane_index, level, orientation; in ff_snow_reset_contexts() local
100 for(plane_index=0; plane_index<3; plane_index++){ in ff_snow_reset_contexts()
103 …memset(s->plane[plane_index].band[level][orientation].state, MID_STATE, sizeof(s->plane[plane_inde… in ff_snow_reset_contexts()
328 …t stride, int sx, int sy, int b_w, int b_h, const BlockNode *block, int plane_index, int w, int h){ in ff_snow_pred_block() argument
331 const unsigned color = block->color[plane_index]; in ff_snow_pred_block()
368 uint8_t *src= s->last_picture[block->ref]->data[plane_index]; in ff_snow_pred_block()
369 const int scale= plane_index ? (2*s->mv_scale)>>s->chroma_h_shift : 2*s->mv_scale; in ff_snow_pred_block()
395 || !s->plane[plane_index].fast_mc ) in ff_snow_pred_block()
396 mc_block(&s->plane[plane_index], dst, src, stride, b_w, b_h, dx, dy); in ff_snow_pred_block()
523 int plane_index, level, orientation; in ff_snow_common_init_after_header() local
[all …]
Dsnow.h250 int plane_index, int w, int h);
281 …ride, int src_stride, int obmc_stride, int b_x, int b_y, int add, int offset_dst, int plane_index){ in add_yblock() argument
343 ff_snow_pred_block(s, block[0], tmp, src_stride, src_x, src_y, b_w, b_h, lt, plane_index, w, h); in add_yblock()
350 … ff_snow_pred_block(s, block[1], tmp, src_stride, src_x, src_y, b_w, b_h, rt, plane_index, w, h); in add_yblock()
360 … ff_snow_pred_block(s, block[2], tmp, src_stride, src_x, src_y, b_w, b_h, lb, plane_index, w, h); in add_yblock()
371 … ff_snow_pred_block(s, block[3], tmp, src_stride, src_x, src_y, b_w, b_h, rb, plane_index, w, h); in add_yblock()
405 static av_always_inline void predict_slice(SnowContext *s, IDWTELEM *buf, int plane_index, int add,… in predict_slice() argument
406 Plane *p= &s->plane[plane_index]; in predict_slice()
411 int block_w = plane_index ? block_size>>s->chroma_h_shift : block_size; in predict_slice()
412 int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in predict_slice()
[all …]
Dffv1dec_template.c25 int plane_index, int bits) in RENAME()
27 PlaneContext *const p = &s->plane[plane_index]; in RENAME()
Dffv1enc_template.c25 int plane_index, int bits) in RENAME()
27 PlaneContext *const p = &s->plane[plane_index]; in RENAME()
Dffv1dec.c119 int w, int h, int stride, int plane_index, in decode_plane() argument
141 int ret = decode_line(s, w, sample, plane_index, 8); in decode_plane()
147 int ret = decode_line(s, w, sample, plane_index, s->avctx->bits_per_raw_sample); in decode_plane()
Dffv1enc.c274 int stride, int plane_index, int pixel_stride) in encode_plane() argument
292 if((ret = encode_line(s, w, sample, plane_index, 8)) < 0) in encode_plane()
304 if((ret = encode_line(s, w, sample, plane_index, s->bits_per_raw_sample)) < 0) in encode_plane()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_tex_src_plane.c114 int plane_index = nir_tex_instr_src_index(tex, nir_tex_src_plane); in lower_tex_src_plane_block() local
116 if (plane_index < 0) in lower_tex_src_plane_block()
119 nir_const_value *plane = nir_src_as_const_value(tex->src[plane_index].src); in lower_tex_src_plane_block()
162 nir_tex_instr_remove_src(tex, plane_index); in lower_tex_src_plane_block()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Ddeconv_winograd_fp32.c521 int plane_index = start_index + unit_index; in DeconvWg() local
522 int w_unit_index = plane_index % deconv_param->in_tile_w_count_; in DeconvWg()
523 int h_unit_index = plane_index / deconv_param->in_tile_w_count_; in DeconvWg()
598 int plane_index = tile_index * DECONV_WINOGRAD_DEFAULT_TILE + index; in DeconvWgPost() local
599 int w_unit_index = plane_index % deconv_param->in_tile_w_count_; in DeconvWgPost()
600 int h_unit_index = plane_index / deconv_param->in_tile_w_count_; in DeconvWgPost()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Ddeconv_winograd_fp16.c351 int plane_index = start_index + unit_index; in DeconvWgFp16() local
352 int w_unit_index = plane_index % deconv_param->in_tile_w_count_; in DeconvWgFp16()
353 int h_unit_index = plane_index / deconv_param->in_tile_w_count_; in DeconvWgFp16()
417 int plane_index = tile_index * DECONV_WINOGRAD_DEFAULT_TILE + index; in DeconvWgPostFp16() local
418 int w_unit_index = plane_index % deconv_param->in_tile_w_count_; in DeconvWgPostFp16()
419 int h_unit_index = plane_index / deconv_param->in_tile_w_count_; in DeconvWgPostFp16()
/third_party/weston/libweston/renderer-gl/
Dgl-renderer.c159 int plane_index; member
2086 .plane_index = 0
2091 .plane_index = 0
2102 .plane_index = 0
2107 .plane_index = 1
2118 .plane_index = 0
2123 .plane_index = 1
2128 .plane_index = 2
2139 .plane_index = 0
2144 .plane_index = 1
[all …]
/third_party/boost/boost/gil/
Dimage_view_factory.hpp106 …ype<HomogeneousView>::type planar_view_get_raw_data(const HomogeneousView& view, int plane_index) { in planar_view_get_raw_data() argument
108 return dynamic_at_c(view.row_begin(0),plane_index); in planar_view_get_raw_data()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_pipe.h356 unsigned plane_index; /* other planes are different pipe_resources */ member
Dsi_texture.c1285 tex->plane_index = i; in si_texture_create_with_modifier()