/external/chromium_org/third_party/libvpx/source/libvpx/ |
H A D | 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, infil [all...] |
H A D | 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);
|
H A D | ivfenc.c | 39 void ivf_write_frame_header(FILE *outfile, int64_t pts, size_t frame_size) { argument 42 mem_put_le32(header, (int)frame_size); 48 void ivf_write_frame_size(FILE *outfile, size_t frame_size) { argument 51 mem_put_le32(header, (int)frame_size);
|
/external/libvpx/libvpx/ |
H A D | 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, infil [all...] |
H A D | 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);
|
H A D | ivfenc.c | 39 void ivf_write_frame_header(FILE *outfile, int64_t pts, size_t frame_size) { argument 42 mem_put_le32(header, (int)frame_size); 48 void ivf_write_frame_size(FILE *outfile, size_t frame_size) { argument 51 mem_put_le32(header, (int)frame_size);
|
/external/chromium_org/third_party/speex/include/speex/ |
H A D | 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/include/speex/ |
H A D | 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/chromium_org/remoting/codec/ |
H A D | video_encoder_vpx_unittest.cc | 25 const webrtc::DesktopSize& frame_size) { 27 new webrtc::BasicDesktopFrame(frame_size)); 28 for (int x = 0; x < frame_size.width(); ++x) { 29 for (int y = 0; y < frame_size.height(); ++y) { 54 webrtc::DesktopSize frame_size(1024, 768); 55 scoped_ptr<webrtc::DesktopFrame> frame(CreateTestFrame(frame_size)); 57 webrtc::DesktopRect::MakeSize(frame_size)); 78 webrtc::DesktopSize frame_size(1024, 768); 79 scoped_ptr<webrtc::DesktopFrame> frame(CreateTestFrame(frame_size)); 81 webrtc::DesktopRect::MakeSize(frame_size)); 24 CreateTestFrame( const webrtc::DesktopSize& frame_size) argument [all...] |
/external/chromium_org/media/video/capture/ |
H A D | video_capture_types.cc | 16 VideoCaptureFormat::VideoCaptureFormat(const gfx::Size& frame_size, argument 19 : frame_size(frame_size), 24 return (frame_size.width() < media::limits::kMaxDimension) && 25 (frame_size.height() < media::limits::kMaxDimension) && 26 (frame_size.GetArea() >= 0) && 27 (frame_size.GetArea() < media::limits::kMaxCanvas) && 36 frame_size.ToString().c_str(),
|
H A D | fake_video_capture_device.cc | 78 if (params.requested_format.frame_size.width() > 640) 79 capture_format_.frame_size.SetSize(1280, 720); 80 else if (params.requested_format.frame_size.width() > 320) 81 capture_format_.frame_size.SetSize(640, 480); 83 capture_format_.frame_size.SetSize(320, 240); 85 VideoFrame::AllocationSize(VideoFrame::I420, capture_format_.frame_size); 103 const size_t frame_size = local 104 VideoFrame::AllocationSize(VideoFrame::I420, capture_format_.frame_size); 105 memset(fake_frame_.get(), 0, frame_size); 107 SkImageInfo info = SkImageInfo::MakeA8(capture_format_.frame_size [all...] |
/external/lldb/examples/python/ |
H A D | stacks.py | 25 frame_size = 0 30 frame_size = frame.fp - frame.sp 43 frame_size = frame.fp - last_frame.fp 44 print "<%#7x> %s" % (frame_size, frame) 45 if frame_size > 0: 48 frame_info[name] = frame_size 50 frame_info[name] += frame_size
|
/external/speex/libspeex/ |
H A D | scal.c | 60 int frame_size; member in struct:SpeexDecorrState_ 81 EXPORT SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size) argument 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*sizeo [all...] |
H A D | 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) argument 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) argument 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), 1 [all...] |
/external/chromium_org/content/browser/compositor/ |
H A D | surface_display_output_surface.cc | 43 gfx::Size frame_size = local 45 if (frame_size != display_size_) { 50 factory_.Create(surface_id_, frame_size); 51 display_size_ = frame_size; 52 display_->Resize(surface_id_, frame_size);
|
/external/chromium_org/chromecast/media/cma/base/ |
H A D | frame_generator_for_test.cc | 68 uint32 frame_size = buffer->data_size(); local 71 while (frame_size > 0) { 74 if (subsample.clear_bytes > frame_size) 75 subsample.clear_bytes = frame_size; 76 frame_size -= subsample.clear_bytes; 80 if (subsample.cypher_bytes > frame_size) 81 subsample.cypher_bytes = frame_size; 82 frame_size -= subsample.cypher_bytes;
|
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_scale/generic/ |
H A D | yv12config.c | 63 const int frame_size = yplane_size + 2 * uvplane_size; local 66 ybf->buffer_alloc = (uint8_t *)vpx_memalign(32, frame_size); 67 ybf->buffer_alloc_sz = frame_size; 70 if (!ybf->buffer_alloc || ybf->buffer_alloc_sz < frame_size) 98 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 local [all...] |
/external/chromium_org/media/video/capture/win/ |
H A D | sink_input_pin_win.cc | 52 pvi->bmiHeader.biWidth = requested_format_.frame_size.width(); 53 pvi->bmiHeader.biHeight = requested_format_.frame_size.height(); 55 requested_format_.frame_size.GetArea() * 3 / 2; 62 pvi->bmiHeader.biWidth = requested_format_.frame_size.width(); 63 pvi->bmiHeader.biHeight = requested_format_.frame_size.height(); 64 pvi->bmiHeader.biSizeImage = requested_format_.frame_size.GetArea() * 2; 71 pvi->bmiHeader.biWidth = requested_format_.frame_size.width(); 72 pvi->bmiHeader.biHeight = requested_format_.frame_size.height(); 73 pvi->bmiHeader.biSizeImage = requested_format_.frame_size.GetArea() * 3; 103 resulting_format_.frame_size [all...] |
/external/chromium_org/media/formats/mpeg/ |
H A D | adts_stream_parser.h | 23 int* frame_size,
|
/external/chromium_org/mojo/cc/ |
H A D | output_surface_mojo.cc | 39 gfx::Size frame_size = local 41 if (frame_size != surface_size_) { 47 Size::From(frame_size)); 49 surface_size_ = frame_size;
|
/external/libvpx/libvpx/test/ |
H A D | 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());
|
/external/chromium_org/third_party/opus/src/celt/ |
H A D | 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*channel [all...] |
/external/libopus/celt/ |
H A D | 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*channel [all...] |
/external/chromium_org/third_party/opus/src/include/ |
H A D | 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 Numbe [all...] |
/external/libopus/include/ |
H A D | 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 Numbe [all...] |