Home
last modified time | relevance | path

Searched refs:aframe (Results 1 – 25 of 176) sorted by relevance

12345678

/dports/multimedia/gpac-mp4box/gpac-1.0.0/applications/deprecated/old_arch/dashcast/
H A Daudio_encoder.c38 audio_output_file->aframe = FF_ALLOC_FRAME(); in dc_audio_encoder_open()
41 audio_output_file->aframe->channels = -1; in dc_audio_encoder_open()
44 audio_output_file->aframe->channel_layout = 0; in dc_audio_encoder_open()
45 audio_output_file->aframe->sample_rate = -1; in dc_audio_encoder_open()
47 audio_output_file->aframe->format = -1; in dc_audio_encoder_open()
99 av_frame_unref(audio_output_file->aframe); in dc_audio_encoder_open()
217 …put, audio_output_file->aframe->nb_samples, (const uint8_t **)audio_output_file->aframe->extended_… in resample_audio()
222 audio_output_file->aframe->extended_data = output; in resample_audio()
253 audio_output_file->aframe->linesize[1] = 0; in dc_audio_encoder_encode()
289 data = audio_output_file->aframe->extended_data; in dc_audio_encoder_encode()
[all …]
H A Daudio_decoder.c186 …utput, audio_input_data->aframe->nb_samples, (const uint8_t **)audio_input_data->aframe->extended_… in resample_audio()
242 avcodec_get_frame_defaults(audio_input_data->aframe); in dc_audio_decoder_read()
244 av_frame_unref(audio_input_data->aframe); in dc_audio_decoder_read()
277 avcodec_get_frame_defaults(audio_input_data->aframe); in dc_audio_decoder_read()
279 av_frame_unref(audio_input_data->aframe); in dc_audio_decoder_read()
291 if (audio_input_data->aframe->pts != AV_NOPTS_VALUE) in dc_audio_decoder_read()
313 int num_channels = audio_input_data->aframe->channels; in dc_audio_decoder_read()
315 if (!audio_input_data->aframe->channel_layout) { in dc_audio_decoder_read()
316 if (audio_input_data->aframe->channels == 2) { in dc_audio_decoder_read()
355 data = audio_input_data->aframe->extended_data; in dc_audio_decoder_read()
[all …]
/dports/multimedia/gpac-libgpac/gpac-1.0.0/applications/deprecated/old_arch/dashcast/
H A Daudio_encoder.c38 audio_output_file->aframe = FF_ALLOC_FRAME(); in dc_audio_encoder_open()
41 audio_output_file->aframe->channels = -1; in dc_audio_encoder_open()
44 audio_output_file->aframe->channel_layout = 0; in dc_audio_encoder_open()
45 audio_output_file->aframe->sample_rate = -1; in dc_audio_encoder_open()
47 audio_output_file->aframe->format = -1; in dc_audio_encoder_open()
99 av_frame_unref(audio_output_file->aframe); in dc_audio_encoder_open()
217 …put, audio_output_file->aframe->nb_samples, (const uint8_t **)audio_output_file->aframe->extended_… in resample_audio()
222 audio_output_file->aframe->extended_data = output; in resample_audio()
253 audio_output_file->aframe->linesize[1] = 0; in dc_audio_encoder_encode()
289 data = audio_output_file->aframe->extended_data; in dc_audio_encoder_encode()
[all …]
H A Daudio_decoder.c186 …utput, audio_input_data->aframe->nb_samples, (const uint8_t **)audio_input_data->aframe->extended_… in resample_audio()
242 avcodec_get_frame_defaults(audio_input_data->aframe); in dc_audio_decoder_read()
244 av_frame_unref(audio_input_data->aframe); in dc_audio_decoder_read()
277 avcodec_get_frame_defaults(audio_input_data->aframe); in dc_audio_decoder_read()
279 av_frame_unref(audio_input_data->aframe); in dc_audio_decoder_read()
291 if (audio_input_data->aframe->pts != AV_NOPTS_VALUE) in dc_audio_decoder_read()
313 int num_channels = audio_input_data->aframe->channels; in dc_audio_decoder_read()
315 if (!audio_input_data->aframe->channel_layout) { in dc_audio_decoder_read()
316 if (audio_input_data->aframe->channels == 2) { in dc_audio_decoder_read()
355 data = audio_input_data->aframe->extended_data; in dc_audio_decoder_read()
[all …]
/dports/multimedia/transcode/transcode-1.1.7/tools/
H A Drawsource.c56 aframe_list_t *aframe; member
67 .aframe = NULL,
133 if (abytes > rawsource.aframe->audio_size) { in rawsource_read_audio()
140 rawsource.im_para.buffer = rawsource.aframe->audio_buf; in rawsource_read_audio()
152 rawsource.aframe->audio_size = rawsource.im_para.size; in rawsource_read_audio()
155 raw_buffer.aptr = rawsource.aframe; in rawsource_read_audio()
182 if (!rawsource.aframe) { in tc_rawsource_open()
225 tc_del_audio_frame(rawsource.aframe); in tc_rawsource_open()
238 if (rawsource.aframe != NULL) { in tc_rawsource_free()
239 tc_del_audio_frame(rawsource.aframe); in tc_rawsource_free()
[all …]
/dports/multimedia/obs-studio/obs-studio-27.1.3/plugins/obs-ffmpeg/
H A Dobs-ffmpeg-audio-encoders.c47 AVFrame *aframe; member
128 if (enc->aframe) in enc_destroy()
129 av_frame_free(&enc->aframe); in enc_destroy()
139 enc->aframe = av_frame_alloc(); in initialize_codec()
140 if (!enc->aframe) { in initialize_codec()
155 enc->aframe->format = enc->context->sample_fmt; in initialize_codec()
156 enc->aframe->channels = enc->context->channels; in initialize_codec()
158 enc->aframe->sample_rate = enc->context->sample_rate; in initialize_codec()
302 enc->aframe->nb_samples = enc->frame_size; in do_encode()
303 enc->aframe->pts = av_rescale_q( in do_encode()
[all …]
/dports/multimedia/transcode/transcode-1.1.7/import/nuv/
H A Dimport_nuv.c348 if (aframe) { in nuv_demultiplex()
352 aframe->audio_size = audiolen; in nuv_demultiplex()
356 int16_t *out = (int16_t *)aframe->audio_buf; in nuv_demultiplex()
375 aframe->audio_size = outpos*2; in nuv_demultiplex()
377 aframe->a_rate = NUV_ARATE; in nuv_demultiplex()
378 aframe->a_bits = 16; in nuv_demultiplex()
379 aframe->a_chan = 2; in nuv_demultiplex()
665 aframe_list_t aframe; variable
666 aframe.audio_buf = param->buffer;
667 if (nuv_demultiplex(mod, NULL, &aframe) < 0)
[all …]
/dports/multimedia/tstools/tstools-1.11/
H A Desmerge.c213 audio_frame_p aframe; in merge_with_avs() local
308 err = read_next_audio_frame(audio_file,audio_type,&aframe); in merge_with_avs()
327 err = write_ES_as_TS_PES_packet_with_pts_dts(output,aframe->data, in merge_with_avs()
328 aframe->data_len, in merge_with_avs()
335 free_audio_frame(&aframe); in merge_with_avs()
339 free_audio_frame(&aframe); in merge_with_avs()
449 audio_frame_p aframe; in merge_with_h264() local
532 err = read_next_audio_frame(audio_file,audio_type,&aframe); in merge_with_h264()
552 aframe->data_len, in merge_with_h264()
559 free_audio_frame(&aframe); in merge_with_h264()
[all …]
/dports/audio/csound/csound-6.15.0/Opcodes/cuda/
H A Dpvsopsf.cu236 __global__ void topvs(float* aframe, float* oldph, in topvs() argument
241 float re = aframe[i], im = aframe[i+1]; in topvs()
246 aframe[i] = mag; in topvs()
247 aframe[i+1] = (float) ((modTwoPi(delta) + k*scal)*fac); in topvs()
253 aframe2[(k+offset)%N] = win[k]*aframe[k]; in rotatewin()
261 float *aframe; /* N */ member
321 cudaMalloc(&p->aframe, size); in pvanalset()
396 float *aframe = p->aframe; in pvanalperf() local
400 cudaMemcpy(aframe,cur,N*sizeof(float), in pvanalperf()
403 rotatewin<<<p->nblocks,p->nthreads>>>(aframe2,aframe,win,N, in pvanalperf()
[all …]
H A Dpvsops.cu238 __global__ void topvs(float* aframe, double* oldph, in topvs() argument
243 float re = aframe[i], im = aframe[i+1]; in topvs()
248 aframe[i] = mag; in topvs()
249 aframe[i+1] = (float) ((modTwoPi(delta) + k*scal)*fac); in topvs()
255 aframe2[(k+offset)%N] = win[k]*aframe[k]; in rotatewin()
263 float *aframe; /* N */ member
323 cudaMalloc(&p->aframe, size); in pvanalset()
398 float *aframe = p->aframe; in pvanalperf() local
402 cudaMemcpy(aframe,cur,N*sizeof(float), in pvanalperf()
405 rotatewin<<<p->nblocks,p->nthreads>>>(aframe2,aframe,win,N, in pvanalperf()
[all …]
H A Dpvsops2.cu241 __global__ void topvs(float *fsig, float *aframe, double* oldph, in topvs() argument
245 float re = aframe[i], im = aframe[i+1]; in topvs()
254 __global__ void rotatewin(float* aframe2, float *aframe, float *win, in rotatewin() argument
257 aframe2[(k+offset)%N] = win[k]*aframe[k]; in rotatewin()
265 float *aframe; /* N */ member
325 cudaMalloc(&p->aframe, size); in pvanalset()
399 float *aframe = p->aframe; in pvanalperf() local
402 cudaMemcpy(aframe,cur,N*sizeof(float), in pvanalperf()
405 rotatewin<<<p->nblocks,p->nthreads>>>(aframe2,aframe,win,N, in pvanalperf()
429 cudaFree(p->aframe); in destroy_pvanal()
/dports/graphics/digikam/digikam-7.4.0/core/libs/video/manager/
H A Dvidslidetask.cpp108 AudioFrame aframe = nextAudioFrame(aenc->audioFormat()); in encodeFrame() local
116 if (aenc->encode(aframe)) in encodeFrame()
216 AudioFrame aframe = adec->frame(); in nextAudioFrame() local
218 if (aframe.format() != afmt) in nextAudioFrame()
221 qCDebug(DIGIKAM_GENERAL_LOG) << "current format =" << aframe.format(); in nextAudioFrame()
228 aframe = aframe.to(afmt); in nextAudioFrame()
231 return aframe; in nextAudioFrame()
/dports/multimedia/transcode/transcode-1.1.7/import/
H A Dimport_pv3.c681 if (aframe) { in pv3_demultiplex()
685 aframe->a_rate = pd->framebuf[12] << 24 in pv3_demultiplex()
691 aframe->a_rate = pd->framebuf[ 8] << 24 in pv3_demultiplex()
697 aframe->a_bits = 16; in pv3_demultiplex()
698 aframe->a_chan = 2; in pv3_demultiplex()
702 memset(aframe->audio_buf, 0, aframe->audio_size); in pv3_demultiplex()
704 aframe->a_codec = TC_CODEC_PCM; in pv3_demultiplex()
948 aframe_list_t aframe; variable
949 aframe.audio_buf = param->buffer;
950 if (pv3_demultiplex(mod, NULL, &aframe) < 0)
[all …]
/dports/multimedia/replex/replex-0.1.6.8/
H A Dreplex.c207 if (!aframe->set){ in analyze_audio_loop()
234 aframe->set = 0; in analyze_audio_loop()
239 if (aframe->set && *first) in analyze_audio_loop()
275 if (aframe->set){ in analyze_audio_loop()
483 c += aframe->framesize; in analyze_audio_loop()
494 audio_frame_t *aframe = NULL; in analyze_audio() local
534 aframe = &rx->aframe[num]; in analyze_audio()
1007 if (!rx->aframe[l].set) in es_out()
1091 if (!rx->aframe[l].set) in pes_es_out()
1184 if (!rx->aframe[l].set) in avi_es_out()
[all …]
H A Delement.h137 uint64_t add_pts_audio(uint64_t pts, audio_frame_t *aframe, uint64_t frames);
139 int cfix_audio_count(audio_frame_t *aframe, uint64_t origpts, uint64_t pts);
140 void fix_audio_count(uint64_t *acount, audio_frame_t *aframe,
/dports/multimedia/transcode/transcode-1.1.7/multiplex/
H A Dmultiplex_raw.c160 vframe_list_t *vframe, aframe_list_t *aframe) in raw_multiplex() argument
177 if (aframe != NULL && aframe->audio_len > 0) { in raw_multiplex()
178 w_aud = tc_pwrite(pd->fd_aud, aframe->audio_buf, aframe->audio_len); in raw_multiplex()
H A Dmultiplex_avi.c134 vframe_list_t *vframe, aframe_list_t *aframe) in avi_multiplex() argument
160 if (aframe != NULL && aframe->audio_len > 0) { in avi_multiplex()
161 ret = AVI_write_audio(pd->avifile, (const char*)aframe->audio_buf, in avi_multiplex()
162 aframe->audio_len); in avi_multiplex()
H A Dmultiplex_null.c94 vframe_list_t *vframe, aframe_list_t *aframe) in null_multiplex() argument
104 if (aframe != NULL) { in null_multiplex()
105 asize = aframe->audio_len; in null_multiplex()
H A Dmultiplex_y4m.c269 vframe_list_t *vframe, aframe_list_t *aframe) in yw_multiplex() argument
296 if (aframe != NULL && aframe->audio_len > 0) { in yw_multiplex()
297 w_aud = wav_write_data(pd->wav, aframe->audio_buf, aframe->audio_len); in yw_multiplex()
298 if (w_aud != aframe->audio_len) { in yw_multiplex()
/dports/multimedia/transcode/transcode-1.1.7/libtc/
H A Dtcmodule-core.h151 aframe_list_t *aframe) in tc_module_multiplex() argument
153 return handle->klass->multiplex(&(handle->instance), vframe, aframe); in tc_module_multiplex()
161 aframe_list_t *aframe) in tc_module_demultiplex() argument
163 return handle->klass->demultiplex(&(handle->instance), vframe, aframe); in tc_module_demultiplex()
/dports/science/chrono/chrono-7.0.1/src/chrono/physics/
H A DChLinkMate.cpp136 ChFrame<> aframe = this->frame1 >> (*this->Body1); in Update() local
137 ChVector<> p1_abs = aframe.GetPos(); in Update()
165 mtempM(0, 0) = 0.5 * aframe.GetRot().e0(); in Update()
166 mtempM(1, 1) = 0.5 * aframe.GetRot().e0(); in Update()
167 mtempM(2, 2) = 0.5 * aframe.GetRot().e0(); in Update()
178 C(nc) = aframe.GetPos().x(); in Update()
186 C(nc) = aframe.GetPos().y(); in Update()
194 C(nc) = aframe.GetPos().z(); in Update()
202 C(nc) = aframe.GetRot().e1(); in Update()
210 C(nc) = aframe.GetRot().e2(); in Update()
[all …]
/dports/sysutils/cdrdao/cdrdao-1.2.4/dao/
H A DPQSubChannel16.h100 void aframe(int); // absolute time (QMODE1DATA)
101 int aframe() const;
H A DPWSubChannel96.h102 void aframe(int); // absolute time (QMODE1DATA)
103 int aframe() const;
/dports/devel/R-cran-pkgcache/pkgcache/tests/async/
H A Dtest-debug.R159 aframe <- utils::tail(which(res$async), 1) globalVar
160 expect_equal(res$def_id[aframe], id)
161 expect_equal(res$def_cb_type[aframe], "parent")
162 expect_equal(typeof(res$def_call[[aframe]]), "language")
/dports/games/uhexen2/hexen2source-1.5.9/utils/genmodel/
H A Dgenmodel.c323 daliasframe_t aframe; in ReadFrame() local
325 SafeRead (FH, &aframe, sizeof (aframe)); in ReadFrame()
329 memcpy (frames[framenum].name, aframe.name, sizeof(aframe.name)); in ReadFrame()
360 daliasframe_t aframe; in WriteFrame() local
365 memcpy (aframe.name, frames[framenum].name, sizeof(aframe.name)); in WriteFrame()
369 aframe.bboxmin.v[j] = 255; in WriteFrame()
370 aframe.bboxmax.v[j] = 0; in WriteFrame()
388 if (tarray[j].v[k] < aframe.bboxmin.v[k]) in WriteFrame()
390 aframe.bboxmin.v[k] = tarray[j].v[k]; in WriteFrame()
394 aframe.bboxmax.v[k] = tarray[j].v[k]; in WriteFrame()
[all …]

12345678