/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/ |
D | gstdvbsubenc-util.c | 332 int run_length; in encode_rle2() local 344 run_length = MIN (x_end - x, 284); in encode_rle2() 346 if (run_length >= 29) { in encode_rle2() 348 if (run_length > 284) in encode_rle2() 349 run_length = 284; in encode_rle2() 352 gst_bit_writer_put_bits_uint8 (&bits, run_length - 29, 8); in encode_rle2() 354 } else if (run_length >= 12 && run_length <= 27) { in encode_rle2() 357 gst_bit_writer_put_bits_uint8 (&bits, run_length - 12, 4); in encode_rle2() 359 } else if (run_length >= 3 && run_length <= 10) { in encode_rle2() 362 gst_bit_writer_put_bits_uint8 (&bits, 0x8 + run_length - 3, 4); in encode_rle2() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/dvbsuboverlay/ |
D | dvb-sub.c | 650 guint run_length = 0, clut_index = 0; in _dvb_sub_read_2bit_string() local 655 run_length = 1; in _dvb_sub_read_2bit_string() 660 run_length = gst_bit_reader_get_bits_uint32_unchecked (&gb, 3); in _dvb_sub_read_2bit_string() 661 run_length += 3; in _dvb_sub_read_2bit_string() 666 run_length = 1; /* 1x pseudo-colour '00' */ in _dvb_sub_read_2bit_string() 674 run_length = 2; in _dvb_sub_read_2bit_string() 677 run_length = gst_bit_reader_get_bits_uint32_unchecked (&gb, 4); in _dvb_sub_read_2bit_string() 678 run_length += 12; in _dvb_sub_read_2bit_string() 682 run_length = gst_bit_reader_get_bits_uint32_unchecked (&gb, 8); in _dvb_sub_read_2bit_string() 683 run_length += 29; in _dvb_sub_read_2bit_string() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | mmvideo.c | 98 int run_length, color; in mm_decode_intra() local 105 run_length = 1; in mm_decode_intra() 107 run_length = (color & 0x7f) + 2; in mm_decode_intra() 112 run_length *=2; in mm_decode_intra() 114 if (run_length > s->avctx->width - x) in mm_decode_intra() 118 memset(s->frame->data[0] + y*s->frame->linesize[0] + x, color, run_length); in mm_decode_intra() 120 memset(s->frame->data[0] + (y+1)*s->frame->linesize[0] + x, color, run_length); in mm_decode_intra() 122 x+= run_length; in mm_decode_intra()
|
D | dvbsubdec.c | 377 int run_length; in dvbsub_read_2bit_string() local 398 run_length = get_bits(&gb, 3) + 3; in dvbsub_read_2bit_string() 402 pixels_read += run_length; in dvbsub_read_2bit_string() 406 while (run_length-- > 0 && pixels_read < dbuf_len) { in dvbsub_read_2bit_string() 416 run_length = get_bits(&gb, 4) + 12; in dvbsub_read_2bit_string() 420 pixels_read += run_length; in dvbsub_read_2bit_string() 424 while (run_length-- > 0 && pixels_read < dbuf_len) { in dvbsub_read_2bit_string() 430 run_length = get_bits(&gb, 8) + 29; in dvbsub_read_2bit_string() 434 pixels_read += run_length; in dvbsub_read_2bit_string() 438 while (run_length-- > 0 && pixels_read < dbuf_len) { in dvbsub_read_2bit_string() [all …]
|
D | vp3.c | 1102 int qpi, i, j, bit, run_length, blocks_decoded, num_blocks_at_qpi; in unpack_block_qpis() local 1109 run_length = 0; in unpack_block_qpis() 1112 if (run_length == MAXIMUM_LONG_BIT_RUN) in unpack_block_qpis() 1117 run_length = get_vlc2(gb, s->superblock_run_length_vlc.table, in unpack_block_qpis() 1119 if (run_length == 34) in unpack_block_qpis() 1120 run_length += get_bits(gb, 12); in unpack_block_qpis() 1121 blocks_decoded += run_length; in unpack_block_qpis() 1124 num_blocks_at_qpi += run_length; in unpack_block_qpis() 1126 for (j = 0; j < run_length; i++) { in unpack_block_qpis()
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | rtptwcc.c | 383 RTPTWCCPacketStatus status, guint run_length) in rtp_twcc_write_run_length_chunk() argument 386 while (written < run_length) { in rtp_twcc_write_run_length_chunk() 389 guint len = MIN (run_length - written, 8191); in rtp_twcc_write_run_length_chunk() 925 guint16 run_length; in _parse_run_length_chunk() local 930 gst_bit_reader_get_bits_uint16 (reader, &run_length, 13); in _parse_run_length_chunk() 932 run_length = MIN (remaining_packets, run_length); in _parse_run_length_chunk() 934 for (i = 0; i < run_length; i++) { in _parse_run_length_chunk() 938 return run_length; in _parse_run_length_chunk()
|
/third_party/node/deps/v8/src/regexp/ |
D | regexp-compiler-tonode.cc | 703 int run_length = i - first_with_prefix; in RationalizeConsecutiveAtoms() local 706 for (int j = 1; j < run_length && prefix_length > 1; j++) { in RationalizeConsecutiveAtoms() 725 zone->New<ZoneList<RegExpTree*>>(run_length, zone); in RationalizeConsecutiveAtoms() 726 for (int j = 0; j < run_length; j++) { in RationalizeConsecutiveAtoms() 794 int run_length = i - first_in_run; in RationalizeConsecutiveAtoms() local 797 for (int j = 0; j < run_length; j++) { in RationalizeConsecutiveAtoms()
|
/third_party/node/deps/v8/third_party/v8/builtins/ |
D | array-sort.tq | 1180 // Returns true iff run_length(n - 2) > run_length(n - 1) + run_length(n). 1195 // 1. run_length(i - 3) > run_length(i - 2) + run_length(i - 1) 1196 // 2. run_length(i - 2) > run_length(i - 1)
|
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_message.cc | 2612 const size_t run_length = it->second; in GenerateConstructorBody() local 2615 FieldName(optimized_order_[i + run_length - 1]); in GenerateConstructorBody() 2622 i += run_length - 1; in GenerateConstructorBody() 3088 const size_t run_length = it->second; in GenerateSwap() local 3091 FieldName(optimized_order_[i + run_length - 1]); in GenerateSwap() 3104 i += run_length - 1; in GenerateSwap()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | rtpsession.c | 2717 guint16 run_length; in GST_START_TEST() local 2766 run_length = GST_READ_UINT16_BE (&fci_data[8]); in GST_START_TEST() 2767 run_length = run_length & ~0xE000; /* mask out the upper 3 status bits */ in GST_START_TEST() 2768 fail_unless_equals_int (td->num_packets, run_length); in GST_START_TEST()
|