Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dsnowdec.c32 …buffered(SnowContext *s, slice_buffer * sb, IDWTELEM * old_buffer, int plane_index, int add, int m… in predict_slice_buffered() argument
33 Plane *p= &s->plane[plane_index]; in predict_slice_buffered()
38 int block_w = plane_index ? block_size>>s->chroma_h_shift : block_size; in predict_slice_buffered()
39 int block_h = plane_index ? block_size>>s->chroma_v_shift : block_size; in predict_slice_buffered()
40 …const uint8_t *obmc = plane_index ? ff_obmc_tab[s->block_max_depth+s->chroma_h_shift] : ff_obmc_t… in predict_slice_buffered()
41 int obmc_stride= plane_index ? (2*block_size)>>s->chroma_h_shift : 2*block_size; in predict_slice_buffered()
42 int ref_stride= s->current_picture->linesize[plane_index]; in predict_slice_buffered()
43 uint8_t *dst8= s->current_picture->data[plane_index]; in predict_slice_buffered()
85 add, 0, plane_index); in predict_slice_buffered()
88 if(s->avmv && mb_y < mb_h && plane_index == 0) in predict_slice_buffered()
[all …]
Dsnowenc.c42 int plane_index, ret; in encode_init() local
57 for(plane_index=0; plane_index<3; plane_index++){ in encode_init()
58 s->plane[plane_index].diag_mc= 1; in encode_init()
59 s->plane[plane_index].htaps= 6; in encode_init()
60 s->plane[plane_index].hcoeff[0]= 40; in encode_init()
61 s->plane[plane_index].hcoeff[1]= -10; in encode_init()
62 s->plane[plane_index].hcoeff[2]= 2; in encode_init()
63 s->plane[plane_index].fast_mc= 1; in encode_init()
504 static int get_dc(SnowContext *s, int mb_x, int mb_y, int plane_index){ in get_dc() argument
506 Plane *p= &s->plane[plane_index]; in get_dc()
[all …]
Dsnow.c101 int plane_index, level, orientation; in ff_snow_reset_contexts() local
103 for(plane_index=0; plane_index<3; plane_index++){ in ff_snow_reset_contexts()
106 …memset(s->plane[plane_index].band[level][orientation].state, MID_STATE, sizeof(s->plane[plane_inde… in ff_snow_reset_contexts()
322 …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
325 const unsigned color = block->color[plane_index]; in ff_snow_pred_block()
362 uint8_t *src= s->last_picture[block->ref]->data[plane_index]; in ff_snow_pred_block()
363 const int scale= plane_index ? (2*s->mv_scale)>>s->chroma_h_shift : 2*s->mv_scale; in ff_snow_pred_block()
389 || !s->plane[plane_index].fast_mc ) in ff_snow_pred_block()
390 mc_block(&s->plane[plane_index], dst, src, stride, b_w, b_h, dx, dy); in ff_snow_pred_block()
516 int plane_index, level, orientation; in ff_snow_common_init_after_header() local
[all …]
Dsnow.h252 int plane_index, int w, int h);
283 …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
345 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()
352 … 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()
362 … 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()
373 … 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()
407 static av_always_inline void predict_slice(SnowContext *s, IDWTELEM *buf, int plane_index, int add,… in predict_slice() argument
408 Plane *p= &s->plane[plane_index]; in predict_slice()
413 int block_w = plane_index ? block_size>>s->chroma_h_shift : block_size; in predict_slice()
414 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()
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()
Dffv1dec.c121 int w, int h, int stride, int plane_index, in decode_plane() argument
143 int ret = decode_line(s, w, sample, plane_index, 8); in decode_plane()
149 int ret = decode_line(s, w, sample, plane_index, s->avctx->bits_per_raw_sample); in decode_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()
163 nir_tex_instr_remove_src(tex, plane_index); in lower_tex_src_plane_block()
/third_party/astc-encoder/Docs/
DTerminology.md21 * `plane_index`
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_pipe.h397 unsigned plane_index; /* other planes are different pipe_resources */ member
Dsi_texture.c1325 tex->plane_index = i; in si_texture_create_with_modifier()