Home
last modified time | relevance | path

Searched refs:slice_x (Results 1 – 6 of 6) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dffv1dec.c173 fs->slice_x = get_symbol(c, state, 0) * f->width ; in decode_slice_header()
175 fs->slice_width = (get_symbol(c, state, 0) + 1) * f->width + fs->slice_x; in decode_slice_header()
178 fs->slice_x /= f->num_h_slices; in decode_slice_header()
180 fs->slice_width = fs->slice_width /f->num_h_slices - fs->slice_x; in decode_slice_header()
184 if ( (unsigned)fs->slice_x + (uint64_t)fs->slice_width > f->width in decode_slice_header()
294 fs->slice_x = fs->slice_y = fs->slice_height = fs->slice_width = 0; in decode_slice()
306 x = fs->slice_x; in decode_slice()
767 fs->slice_x = get_symbol(c, state, 0) * f->width ; in read_header()
769 fs->slice_width = (get_symbol(c, state, 0) + 1) * f->width + fs->slice_x; in read_header()
772 fs->slice_x /= f->num_h_slices; in read_header()
[all …]
Dvc2enc.c645 int i, j, slice_x, slice_y, bytes_left = 0; in calc_slice_sizes() local
655 for (slice_x = 0; slice_x < s->num_x; slice_x++) { in calc_slice_sizes()
656 SliceArgs *args = &enc_args[s->num_x*slice_y + slice_x]; in calc_slice_sizes()
658 args->x = slice_x; in calc_slice_sizes()
726 const int slice_x = slice_dat->x; in encode_hq_slice() local
751 encode_subband(s, pb, slice_x, slice_y, in encode_hq_slice()
780 int slice_x, slice_y, skip = 0; in encode_slices() local
787 for (slice_x = 0; slice_x < s->num_x; slice_x++) { in encode_slices()
788 SliceArgs *args = &enc_args[s->num_x*slice_y + slice_x]; in encode_slices()
Ddiracdec.c130 int slice_x; member
724 int slice_x, int slice_y, int bits_end, in decode_subband() argument
727 int left = b1->width * slice_x / s->num_x; in decode_subband()
728 int right = b1->width *(slice_x+1) / s->num_x; in decode_subband()
792 decode_subband(s, gb, quant, slice->slice_x, slice->slice_y, luma_end, in decode_lowdelay_slice()
805 decode_subband(s, gb, quant, slice->slice_x, slice->slice_y, chroma_end, in decode_lowdelay_slice()
878 coef_num = subband_coeffs(s, slice->slice_x, slice->slice_y, i, coeffs_num); in decode_hq_slice()
934 int slice_x, slice_y, bufsize; in decode_lowdelay() local
977 for (slice_x = 0; bufsize > 0 && slice_x < s->num_x; slice_x++) { in decode_lowdelay()
989 slices[slice_num].slice_x = slice_x; in decode_lowdelay()
[all …]
Dffv1.h134 int slice_x; member
Dffv1.c140 fs->slice_x = sxs; in ff_ffv1_init_slice_contexts()
Dffv1enc.c376 (fs->slice_x + 1) * f->num_h_slices / f->width, 0); in write_header()
934 put_symbol(c, state, (fs->slice_x +1)*f->num_h_slices / f->width , 0); in encode_slice_header()
1048 int x = fs->slice_x; in encode_slice()