/dports/multimedia/vlc/vlc-3.0.16/modules/demux/ |
H A D | xiph.h | 35 return i_extra >= 6 && GetWBE(extra) == 30; in xiph_IsLavcFormat() 37 return i_extra >= 6 && GetWBE(extra) == 42; in xiph_IsLavcFormat() 46 const uint8_t *p_end = &p[i_extra]; in xiph_CountLavcHeaders() 63 if (!i_extra) in xiph_CountHeaders() 66 if(1U + *p > i_extra) in xiph_CountHeaders() 74 if (xiph_IsLavcFormat(p_extra, i_extra, i_codec)) in xiph_CountUnknownHeaders() 77 return xiph_CountHeaders(p_extra, i_extra); in xiph_CountUnknownHeaders() 85 const uint8_t *end = ¤t[i_extra]; in xiph_SplitLavcHeaders() 86 if (i_extra < 2) in xiph_SplitLavcHeaders() 112 const uint8_t *end = ¤t[i_extra]; in xiph_SplitHeaders() [all …]
|
H A D | wav.c | 202 p_sys->fmt.i_extra = __MIN( GetWLE( &p_wf->cbSize ), i_size - sizeof(WAVEFORMATEX) ); in Open() 210 ( p_sys->fmt.i_extra + sizeof( WAVEFORMATEX ) in Open() 226 p_sys->fmt.i_extra -= i_extended; in Open() 315 if( p_sys->fmt.i_extra > 0 ) in Open() 317 p_sys->fmt.p_extra = malloc( p_sys->fmt.i_extra ); in Open() 320 p_sys->fmt.i_extra = 0; in Open() 324 p_sys->fmt.i_extra ); in Open() 333 p_sys->fmt.audio.i_bitspersample, p_sys->fmt.i_extra ); in Open()
|
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/adaptive/plumbing/ |
H A D | FakeESOutID.cpp | 80 if((fmt.i_extra > 0) ^ (p_other->fmt.i_extra > 0)) in isCompatible() 95 fmt.i_extra && p_other->fmt.i_extra && in isCompatible() 96 fmt.i_extra == p_other->fmt.i_extra) in isCompatible() 98 return !!memcmp(fmt.p_extra, p_other->fmt.p_extra, fmt.i_extra); in isCompatible() 109 if(fmt.i_extra && in isCompatible() 110 (fmt.i_extra != p_other->fmt.i_extra || in isCompatible() 111 memcmp(fmt.p_extra, p_other->fmt.p_extra, fmt.i_extra))) in isCompatible()
|
/dports/sysutils/wimlib/wimlib-1.13.0/src/ |
H A D | tagged_items.c | 68 if (!inode->i_extra) in inode_get_tagged_item() 71 hdr = (struct tagged_item_header *)inode->i_extra->data; in inode_get_tagged_item() 72 len_remaining = inode->i_extra->size; in inode_get_tagged_item() 106 size_t oldsize = (inode->i_extra ? inode->i_extra->size : 0); in inode_add_tagged_item() 111 extra = REALLOC(inode->i_extra, sizeof(*extra) + newsize); in inode_add_tagged_item() 114 inode->i_extra = extra; in inode_add_tagged_item() 140 memmove(p, p + old_len, (inode->i_extra->data + in inode_set_tagged_item() 141 inode->i_extra->size) - (p + old_len)); in inode_set_tagged_item() 142 inode->i_extra->size -= old_len; in inode_set_tagged_item()
|
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/mp4/ |
H A D | essetup.c | 95 if( p_track->fmt.i_extra > 0 ) in SetupESDS() 99 p_track->fmt.i_extra ); in SetupESDS() 102 p_track->fmt.i_extra >= 16 * 4 ) in SetupESDS() 479 p_track->fmt.i_extra = in SetupVideoES() 481 if( p_track->fmt.i_extra > 0 ) in SetupVideoES() 702 p_track->fmt.i_extra = BOXDATA(p_strf)->i_extra; in SetupVideoES() 754 p_fmt->i_extra = BOXDATA(p_WMA2)->i_extra; in SetupAudioFromWaveFormatEx() 755 if( p_fmt->i_extra > 0 ) in SetupAudioFromWaveFormatEx() 912 p_track->fmt.i_extra = i_extra; in SetupAudioES() 935 p_track->fmt.i_extra = i_extra; in SetupAudioES() [all …]
|
/dports/multimedia/vlc/vlc-3.0.16/modules/mux/mpeg/ |
H A D | pes.c | 59 int i_extra = 0; in PESHeader() local 71 i_extra = 1; in PESHeader() 73 i_extra += 3; in PESHeader() 148 bits_write( &bits, 16, i_es_size + i_extra + 3 in PESHeader() 227 bits_write( &bits, 16, i_es_size + i_extra + 10 /* + stuffing */ ); in PESHeader() 232 bits_write( &bits, 16, i_es_size + i_extra + 5 /* + stuffing */ ); in PESHeader() 237 bits_write( &bits, 16, i_es_size + i_extra + 1 /* + stuffing */); in PESHeader() 353 p_es = block_Realloc( p_es, p_fmt->i_extra, p_es->i_buffer ); in EStoPES() 355 memcpy( p_es->p_buffer, p_fmt->p_extra, p_fmt->i_extra ); in EStoPES()
|
H A D | tables.c | 277 else if( p_stream->fmt->i_extra > 0 ) in GetPMTmpeg4() 283 p_stream->fmt->i_extra ) ); in GetPMTmpeg4() 284 for (int j = 0; j < p_stream->fmt->i_extra; j++ ) in GetPMTmpeg4() 492 size_t i_extra = __MIN( p_stream->fmt->i_extra, 502 ); in BuildPMT() local 500 data[8] = ( i_extra >> 8 )&0xff; in BuildPMT() 501 data[9] = ( i_extra )&0xff; in BuildPMT() 502 if( i_extra > 0 ) in BuildPMT() 619 if( p_stream->fmt->i_extra ) in BuildPMT() 622 p_stream->fmt->i_extra, in BuildPMT() 630 if( p_stream->fmt->i_extra ) in BuildPMT() [all …]
|
/dports/multimedia/vlc/vlc-3.0.16/modules/packetizer/ |
H A D | mpeg4audio.c | 93 int i_extra; member 266 if(p_dec->fmt_in.i_extra) in set_category() 288 p_dec->fmt_out.i_extra = p_dec->fmt_in.i_extra; in set_category() 290 p_dec->fmt_in.i_extra); in set_category() 432 if (!p_dec->fmt_out.i_extra) { in ADTSSyncInfo() 435 p_dec->fmt_out.i_extra = 0; in ADTSSyncInfo() 438 p_dec->fmt_out.i_extra = 2; in ADTSSyncInfo() 693 return i_extra; in AudioSpecificConfigBitsToBytes() 829 if(p_dec->fmt_out.i_extra != st->i_extra || in LOASParse() 838 p_dec->fmt_out.i_extra = st->i_extra; in LOASParse() [all …]
|
H A D | flac.c | 116 int i_extra = p_dec->fmt_in.i_extra; in ProcessHeader() local 119 if (i_extra > 8 && !memcmp(p_extra, "fLaC", 4)) { in ProcessHeader() 120 i_extra -= 8; in ProcessHeader() 124 if (p_dec->fmt_in.i_extra < FLAC_STREAMINFO_SIZE) in ProcessHeader() 131 p_dec->fmt_out.i_extra = i_extra; in ProcessHeader() 133 p_dec->fmt_out.p_extra = malloc(i_extra); in ProcessHeader() 135 memcpy(p_dec->fmt_out.p_extra, p_extra, i_extra); in ProcessHeader() 137 p_dec->fmt_out.i_extra = 0; in ProcessHeader()
|
H A D | vc1.c | 180 if( p_dec->fmt_out.i_extra > 0 ) in Open() 187 memmove( &p_extra[0], &p_extra[1], p_dec->fmt_out.i_extra - 1 ); in Open() 188 p_dec->fmt_out.i_extra--; in Open() 192 if( p_dec->fmt_out.i_extra > 0 ) in Open() 194 p_dec->fmt_out.p_extra, p_dec->fmt_out.i_extra ); in Open() 320 int i_extra; in BuildExtraData() local 324 i_extra = p_sys->sh.p_sh->i_buffer + p_sys->ep.p_ep->i_buffer; in BuildExtraData() 325 if( p_es->i_extra != i_extra ) in BuildExtraData() 327 p_es->i_extra = i_extra; in BuildExtraData() 328 p_es->p_extra = xrealloc( p_es->p_extra, p_es->i_extra ); in BuildExtraData()
|
H A D | mpeg4video.c | 161 if( p_dec->fmt_out.i_extra ) in Open() 164 msg_Dbg( p_dec, "opening with vol size: %d", p_dec->fmt_out.i_extra ); in Open() 166 p_dec->fmt_out.p_extra, p_dec->fmt_out.i_extra ); in Open() 298 if( (size_t)p_dec->fmt_out.i_extra != p_frag->i_buffer ) in ParseMPEGBlock() 302 p_dec->fmt_out.i_extra = p_frag->i_buffer; in ParseMPEGBlock() 306 p_dec->fmt_out.p_extra, p_dec->fmt_out.i_extra ); in ParseMPEGBlock() 320 if( !p_dec->fmt_out.i_extra ) in ParseMPEGBlock()
|
/dports/multimedia/vlc/vlc-3.0.16/modules/mux/ |
H A D | asf.c | 125 int i_extra; member 363 int i_extra = 0; in AddStream() local 382 i_extra = 12; in AddStream() 389 i_extra = 22; in AddStream() 441 p_input->p_fmt->i_extra + i_extra; in AddStream() 442 tk->p_extra = malloc( tk->i_extra ); in AddStream() 453 if( p_input->p_fmt->i_extra > 0 ) in AddStream() 461 bo_addle_u16( &bo, i_extra ); in AddStream() 545 if( p_fmt->i_extra > 0 ) in AddStream() 872 i_size += 78 + tk->i_extra; in asf_header_create() [all …]
|
H A D | dummy.c | 151 if( p_sys->b_header && p_mux->pp_inputs[i]->p_fmt->i_extra ) in Mux() 155 p_data = block_Alloc( p_mux->pp_inputs[i]->p_fmt->i_extra ); in Mux() 158 p_mux->pp_inputs[i]->p_fmt->i_extra ); in Mux()
|
/dports/science/py-obspy/obspy-1.2.2/obspy/taup/ |
H A D | taup_geo.py | 248 for i_extra in range(npts_new): 249 geo_path[i_new] = (p_interp[i_extra], 250 time_interp[i_extra], 251 dists_new[i_extra], 252 depth_interp[i_extra], 253 lat_interp[i_extra], 254 lon_interp[i_extra])
|
/dports/multimedia/vlc/vlc-3.0.16/modules/access/ |
H A D | live555.cpp | 968 unsigned int i_extra; in SessionsSetup() local 976 tk->fmt.i_extra = i_extra; in SessionsSetup() 988 unsigned int i_extra; in SessionsSetup() local 996 tk->fmt.i_extra = i_extra; in SessionsSetup() 1022 unsigned int i_extra; in SessionsSetup() local 1027 tk->fmt.i_extra = i_extra; in SessionsSetup() 1067 tk->fmt.i_extra = i_extra; in SessionsSetup() 1114 unsigned int i_extra; in SessionsSetup() local 1122 tk->fmt.i_extra = i_extra; in SessionsSetup() 1174 unsigned int i_extra; in SessionsSetup() local [all …]
|
/dports/multimedia/vlc/vlc-3.0.16/modules/codec/ |
H A D | hxxx_helper.c | 419 hxxx_extra_isannexb(const void *p_extra, size_t i_extra) in hxxx_extra_isannexb() argument 421 return i_extra == 0 in hxxx_extra_isannexb() 427 size_t i_extra) in h264_helper_set_extra() argument 429 if (h264_isavcC(p_extra, i_extra)) in h264_helper_set_extra() 450 else if (hxxx_extra_isannexb(p_extra, i_extra)) in h264_helper_set_extra() 454 return i_extra == 0 ? VLC_SUCCESS : in h264_helper_set_extra() 502 size_t i_extra) in hevc_helper_set_extra() argument 504 if (hevc_ishvcC(p_extra, i_extra)) in hevc_helper_set_extra() 513 else if (hxxx_extra_isannexb(p_extra, i_extra)) in hevc_helper_set_extra() 517 return i_extra == 0 ? VLC_SUCCESS : in hevc_helper_set_extra() [all …]
|
H A D | x265.c | 212 size_t i_extra = 0; in Open() local 214 i_extra += nal[i].sizeBytes; in Open() 216 p_enc->fmt_out.i_extra = i_extra; in Open() 218 uint8_t *p_extra = p_enc->fmt_out.p_extra = malloc(i_extra); in Open()
|
H A D | oggspots.c | 207 if (p_dec->fmt_in.i_extra != 52) { in ProcessHeader() 271 p_dec->fmt_in.i_extra); in ProcessHeader() 276 p_dec->fmt_out.i_extra = p_dec->fmt_in.i_extra; in ProcessHeader() 278 p_dec->fmt_in.p_extra, p_dec->fmt_out.i_extra); in ProcessHeader()
|
H A D | flac.c | 521 if( !p_dec->fmt_in.i_extra ) in ProcessHeader() 526 int i_extra = p_dec->fmt_in.i_extra; in ProcessHeader() local 531 i_extra += 8; in ProcessHeader() 533 p_sys->p_block = block_Alloc( i_extra ); in ProcessHeader() 538 if( i_extra != p_dec->fmt_in.i_extra ) in ProcessHeader() 547 memcpy( p_data, p_dec->fmt_in.p_extra, p_dec->fmt_in.i_extra ); in ProcessHeader() 755 p_enc->fmt_out.i_extra = STREAMINFO_SIZE + 8; in EncoderWriteCallback()
|
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/mpeg/ |
H A D | ts_sl.c | 122 p_fmt->i_extra = __MIN(dcd->i_extra, INT32_MAX); in SetupISO14496LogicalStream() 123 if( p_fmt->i_extra > 0 ) in SetupISO14496LogicalStream() 125 p_fmt->p_extra = malloc( p_fmt->i_extra ); in SetupISO14496LogicalStream() 127 memcpy( p_fmt->p_extra, dcd->p_extra, p_fmt->i_extra ); in SetupISO14496LogicalStream() 129 p_fmt->i_extra = 0; in SetupISO14496LogicalStream()
|
/dports/multimedia/vlc/vlc-3.0.16/modules/codec/omxil/ |
H A D | mediacodec.c | 315 int i_ret = hxxx_helper_set_extra(hh, p_extra, i_extra); in ParseVideoExtraH264() 335 int i_ret = hxxx_helper_set_extra(hh, p_extra, i_extra); in ParseVideoExtraHEVC() 355 if (i_extra < 4) in ParseVideoExtraVc1() 361 for (; offset < i_extra - 4 ; ++offset) in ParseVideoExtraVc1() 368 if (offset >= i_extra - 4) in ParseVideoExtraVc1() 384 if (i_extra < 4) in ParseVideoExtraWmv3() 412 int i_extra = p_dec->fmt_in.i_extra; in ParseExtra() local 417 return ParseVideoExtraH264(p_dec, p_extra, i_extra); in ParseExtra() 419 return ParseVideoExtraHEVC(p_dec, p_extra, i_extra); in ParseExtra() 423 return ParseVideoExtraVc1(p_dec, p_extra, i_extra); in ParseExtra() [all …]
|
/dports/misc/rump/buildrump.sh-b914579/src/sys/arch/amd64/amd64/ |
H A D | db_disasm.c | 1311 } else if (ip->i_extra == (const char *)db_Grp1 || in db_disasm() 1312 ip->i_extra == (const char *)db_Grp2 || in db_disasm() 1313 ip->i_extra == (const char *)db_Grp6 || in db_disasm() 1314 ip->i_extra == (const char *)db_Grp7 || in db_disasm() 1315 ip->i_extra == (const char *)db_Grp8 || in db_disasm() 1316 ip->i_extra == (const char *)db_Grp9) { in db_disasm() 1327 i_name = ((const char * const *)ip->i_extra) in db_disasm() 1331 ip = (const struct inst *)ip->i_extra; in db_disasm() 1336 ip->i_extra == (const char *)db_Grp5) { in db_disasm() 1337 ip = (const struct inst *)ip->i_extra; in db_disasm() [all …]
|
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/avformat/ |
H A D | demux.c | 576 unsigned i_extra = cp->extradata_size; in avformat_OpenDemux() local 585 if( i_extra < 2 ) in avformat_OpenDemux() 589 if( i_extra < pi_size[i_count] + 2 ) in avformat_OpenDemux() 593 i_extra -= 2 + pi_size[i_count]; in avformat_OpenDemux() 598 es_fmt.i_extra = 0; in avformat_OpenDemux() 611 pi_size[0] = i_extra; in avformat_OpenDemux() 620 es_fmt.i_extra = 0; in avformat_OpenDemux() 637 pi_size[0] = i_extra; in avformat_OpenDemux() 646 es_fmt.i_extra = 0; in avformat_OpenDemux() 652 es_fmt.p_extra = malloc( i_extra ); in avformat_OpenDemux() [all …]
|
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/mkv/ |
H A D | matroska_segment_parse.cpp | 57 p_tk->fmt.i_extra = p_tk->i_extra_data + 12; in fill_extra_data_alac() 61 SetDWBE( p_extra, p_tk->fmt.i_extra ); in fill_extra_data_alac() 70 p_tk->fmt.i_extra = p_tk->i_extra_data - offset; in fill_extra_data() 71 p_tk->fmt.p_extra = xmalloc( p_tk->fmt.i_extra ); in fill_extra_data() 1547 vars.p_fmt->i_extra = 0; in TrackInit() 1722 p_tk->fmt.i_extra = 0; in TrackInit() 1723 if( p_tk->fmt.i_extra != 0 ) in TrackInit() 1729 p_tk->fmt.i_extra = 0; in TrackInit() 1833 if( xiph_PackHeaders( &vars.p_fmt->i_extra, in TrackInit() 1862 p_tk->fmt.i_extra = sbr ? 5 : 2; in TrackInit() [all …]
|
/dports/multimedia/vlc/vlc-3.0.16/modules/mux/mp4/ |
H A D | libmp4mux.c | 226 int i_decoder_specific_info_size = (p_track->fmt.i_extra > 0) ? 5 + p_track->fmt.i_extra : 0; in GetESDS() 320 if (p_track->fmt.i_extra > 0) { in GetESDS() 324 for (int i = 0; i < p_track->fmt.i_extra; i++) in GetESDS() 579 if(!hvcC || !p_fmt->i_extra) in GetHvcCTag() 583 if(hevc_ishvcC(p_fmt->p_extra, p_fmt->i_extra)) in GetHvcCTag() 673 bo_add_16le(box, p_fmt->i_extra); //cbSize in GetWaveFormatExTag() 675 bo_add_mem(box, p_fmt->i_extra, p_fmt->p_extra); in GetWaveFormatExTag() 685 bo_add_mem(box, p_fmt->i_extra, p_fmt->p_extra); in GetxxxxTag() 760 if (p_fmt->i_extra > 0x4e) { in GetSVQ3Tag() 1757 if(!p_fmt->i_extra && p_obj) in mp4mux_CanMux() [all …]
|