Home
last modified time | relevance | path

Searched refs:p_extra (Results 1 – 25 of 136) sorted by relevance

123456

/dports/multimedia/vlc/vlc-3.0.16/modules/codec/
H A Doggspots.c200 const uint8_t* p_extra; in ProcessHeader() local
210 p_extra = p_dec->fmt_in.p_extra; in ProcessHeader()
213 if ( memcmp(p_extra, "SPOTS\0\0", 8) ) { in ProcessHeader()
225 i_granulerate_numerator = GetQWLE(&p_extra[12]); in ProcessHeader()
246 if ( memcmp(&p_extra[32], "PNG", 3) && memcmp(&p_extra[32], "JPEG", 4) ) { in ProcessHeader()
257 GetWLE(&p_extra[40]); in ProcessHeader()
259 GetWLE(&p_extra[42]); in ProcessHeader()
270 void* p_extra = realloc(p_dec->fmt_out.p_extra, in ProcessHeader() local
272 if (unlikely(p_extra == NULL)) { in ProcessHeader()
275 p_dec->fmt_out.p_extra = p_extra; in ProcessHeader()
[all …]
H A Dhxxx_helper.c419 hxxx_extra_isannexb(const void *p_extra, size_t i_extra) in hxxx_extra_isannexb() argument
426 h264_helper_set_extra(struct hxxx_helper *hh, const void *p_extra, in h264_helper_set_extra() argument
429 if (h264_isavcC(p_extra, i_extra)) in h264_helper_set_extra()
448 return helper_process_avcC_h264(hh, p_extra, i_extra); in h264_helper_set_extra()
450 else if (hxxx_extra_isannexb(p_extra, i_extra)) in h264_helper_set_extra()
504 if (hevc_ishvcC(p_extra, i_extra)) in hevc_helper_set_extra()
506 hh->i_nal_length_size = hevc_getNALLengthSize(p_extra); in hevc_helper_set_extra()
511 return helper_process_hvcC_hevc( hh, p_extra, i_extra ); in hevc_helper_set_extra()
513 else if (hxxx_extra_isannexb(p_extra, i_extra)) in hevc_helper_set_extra()
635 i_ret = h264_helper_set_extra(hh, p_extra, i_extra); in hxxx_helper_set_extra()
[all …]
H A Dspeex.c373 if( !p_dec->fmt_in.p_extra ) in DecodeBlock()
453 void* p_extra = realloc( p_dec->fmt_out.p_extra, in ProcessHeaders() local
455 if( unlikely( p_extra == NULL ) ) in ProcessHeaders()
459 p_dec->fmt_out.p_extra = p_extra; in ProcessHeaders()
461 memcpy( p_dec->fmt_out.p_extra, in ProcessHeaders()
976 uint8_t *p_extra; in OpenEncoder() local
1073 p_extra = p_enc->fmt_out.p_extra = xmalloc( p_enc->fmt_out.i_extra ); in OpenEncoder()
1076 *(p_extra++) = pi_header[i] >> 8; in OpenEncoder()
1077 *(p_extra++) = pi_header[i] & 0xFF; in OpenEncoder()
1078 memcpy( p_extra, pp_header[i], pi_header[i] ); in OpenEncoder()
[all …]
H A Dx265.c218 uint8_t *p_extra = p_enc->fmt_out.p_extra = malloc(i_extra); in Open() local
219 if (!p_extra) { in Open()
225 memcpy(p_extra, nal[i].payload, nal[i].sizeBytes); in Open()
226 p_extra += nal[i].sizeBytes; in Open()
H A Ddaala.c288 p_dec->fmt_in.i_extra, p_dec->fmt_in.p_extra) ) in ProcessHeaders()
397 void* p_extra = realloc( p_dec->fmt_out.p_extra, in ProcessHeaders() local
399 if( unlikely( p_extra == NULL ) ) in ProcessHeaders()
404 p_dec->fmt_out.p_extra = p_extra; in ProcessHeaders()
406 memcpy( p_dec->fmt_out.p_extra, in ProcessHeaders()
407 p_dec->fmt_in.p_extra, p_dec->fmt_out.i_extra ); in ProcessHeaders()
711 &p_enc->fmt_out.p_extra, header.bytes, in OpenEncoder()
715 p_enc->fmt_out.p_extra = NULL; in OpenEncoder()
H A Dopus.c262 uint8_t *p_extra = p_dec->fmt_in.p_extra; in ProcessHeaders() local
267 (i_extra > 10 && memcmp( &p_extra[2], "OpusHead", 8 )) ) /* Borked muxers */ in ProcessHeaders()
272 if( opus_write_header( &p_extra, &i_extra, &header, in ProcessHeaders()
279 i_extra, p_extra ) ) in ProcessHeaders()
282 free( p_extra ); in ProcessHeaders()
289 free( p_extra ); in ProcessHeaders()
307 free( p_extra ); in ProcessHeaders()
707 if (opus_write_header((uint8_t **) &enc->fmt_out.p_extra, in OpenEncoder()
H A Dvorbis.c361 p_dec->fmt_in.i_extra, p_dec->fmt_in.p_extra) ) in ProcessHeaders()
432 void* p_extra = realloc( p_dec->fmt_out.p_extra, in ProcessHeaders() local
434 if( unlikely( p_extra == NULL ) ) in ProcessHeaders()
438 p_dec->fmt_out.p_extra = p_extra; in ProcessHeaders()
440 memcpy( p_dec->fmt_out.p_extra, in ProcessHeaders()
441 p_dec->fmt_in.p_extra, p_dec->fmt_out.i_extra ); in ProcessHeaders()
859 if( xiph_AppendHeaders( &p_enc->fmt_out.i_extra, &p_enc->fmt_out.p_extra, in OpenEncoder()
863 p_enc->fmt_out.p_extra = NULL; in OpenEncoder()
H A Dopus_header.c374 int opus_write_header(uint8_t **p_extra, int *i_extra, OpusHeader *header, const char *vendor) in opus_write_header() argument
407 *p_extra = NULL; in opus_write_header()
411 if (xiph_AppendHeaders(i_extra, (void **) p_extra, size[i], data[i])) in opus_write_header()
414 free(*p_extra); in opus_write_header()
415 *p_extra = NULL; in opus_write_header()
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/
H A Dxiph.h43 static inline unsigned xiph_CountLavcHeaders(const void *p_extra, unsigned i_extra) in xiph_CountLavcHeaders() argument
45 const uint8_t *p = (const uint8_t*) p_extra; in xiph_CountLavcHeaders()
60 static inline unsigned xiph_CountHeaders(const void *p_extra, unsigned i_extra) in xiph_CountHeaders() argument
62 const uint8_t *p = (const uint8_t*) p_extra; in xiph_CountHeaders()
74 if (xiph_IsLavcFormat(p_extra, i_extra, i_codec)) in xiph_CountUnknownHeaders()
75 return xiph_CountLavcHeaders(p_extra, i_extra); in xiph_CountUnknownHeaders()
77 return xiph_CountHeaders(p_extra, i_extra); in xiph_CountUnknownHeaders()
82 unsigned i_extra, const void *p_extra) in xiph_SplitLavcHeaders() argument
84 const uint8_t *current = (const uint8_t *)p_extra; in xiph_SplitLavcHeaders()
109 unsigned i_extra, const void *p_extra) in xiph_SplitHeaders() argument
[all …]
H A Dcaf.c553 p_sys->fmt.p_extra = malloc( i_extra ); in ProcessALACCookie()
555 if( !p_sys->fmt.p_extra ) in ProcessALACCookie()
558 uint8_t *p_extra = ( uint8_t * )p_sys->fmt.p_extra; in ProcessALACCookie() local
562 SetDWBE( p_extra, 36 ); in ProcessALACCookie()
563 memcpy( p_extra + 4, "alac", 4 ); in ProcessALACCookie()
564 SetDWBE( p_extra + 8, 0 ); in ProcessALACCookie()
565 memcpy( p_extra + 12, p, 24 ); in ProcessALACCookie()
684 if( !p_sys->fmt.p_extra ) in ProcessAACCookie()
726 if( !p_sys->fmt.p_extra ) in ReadKukiChunk()
914 free( p_sys->fmt.p_extra ); in Open()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/mp4/
H A Dessetup.c484 memcpy( p_track->fmt.p_extra, in SetupVideoES()
501 if( p_track->fmt.p_extra ) in SetupVideoES()
542 if( p_track->fmt.p_extra ) in SetupVideoES()
591 if( p_track->fmt.p_extra ) in SetupVideoES()
706 memcpy( p_track->fmt.p_extra, BOXDATA(p_strf)->p_extra, in SetupVideoES()
729 p_track->fmt.p_extra = in SetupVideoES()
758 memcpy( p_fmt->p_extra, BOXDATA(p_WMA2)->p_extra, p_fmt->i_extra ); in SetupAudioFromWaveFormatEx()
910 if( p_extra ) in SetupAudioES()
913 p_track->fmt.p_extra = p_extra; in SetupAudioES()
933 if( likely( p_extra ) ) in SetupAudioES()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/access/
H A Dlive555.cpp978 memcpy( tk->fmt.p_extra, p_extra, i_extra ); in SessionsSetup()
979 delete[] p_extra; in SessionsSetup()
998 memcpy( tk->fmt.p_extra, p_extra, i_extra ); in SessionsSetup()
999 delete[] p_extra; in SessionsSetup()
1028 tk->fmt.p_extra = p_extra; in SessionsSetup()
1069 memcpy( tk->fmt.p_extra, p_extra, i_extra ); in SessionsSetup()
1071 delete[] p_extra; in SessionsSetup()
1124 memcpy( tk->fmt.p_extra, p_extra, i_extra ); in SessionsSetup()
1180 tk->fmt.p_extra = p_extra; in SessionsSetup()
2388 uint8_t *p_extra = NULL; in parseVorbisConfigStr() local
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/adaptive/plumbing/
H A DFakeESOutID.cpp98 return !!memcmp(fmt.p_extra, p_other->fmt.p_extra, fmt.i_extra); in isCompatible()
111 memcmp(fmt.p_extra, p_other->fmt.p_extra, fmt.i_extra))) in isCompatible()
/dports/multimedia/vlc/vlc-3.0.16/modules/packetizer/
H A Dflac.c117 char *p_extra = p_dec->fmt_in.p_extra; in ProcessHeader() local
119 if (i_extra > 8 && !memcmp(p_extra, "fLaC", 4)) { in ProcessHeader()
121 p_extra += 8; in ProcessHeader()
127 FLAC_ParseStreamInfo( (uint8_t *) p_extra, &p_sys->stream_info ); in ProcessHeader()
132 free(p_dec->fmt_out.p_extra); in ProcessHeader()
133 p_dec->fmt_out.p_extra = malloc(i_extra); in ProcessHeader()
134 if (p_dec->fmt_out.p_extra) in ProcessHeader()
135 memcpy(p_dec->fmt_out.p_extra, p_extra, i_extra); in ProcessHeader()
H A Dmpeg4audio.c270 bs_init(&s, p_dec->fmt_in.p_extra, p_dec->fmt_in.i_extra); in set_category()
285 p_dec->fmt_out.p_extra = malloc(p_dec->fmt_in.i_extra); in set_category()
286 if (!p_dec->fmt_out.p_extra) in set_category()
289 memcpy(p_dec->fmt_out.p_extra, p_dec->fmt_in.p_extra, in set_category()
433 p_dec->fmt_out.p_extra = malloc(2); in ADTSSyncInfo()
434 if (!p_dec->fmt_out.p_extra) { in ADTSSyncInfo()
439 ((uint8_t *)p_dec->fmt_out.p_extra)[0] = in ADTSSyncInfo()
441 ((uint8_t *)p_dec->fmt_out.p_extra)[1] = in ADTSSyncInfo()
834 free(p_dec->fmt_out.p_extra); in LOASParse()
835 p_dec->fmt_out.p_extra = malloc(st->i_extra); in LOASParse()
[all …]
H A Dvc1.c182 uint8_t *p_extra = p_dec->fmt_out.p_extra; in Open() local
185 if( p_extra[0] != 0x00 ) in Open()
187 memmove( &p_extra[0], &p_extra[1], p_dec->fmt_out.i_extra - 1 ); in Open()
194 p_dec->fmt_out.p_extra, p_dec->fmt_out.i_extra ); in Open()
328 p_es->p_extra = xrealloc( p_es->p_extra, p_es->i_extra ); in BuildExtraData()
330 memcpy( p_es->p_extra, in BuildExtraData()
332 memcpy( (uint8_t*)p_es->p_extra + p_sys->sh.p_sh->i_buffer, in BuildExtraData()
/dports/editors/neovim/neovim-0.6.1/src/nvim/
H A Dchange.c1025 p = skipwhite(p_extra); in open_line()
1029 saved_char = *p_extra; in open_line()
1030 *p_extra = NUL; in open_line()
1545 if (p_extra != NULL) { in open_line()
1557 while ((*p_extra == ' ' || *p_extra == '\t') in open_line()
1560 replace_push(*p_extra); in open_line()
1562 p_extra++; in open_line()
1571 if (p_extra == NULL) { in open_line()
1591 STRCAT(leader, p_extra); in open_line()
1592 p_extra = leader; in open_line()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/mkv/
H A Dmatroska_segment_parse.cpp56 if( unlikely( !p_tk->fmt.p_extra ) ) return; in fill_extra_data_alac()
58 uint8_t *p_extra = static_cast<uint8_t*>( p_tk->fmt.p_extra ); in fill_extra_data_alac() local
61 SetDWBE( p_extra, p_tk->fmt.i_extra ); in fill_extra_data_alac()
62 memcpy( p_extra + 4, "alac", 4 ); in fill_extra_data_alac()
63 SetDWBE( p_extra + 8, 0 ); in fill_extra_data_alac()
1636 p_extra[0] == 0 && (p_extra[1] != 0 || p_extra[2] > 1) ) in TrackInit()
1641 p_extra[0] = 0x01; in TrackInit()
1726 if( p_tk->fmt.p_extra ) in TrackInit()
1834 &vars.p_fmt->p_extra, in TrackInit()
1916 uint8_t *p_extra = (uint8_t*)p_fmt->p_extra; in TrackInit() local
[all …]
/dports/editors/vim/vim-8.2.3745/src/
H A Dchange.c1455 saved_char = *p_extra; in open_line()
1456 *p_extra = NUL; in open_line()
1730 || (p_extra == NULL in open_line()
2034 if (p_extra != NULL) in open_line()
2047 while ((*p_extra == ' ' || *p_extra == '\t') in open_line()
2053 ++p_extra; in open_line()
2062 if (p_extra == NULL) in open_line()
2084 STRCAT(leader, p_extra); in open_line()
2085 p_extra = leader; in open_line()
2276 if (p_extra == NULL) in open_line()
[all …]
H A Ddrawline.c1154 for (p_extra = extra; *p_extra == ' '; ++p_extra) in win_line()
1155 *p_extra = '-'; in win_line()
1173 p_extra = extra; in win_line()
1661 c = *p_extra; in win_line()
1715 --p_extra; in win_line()
1723 ++p_extra; in win_line()
1790 p_extra = extra; in win_line()
1791 c = *p_extra; in win_line()
2374 c = *p_extra; in win_line()
2377 STRNCPY(p, p_extra + 1, STRLEN(p_extra) - 1); in win_line()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/smooth/playlist/
H A DForgedInitSegment.cpp243 trackinfo.fmt.p_extra = malloc(i_extradata); in buildMoovBox()
244 if(trackinfo.fmt.p_extra) in buildMoovBox()
246 memcpy(trackinfo.fmt.p_extra, extradata, i_extradata); in buildMoovBox()
261 trackinfo.fmt.p_extra = malloc(i_extradata); in buildMoovBox()
262 if(trackinfo.fmt.p_extra) in buildMoovBox()
264 memcpy(trackinfo.fmt.p_extra, extradata, i_extradata); in buildMoovBox()
/dports/games/ags/ags_linux_v.3.4.4.1/Common/gui/
H A Dguiobject.h60 virtual int IsOverControl(int p_x, int p_y, int p_extra) { in IsOverControl()
61 if ((p_x >= x) && (p_y >= y) && (p_x < x + wid + p_extra) && (p_y < y + hit + p_extra)) in IsOverControl()
/dports/multimedia/vlc/vlc-3.0.16/src/misc/
H A Des_format.c454 fmt->p_extra = NULL; in es_format_Init()
484 assert(src->p_extra != NULL); in es_format_Copy()
485 dst->p_extra = malloc( src->i_extra ); in es_format_Copy()
487 if( likely(dst->p_extra != NULL) ) in es_format_Copy()
488 memcpy(dst->p_extra, src->p_extra, src->i_extra); in es_format_Copy()
496 dst->p_extra = NULL; in es_format_Copy()
546 assert(fmt->i_extra == 0 || fmt->p_extra != NULL); in es_format_Clean()
547 free(fmt->p_extra); in es_format_Clean()
/dports/multimedia/vlc/vlc-3.0.16/modules/demux/avformat/
H A Ddemux.c575 const uint8_t *p_extra = cp->extradata; in avformat_OpenDemux() local
588 pp_data[i_count] = &p_extra[2]; in avformat_OpenDemux()
592 p_extra += 2 + pi_size[i_count]; in avformat_OpenDemux()
599 es_fmt.p_extra = NULL; in avformat_OpenDemux()
612 pp_data[0] = p_extra; in avformat_OpenDemux()
621 es_fmt.p_extra = NULL; in avformat_OpenDemux()
638 pp_data[0] = p_extra; in avformat_OpenDemux()
647 es_fmt.p_extra = NULL; in avformat_OpenDemux()
652 es_fmt.p_extra = malloc( i_extra ); in avformat_OpenDemux()
653 if( es_fmt.p_extra ) in avformat_OpenDemux()
[all …]
/dports/multimedia/bitstream/bitstream-1.5/mpeg/psi/
H A Ddesc_26.h239 const uint8_t *p_extra = NULL; in desc26_print() local
248 p_extra = desc26_get_decoder_config(p_desc, &i_extra_length); in desc26_print()
252 p_extra = desc26_get_dec_config_identification_record(p_desc, &i_extra_length); in desc26_print()
255 sprintf(psz_extra + 2 * i, "%02x", p_extra[i]); in desc26_print()

123456