Searched refs:slice_num (Results 1 – 10 of 10) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | speedhqenc.c | 268 static int ff_speedhq_mb_rows_in_slice(int slice_num, int mb_height) in ff_speedhq_mb_rows_in_slice() argument 270 return mb_height / 4 + (slice_num < (mb_height % 4)); in ff_speedhq_mb_rows_in_slice() 275 int slice_num = 0; in ff_speedhq_mb_y_order_to_mb() local 276 while (mb_y_order >= ff_speedhq_mb_rows_in_slice(slice_num, mb_height)) { in ff_speedhq_mb_y_order_to_mb() 277 mb_y_order -= ff_speedhq_mb_rows_in_slice(slice_num, mb_height); in ff_speedhq_mb_y_order_to_mb() 278 slice_num++; in ff_speedhq_mb_y_order_to_mb() 281 return mb_y_order * 4 + slice_num; in ff_speedhq_mb_y_order_to_mb()
|
D | h264_mvpred.h | 427 if (h->slice_table[topleft_xy] != sl->slice_num) in fill_decode_neighbors() 429 if (h->slice_table[top_xy] != sl->slice_num) in fill_decode_neighbors() 431 if (h->slice_table[left_xy[LTOP]] != sl->slice_num) in fill_decode_neighbors() 434 if (h->slice_table[topleft_xy] != sl->slice_num) { in fill_decode_neighbors() 436 if (h->slice_table[top_xy] != sl->slice_num) in fill_decode_neighbors() 438 if (h->slice_table[left_xy[LTOP]] != sl->slice_num) in fill_decode_neighbors() 442 if (h->slice_table[topright_xy] != sl->slice_num) in fill_decode_neighbors() 833 h->slice_table[mb_xy] = sl->slice_num; in decode_mb_skip()
|
D | diracdec.c | 939 int slice_num = 0; in decode_lowdelay() local 988 slices[slice_num].bytes = bytes; in decode_lowdelay() 989 slices[slice_num].slice_x = slice_x; in decode_lowdelay() 990 slices[slice_num].slice_y = slice_y; in decode_lowdelay() 991 init_get_bits(&slices[slice_num].gb, buf, bufsize); in decode_lowdelay() 992 slice_num++; in decode_lowdelay() 1002 if (s->num_x*s->num_y != slice_num) { in decode_lowdelay() 1011 bytes = (slice_num+1) * (int64_t)s->lowdelay.bytes.num / s->lowdelay.bytes.den in decode_lowdelay() 1012 - slice_num * (int64_t)s->lowdelay.bytes.num / s->lowdelay.bytes.den; in decode_lowdelay() 1017 slices[slice_num].bytes = bytes; in decode_lowdelay() [all …]
|
D | h264_slice.c | 2023 sl->slice_num = ++h->current_slice; in h264_slice_init() 2025 if (sl->slice_num) in h264_slice_init() 2026 h->slice_row[(sl->slice_num-1)&(MAX_SLICES-1)]= sl->resync_mb_y; in h264_slice_init() 2027 if ( h->slice_row[sl->slice_num&(MAX_SLICES-1)] + 3 >= sl->resync_mb_y in h264_slice_init() 2028 && h->slice_row[sl->slice_num&(MAX_SLICES-1)] <= sl->resync_mb_y in h264_slice_init() 2029 && sl->slice_num >= MAX_SLICES) { in h264_slice_init() 2031 …%d >= %d), increase MAX_SLICES and recompile if there are artifacts\n", sl->slice_num, MAX_SLICES); in h264_slice_init() 2036 int *ref2frm = h->ref2frm[sl->slice_num & (MAX_SLICES - 1)][j]; in h264_slice_init() 2070 sl->slice_num, in h264_slice_init() 2297 … const int *ref2frm = &h->ref2frm[sl->slice_num & (MAX_SLICES - 1)][list][(MB_MBAFF(sl) ? 20 : 2)]; in fill_filter_caches_inter() [all …]
|
D | h264_cabac.c | 1290 ctx += (h->cur_pic.mb_type[mbb_xy] >> 7) & (h->slice_table[mbb_xy] == sl->slice_num); in decode_cabac_field_decoding_flag() 1337 && h->slice_table[mba_xy] == sl->slice_num in decode_cabac_mb_skip() 1343 && h->slice_table[mbb_xy] == sl->slice_num in decode_cabac_mb_skip() 1354 if( h->slice_table[mba_xy] == sl->slice_num && !IS_SKIP(h->cur_pic.mb_type[mba_xy] )) in decode_cabac_mb_skip() 1356 if( h->slice_table[mbb_xy] == sl->slice_num && !IS_SKIP(h->cur_pic.mb_type[mbb_xy] )) in decode_cabac_mb_skip() 2024 h->slice_table[mb_xy] = sl->slice_num; in ff_h264_decode_mb_cabac()
|
D | svq3.c | 107 int slice_num; member 1075 s->slice_num = get_bits(&s->gb_slice, 8); in svq3_decode_slice_header() 1479 s->adaptive_quant, s->qscale, s->slice_num); in svq3_decode_frame() 1494 s->frame_num_offset = s->slice_num - s->prev_frame_num; in svq3_decode_frame() 1505 s->frame_num = s->slice_num; in svq3_decode_frame()
|
D | h264dec.h | 189 int slice_num; member
|
D | h264_mb.c | 531 deblock_topleft = h->slice_table[sl->mb_xy - 1 - h->mb_stride] == sl->slice_num; in xchg_mb_border()
|
D | h264_cavlc.c | 772 h->slice_table[mb_xy] = sl->slice_num; in ff_h264_decode_mb_cavlc()
|
/third_party/gstreamer/gstplugins_bad/ext/openjpeg/ |
D | gstopenjpegenc.c | 496 get_stripe_height (GstOpenJPEGEnc * self, guint slice_num, guint frame_height) in get_stripe_height() argument 499 return (slice_num < in get_stripe_height() 502 (slice_num * nominal_stripe_height); in get_stripe_height() 930 guint slice_num) in gst_openjpeg_enc_fill_image() argument 961 comps[i].h = (slice_num < self->num_stripes) ? in gst_openjpeg_enc_fill_image() 989 image->y0 = (slice_num - 1) * min_height; in gst_openjpeg_enc_fill_image() 991 (slice_num < in gst_openjpeg_enc_fill_image()
|