HomeSort by relevance Sort by last modified time
    Searched refs:frame_size (Results 1 - 25 of 248) sorted by null

1 2 3 4 5 6 7 8 910

  /external/libvpx/libvpx/
ivfdec.c 75 size_t frame_size = 0; local
81 frame_size = mem_get_le32(raw_header);
83 if (frame_size > 256 * 1024 * 1024) {
84 warn("Read invalid frame size (%u)\n", (unsigned int)frame_size);
85 frame_size = 0;
88 if (frame_size > *buffer_size) {
89 uint8_t *new_buffer = realloc(*buffer, 2 * frame_size);
93 *buffer_size = 2 * frame_size;
96 frame_size = 0;
102 if (fread(*buffer, 1, frame_size, infile) != frame_size)
    [all...]
ivfenc.h 27 void ivf_write_frame_header(FILE *outfile, int64_t pts, size_t frame_size);
29 void ivf_write_frame_size(FILE *outfile, size_t frame_size);
ivfenc.c 39 void ivf_write_frame_header(FILE *outfile, int64_t pts, size_t frame_size) {
42 mem_put_le32(header, (int)frame_size);
48 void ivf_write_frame_size(FILE *outfile, size_t frame_size) {
51 mem_put_le32(header, (int)frame_size);
video_reader.c 26 size_t frame_size; member in struct:VpxVideoReaderStruct
68 return !ivf_read_frame(reader->file, &reader->buffer, &reader->frame_size,
75 *size = reader->frame_size;
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
ivfdec.c 75 size_t frame_size = 0; local
81 frame_size = mem_get_le32(raw_header);
83 if (frame_size > 256 * 1024 * 1024) {
84 warn("Read invalid frame size (%u)\n", (unsigned int)frame_size);
85 frame_size = 0;
88 if (frame_size > *buffer_size) {
89 uint8_t *new_buffer = realloc(*buffer, 2 * frame_size);
93 *buffer_size = 2 * frame_size;
96 frame_size = 0;
102 if (fread(*buffer, 1, frame_size, infile) != frame_size)
    [all...]
ivfenc.h 27 void ivf_write_frame_header(FILE *outfile, int64_t pts, size_t frame_size);
29 void ivf_write_frame_size(FILE *outfile, size_t frame_size);
ivfenc.c 39 void ivf_write_frame_header(FILE *outfile, int64_t pts, size_t frame_size) {
42 mem_put_le32(header, (int)frame_size);
48 void ivf_write_frame_size(FILE *outfile, size_t frame_size) {
51 mem_put_le32(header, (int)frame_size);
  /external/speex/include/speex/
speex_stereo.h 72 void speex_encode_stereo(float *data, int frame_size, SpeexBits *bits);
75 void speex_encode_stereo_int(spx_int16_t *data, int frame_size, SpeexBits *bits);
78 void speex_decode_stereo(float *data, int frame_size, SpeexStereoState *stereo);
81 void speex_decode_stereo_int(spx_int16_t *data, int frame_size, SpeexStereoState *stereo);
  /external/speex/libspeex/
scal.c 60 int frame_size; member in struct:SpeexDecorrState_
81 EXPORT SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size)
87 st->frame_size = frame_size;
89 st->psy = vorbis_psy_init(rate, 2*frame_size);
90 spx_drft_init(&st->lookup, 2*frame_size);
91 st->wola_mem = speex_alloc(frame_size*sizeof(float));
92 st->curve = speex_alloc(frame_size*sizeof(float));
94 st->y = speex_alloc(frame_size*sizeof(float));
96 st->buff = speex_alloc(channels*2*frame_size*sizeof(float))
    [all...]
mdf.c 133 int frame_size; /**< Number of samples processed each time */ member in struct:SpeexEchoState_
402 EXPORT SpeexEchoState *speex_echo_state_init(int frame_size, int filter_length)
404 return speex_echo_state_init_mc(frame_size, filter_length, 1, 1);
407 EXPORT SpeexEchoState *speex_echo_state_init_mc(int frame_size, int filter_length, int nb_mic, int nb_speakers)
424 st->frame_size = frame_size;
425 st->window_size = 2*frame_size;
427 M = st->M = (filter_length+st->frame_size-1)/frame_size;
434 st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate)
    [all...]
  /external/libvpx/libvpx/vpx_scale/generic/
yv12config.c 60 const int frame_size = yplane_size + 2 * uvplane_size; local
63 ybf->buffer_alloc = (uint8_t *)vpx_memalign(32, frame_size);
64 ybf->buffer_alloc_sz = frame_size;
67 if (!ybf->buffer_alloc || ybf->buffer_alloc_sz < frame_size)
95 ybf->frame_size = frame_size;
172 const uint64_t frame_size = (1 + use_highbitdepth) * local
175 const uint64_t frame_size = yplane_size + 2 * uvplane_size + local
180 const uint64_t frame_size = local
183 const uint64_t frame_size = yplane_size + 2 * uvplane_size local
    [all...]
  /device/moto/shamu/camera/QCamera/HAL/core/inc/
QCameraHWI_Mem.h 47 int frame_size,
72 int frame_size,
81 int frame_size, int cbcr_offset,
97 int frame_size, int cbcr_offset,
  /frameworks/av/media/libstagefright/codecs/mp3dec/test/
mp3reader.cpp 41 uint32_t header, size_t *frame_size,
44 *frame_size = 0;
123 *frame_size = (12000 * bitrate / sampling_rate + padding) * 4;
169 *frame_size = 144000 * bitrate / sampling_rate + padding;
173 *frame_size = tmp * bitrate / sampling_rate + padding;
293 size_t frame_size; local
296 header, &frame_size,
307 off64_t test_pos = pos + frame_size;
370 size_t frame_size; local
371 return parseHeader(header, &frame_size, &mSampleRate
378 size_t frame_size; local
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
vp8_decrypt_test.cc 56 vpx_codec_err_t res = decoder.DecodeFrame(video.cxdata(), video.frame_size());
63 std::vector<uint8_t> encrypted(video.frame_size());
64 encrypt_buffer(video.cxdata(), &encrypted[0], video.frame_size(), 0);
69 res = decoder.DecodeFrame(video.cxdata(), video.frame_size());
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/generic/
yv12config.c 62 const int frame_size = yplane_size + 2 * uvplane_size; local
65 ybf->buffer_alloc = (uint8_t *)vpx_memalign(32, frame_size);
66 ybf->buffer_alloc_sz = frame_size;
69 if (!ybf->buffer_alloc || ybf->buffer_alloc_sz < frame_size)
95 ybf->frame_size = frame_size;
164 int frame_size = yplane_size + 2 * uvplane_size + local
167 int frame_size = yplane_size + 2 * uvplane_size; local
171 const size_t external_frame_size = frame_size + align_addr_extra_size;
209 frame_size = yplane_size + 2 * uvplane_size
    [all...]
  /hardware/intel/img/psb_headers/DRM/cc54/inc/
pr_drm_api.h 27 uint32_t frame_size; member in struct:drm_nalu_headers
  /device/moto/shamu/camera/QCamera/HAL/core/src/
QCameraHWI_Mem.cpp 55 int frame_size,
66 int frame_size,
70 mFrameSize(frame_size),
95 int frame_size,
99 frame_size,
106 num_buffers, frame_size, buffer_size);
119 int frame_size,
  /external/libopus/celt/
opus_custom_demo.c 51 opus_int32 frame_size, channels, rate; local
72 frame_size = atoi(argv[3]);
73 mode = opus_custom_mode_create(rate, frame_size, NULL);
128 in = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16));
129 out = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16));
134 err = fread(in, sizeof(short), frame_size*channels, fin);
137 len = opus_custom_encode(enc, in, frame_size, data, bytes_per_packet);
168 ret = opus_custom_decode(dec, NULL, len, out, frame_size);
170 ret = opus_custom_decode(dec, data, len, out, frame_size);
200 rmsd = sqrt(rmsd/(1.0*frame_size*channels*count))
    [all...]
  /external/libopus/include/
opus_custom.h 116 * @param [in] frame_size <tt>int</tt>: Number of samples (per channel) to encode in each
121 OPUS_CUSTOM_EXPORT OPUS_WARN_UNUSED_RESULT OpusCustomMode *opus_custom_mode_create(opus_int32 Fs, int frame_size, int *error);
193 * frame_size samples per channel.
194 * @param [in] frame_size <tt>int</tt>: Number of samples per frame of input signal
206 int frame_size,
214 * There must be exactly frame_size samples per channel.
215 * @param [in] frame_size <tt>int</tt>: Number of samples per frame of input signal
227 int frame_size,
299 * is frame_size*channels*sizeof(float)
300 * @param [in] frame_size Number of samples per channel of available space in *pcm
    [all...]
  /external/libopus/src/
opus_multistream_decoder.c 152 int frame_size
190 int frame_size,
204 /* Limit frame_size to avoid excessive stack allocations. */
206 frame_size = IMIN(frame_size, Fs/25*3);
207 ALLOC(buf, 2*frame_size, opus_val16);
231 } else if (ret > frame_size)
251 ret = opus_decode_native(dec, data, len, buf, frame_size, decode_fec, s!=st->layout.nb_streams-1, &packet_offset, soft_clip);
259 frame_size = ret;
268 buf, 2, frame_size);
    [all...]
opus_decoder.c 70 int frame_size; member in struct:OpusDecoder
139 st->frame_size = Fs/400;
205 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec)
241 if (frame_size < F2_5)
246 /* Limit frame_size to avoid excessive stack allocations. */
247 frame_size = IMIN(frame_size, st->Fs/25*3);
253 frame_size = IMIN(frame_size, st->frame_size);
    [all...]
  /art/runtime/arch/
context.h 42 static uintptr_t* CalleeSaveAddress(uint8_t* frame, int num, size_t frame_size) {
44 uint8_t* save_addr = frame + frame_size - ((num + 1) * sizeof(void*));
  /external/libvpx/libvpx/examples/
simple_decoder.c 50 // (`frame`) and the length of the data (`frame_size`). No application data
130 size_t frame_size = 0; local
132 &frame_size);
133 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0))
  /external/libvpx/libvpx/test/
vp8_decrypt_test.cc 56 vpx_codec_err_t res = decoder.DecodeFrame(video.cxdata(), video.frame_size());
62 std::vector<uint8_t> encrypted(video.frame_size());
63 encrypt_buffer(video.cxdata(), &encrypted[0], video.frame_size(), 0);
vp9_decrypt_test.cc 56 vpx_codec_err_t res = decoder.DecodeFrame(video.cxdata(), video.frame_size());
62 std::vector<uint8_t> encrypted(video.frame_size());
63 encrypt_buffer(video.cxdata(), &encrypted[0], video.frame_size(), 0);

Completed in 385 milliseconds

1 2 3 4 5 6 7 8 910