/external/chromium_org/media/video/capture/ |
video_capture_types.cc | 14 VideoCaptureFormat::VideoCaptureFormat(const gfx::Size& frame_size, 17 : frame_size(frame_size), 22 return (frame_size.width() < media::limits::kMaxDimension) && 23 (frame_size.height() < media::limits::kMaxDimension) && 24 (frame_size.GetArea() > 0) && 25 (frame_size.GetArea() < media::limits::kMaxCanvas) &&
|
fake_video_capture_device.cc | 54 capture_format_640x480.frame_size.SetSize(640, 480); 59 capture_format_320x240.frame_size.SetSize(320, 240); 133 if (params.requested_format.frame_size.width() > 320) 134 capture_format_.frame_size.SetSize(640, 480); 136 capture_format_.frame_size.SetSize(320, 240); 140 VideoFrame::AllocationSize(VideoFrame::I420, capture_format_.frame_size); 158 const size_t frame_size = local 159 VideoFrame::AllocationSize(VideoFrame::I420, capture_format_.frame_size); 160 memset(fake_frame_.get(), 0, frame_size); 164 capture_format_.frame_size.width() [all...] |
video_capture_device_unittest.cc | 174 capture_params.requested_format.frame_size.SetSize(640, 480); 181 EXPECT_EQ(last_format().frame_size.width(), 640); 182 EXPECT_EQ(last_format().frame_size.height(), 480); 201 capture_params.requested_format.frame_size.SetSize(1280, 720); 225 capture_params.requested_format.frame_size.SetSize(637, 472); 232 EXPECT_EQ(last_format().frame_size.width(), 640); 233 EXPECT_EQ(last_format().frame_size.height(), 480); 255 capture_params.requested_format.frame_size = resolution; 265 capture_params.requested_format.frame_size.SetSize(320, 240); 278 EXPECT_EQ(last_format().frame_size.width(), 320) [all...] |
/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/chromium_org/media/video/capture/win/ |
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.SetSize(pvi->bmiHeader.biWidth [all...] |
/external/chromium_org/third_party/opus/src/src/ |
opus_multistream_decoder.c | 152 int frame_size 161 int frame_size, 175 /* Limit frame_size to avoid excessive stack allocations. */ 177 frame_size = IMIN(frame_size, Fs/25*3); 178 ALLOC(buf, 2*frame_size, opus_val16); 203 ret = opus_decode_native(dec, data, len, buf, frame_size, decode_fec, s!=st->layout.nb_streams-1, &packet_offset, soft_clip); 206 if (ret > frame_size) 211 if (s>0 && ret != frame_size) 221 frame_size = ret [all...] |
opus_decoder.c | 66 int frame_size; member in struct:OpusDecoder 137 st->frame_size = Fs/400; 203 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) 239 if (frame_size < F2_5) 244 /* Limit frame_size to avoid excessive stack allocations. */ 245 frame_size = IMIN(frame_size, st->Fs/25*3); 251 frame_size = IMIN(frame_size, st->frame_size); [all...] |
opus_multistream_encoder.c | 69 int frame_size 229 int frame_size; local 239 frame_size = len*upsample; 242 if (celt_mode->shortMdctSize<<LM==frame_size) 245 ALLOC(in, frame_size+overlap, opus_val32); 247 ALLOC(freq, frame_size, opus_val32); 259 preemphasis(x, in+overlap, frame_size, 1, upsample, celt_mode->preemph, preemph_mem+c, 0); 266 for (;i<frame_size;i++) 301 OPUS_COPY(mem+c*overlap, in+frame_size, overlap); 597 int frame_size 695 int frame_size; local [all...] |
/external/chromium_org/media/video/capture/mac/ |
video_capture_device_mac.mm | 139 int width = params.requested_format.frame_size.width(); 140 int height = params.requested_format.frame_size.height(); 163 capture_format_.frame_size.SetSize(width, height); 245 if (capture_format_.frame_size.width() > kVGA.width || 246 capture_format_.frame_size.height() > kVGA.height) { 250 if (frame_format.frame_size.width() < 251 capture_format_.frame_size.width() || 252 frame_format.frame_size.height() < 253 capture_format_.frame_size.height()) { 258 frame_format.frame_size.ToString() [all...] |
/external/libvpx/libvpx/vpx_scale/generic/ |
yv12config.c | 51 const int frame_size = yplane_size + 2 * uvplane_size; local 54 ybf->buffer_alloc = vpx_memalign(32, frame_size); 55 ybf->buffer_alloc_sz = frame_size; 58 if (!ybf->buffer_alloc || ybf->buffer_alloc_sz < frame_size) 84 ybf->frame_size = frame_size; 146 const int frame_size = yplane_size + 2 * uvplane_size + local 149 const int frame_size = yplane_size + 2 * uvplane_size; local 151 if (frame_size > ybf->buffer_alloc_sz) { 155 ybf->buffer_alloc = vpx_memalign(32, frame_size); [all...] |
/external/chromium_org/content/browser/renderer_host/media/ |
desktop_capture_device_unittest.cc | 156 int frame_size; local 162 DoAll(SaveArg<1>(&frame_size), 167 capture_params.requested_format.frame_size.SetSize(640, 480); 176 EXPECT_GT(format.frame_size.width(), 0); 177 EXPECT_GT(format.frame_size.height(), 0); 181 EXPECT_EQ(format.frame_size.GetArea() * 4, frame_size); 196 int frame_size; local 202 DoAll(SaveArg<1>(&frame_size), 207 capture_params.requested_format.frame_size.SetSize(kTestFrameWidth1 [all...] |
/external/chromium_org/chrome/browser/ui/gtk/ |
titlebar_throb_animation.cc | 25 int frame_size = frame_strip.height(); local 26 size_t num_frames = frame_strip.width() / frame_size; 31 i * frame_size, 0, frame_size, frame_size);
|
/external/chromium_org/third_party/opus/src/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/chromium_org/media/mp2t/ |
es_parser_adts.cc | 110 int frame_size = ExtractAdtsFrameSize(cur_buf); local 111 if (frame_size < kAdtsHeaderMinSize) { 119 if (remaining_size >= frame_size + 2 && 120 !isAdtsSyncWord(&cur_buf[frame_size])) { 125 *frame_sz = frame_size; 167 int frame_size; local 169 &es_position, &frame_size)) { 172 << " frame_size=" << frame_size; local 179 if (frame_size > remaining_size [all...] |
/device/lge/mako/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,
|
/device/lge/mako/camera/ |
QCameraHWI_Mem.h | 46 int frame_size, 71 int frame_size, 80 int frame_size, int cbcr_offset, 96 int frame_size, int cbcr_offset,
|
/external/chromium_org/media/cdm/ppapi/ |
fake_cdm_video_decoder.cc | 67 int frame_size = u_offset + uv_stride * uv_rows + kPlanePadding; local 69 decoded_frame->SetFrameBuffer(host_->Allocate(frame_size)); 70 decoded_frame->FrameBuffer()->SetSize(frame_size); 86 color, frame_size);
|
/external/libvpx/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()); 69 res = decoder.DecodeFrame(video.cxdata(), video.frame_size());
|
/hardware/samsung_slsi/exynos5/libexynosutils/ |
exynos5_format_v4l2.c | 244 unsigned int FRAME_SIZE( 249 unsigned int frame_size = 0; local 255 frame_size = GET_16BPP_FRAME_SIZE(width, height); 260 frame_size = GET_24BPP_FRAME_SIZE(width, height); 268 frame_size = GET_32BPP_FRAME_SIZE(width, height); 277 frame_size = size + 2 * ALIGN(width >> 1, 8) * ALIGN(height >> 1, 8); 285 frame_size = size + ALIGN(ALIGN(width, 16) * ALIGN(height >> 1, 8), 2048); 289 frame_size = ALIGN_TO_8KB(ALIGN_TO_128B(width) * ALIGN_TO_32B(height)) 305 frame_size = GET_16BPP_FRAME_SIZE(width, height); 314 return frame_size; [all...] |
/external/chromium_org/media/video/capture/android/ |
video_capture_device_android.cc | 126 params.requested_format.frame_size.width(), 127 params.requested_format.frame_size.height(), 135 capture_format_.frame_size.SetSize( 142 CHECK(capture_format_.frame_size.GetArea() > 0); 143 CHECK(!(capture_format_.frame_size.width() % 2)); 144 CHECK(!(capture_format_.frame_size.height() % 2)); 152 DVLOG(1) << "VideoCaptureDeviceAndroid::Allocate: queried frame_size=" 153 << capture_format_.frame_size.ToString()
|
/external/kernel-headers/original/asm-x86/ |
ptrace-abi.h | 23 #define FRAME_SIZE 17 56 #define FRAME_SIZE 168
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/asm/ |
ptrace-abi.h | 23 #define FRAME_SIZE 17 56 #define FRAME_SIZE 168
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/asm/ |
ptrace-abi.h | 23 #define FRAME_SIZE 17 56 #define FRAME_SIZE 168
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/asm/ |
ptrace-abi.h | 23 #define FRAME_SIZE 17 56 #define FRAME_SIZE 168
|