/external/chromium_org/media/cast/test/utility/ |
generate_timecode_audio.cc | 18 fprintf(stderr, "Usage: %s <fps> <frames> >output.s16le\n", argv[0]); 22 const uint32 frames = static_cast<uint32>(std::max(0, atoi(argv[2]))); local 25 for (uint32 frame_id = 1; frame_id <= frames; frame_id++) {
|
/external/chromium_org/net/websockets/ |
websocket_deflate_predictor_impl_test.cc | 20 ScopedVector<WebSocketFrame> frames; local 21 frames.push_back(new WebSocketFrame(WebSocketFrameHeader::kOpCodeText)); 22 Result result = predictor.Predict(frames, 0);
|
/bootable/recovery/ |
interlace-frames.py | 15 """Script to take a set of frames (PNG files) for a recovery animation 16 and turn it into a single output image which contains the input frames 17 interlaced by row. Run with the names of all the input frames on the 28 frames = [Image.open(fn).convert("RGB") for fn in sys.argv[1:-1]] variable 29 assert len(frames) > 0, "Must have at least one input frame." 31 for fr in frames: 36 N = len(frames) 41 for fn, f in enumerate(frames): 45 # chunk that specifies how many frames this animation represents. If 51 meta.add_text("Frames", str(N) [all...] |
/external/chromium_org/media/base/ |
audio_buffer_queue.h | 36 // Reads a maximum of |frames| frames into |dest| from the current position. 37 // Returns the number of frames read. The current position will advance by the 38 // amount of frames read. |dest_frame_offset| specifies a starting offset into 39 // |dest|. On each call, the frames are converted from their source format 41 int ReadFrames(int frames, int dest_frame_offset, AudioBus* dest); 43 // Copies up to |frames| frames from current position to |dest|. Returns 44 // number of frames copied. Doesn't advance current position. Starts at 46 // a starting offset into |dest|. On each call, the frames are converted fro 58 int frames() const { return frames_; } function in class:media::AudioBufferQueue [all...] |
audio_buffer_queue_unittest.cc | 22 int frames, 28 for (int i = offset; i < offset + frames; ++i) { 40 int frames) { 47 frames, 54 EXPECT_EQ(0, buffer.frames()); 57 EXPECT_EQ(8, buffer.frames()); 59 EXPECT_EQ(0, buffer.frames()); 62 EXPECT_EQ(8, buffer.frames()); 70 EXPECT_EQ(8, buffer.frames()); 73 EXPECT_EQ(16, buffer.frames()); 189 const int frames = 4; local 216 const int frames = 6; local 318 const int frames = 60; local [all...] |
audio_bus.h | 29 // Creates a new AudioBus and allocates |channels| of length |frames|. Uses 31 static scoped_ptr<AudioBus> Create(int channels, int frames); 43 int frames, const std::vector<float*>& channel_data); 48 static scoped_ptr<AudioBus> WrapMemory(int channels, int frames, void* data); 54 // and frames. 55 static int CalculateMemorySize(int channels, int frames); 62 // any unfilled frames when |frames| is less than frames(). 63 void FromInterleaved(const void* source, int frames, int bytes_per_sample) 96 int frames() const { return frames_; } function in class:media::AudioBus [all...] |
audio_pull_fifo.cc | 14 AudioPullFifo::AudioPullFifo(int channels, int frames, const ReadCB& read_cb) 16 fifo_(AudioBus::Create(channels, frames)), 17 fifo_index_(frames) {} 22 DCHECK_LE(frames_to_consume, destination->frames()); 31 // Get the remaining audio frames from the producer using the callback. 33 DCHECK_EQ(fifo_index_, fifo_->frames()); 47 void AudioPullFifo::Clear() { fifo_index_ = fifo_->frames(); } 52 int frames = std::min(frames_to_provide, fifo_->frames() - fifo_index_); local 53 if (frames <= 0 [all...] |
audio_fifo.cc | 40 AudioFifo::AudioFifo(int channels, int frames) 41 : audio_bus_(AudioBus::Create(channels, frames)), 42 max_frames_(frames), 50 int AudioFifo::frames() const { function in class:media::AudioFifo 60 const int source_size = source->frames(); 61 CHECK_LE(source_size + frames(), max_frames_); 83 DCHECK_LE(frames(), max_frames()); 94 CHECK_LE(frames_to_consume, frames()); 98 CHECK_LE(frames_to_consume + start_frame, destination->frames());
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
ScriptCallStack.cpp | 40 PassRefPtrWillBeRawPtr<ScriptCallStack> ScriptCallStack::create(Vector<ScriptCallFrame>& frames) 42 return adoptRefWillBeNoop(new ScriptCallStack(frames)); 45 ScriptCallStack::ScriptCallStack(Vector<ScriptCallFrame>& frames) 47 m_frames.swap(frames); 73 RefPtr<TypeBuilder::Array<TypeBuilder::Console::CallFrame> > frames = TypeBuilder::Array<TypeBuilder::Console::CallFrame>::create(); local 75 frames->addItem(m_frames.at(i).buildInspectorObject()); 76 return frames;
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
chrome_gtk_frame.h | 42 MetaFrames frames; member in struct:_ChromeGtkFrame
|
/external/chromium_org/content/renderer/ |
savable_resources.cc | 47 // Collection of all frames we go through when getting all savable resource 49 std::vector<WebFrame*>* frames; member in struct:content::__anon12466::SavableResourcesUniqueCheck 54 frames(NULL) {} 57 std::set<GURL>* frames_set, std::vector<WebFrame*>* frames) 60 frames(frames) {} 77 unique_check->frames->push_back(sub_frame); 199 std::vector<WebFrame*> frames; local 202 &frames); 213 frames.push_back(main_frame) [all...] |
/external/chromium_org/media/audio/ |
virtual_audio_output_stream.cc | 80 const int frames = callback_->OnMoreData(audio_bus, AudioBuffersState()); local 81 if (frames < audio_bus->frames()) 82 audio_bus->ZeroFramesPartial(frames, audio_bus->frames() - frames); 84 return frames > 0 ? volume_ : 0;
|
/external/chromium_org/net/quic/ |
quic_ack_notifier_manager.cc | 76 // Run through all the frames and if any of them are stream frames and have 80 RetransmittableFrames* frames = serialized_packet.retransmittable_frames; local 82 // AckNotifiers can only be attached to retransmittable frames. 83 if (!frames) { 87 for (QuicFrames::const_iterator it = frames->frames().begin(); 88 it != frames->frames().end(); ++it) {
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
WebPageSerializerTest.cpp | 113 WebVector<WebURL> frames; local 116 webView(), m_supportedSchemes, &resources, &frames)); 119 EXPECT_EQ(1U, frames.size()); // There should be no duplicates. 120 EXPECT_TRUE(webVectorContains(frames, "http://www.test.com")); 141 // Register the mocked frames. 159 WebVector<WebURL> frames; local 162 webView(), m_supportedSchemes, &resources, &frames)); 165 EXPECT_EQ(4U, frames.size()); // There should be no duplicates. 166 EXPECT_TRUE(webVectorContains(frames, "http://www.test.com")); 167 EXPECT_TRUE(webVectorContains(frames, "http://www.test.com/simple_iframe.html")) [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
decode_perf_test.cc | 91 const unsigned frames = video.frame_number(); local 92 const double fps = double(frames) / elapsed_secs; 100 printf("\t\"totalFrames\" : %u,\n", frames);
|
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/ |
glapi_gentable.c | 72 void *frames[2]; local 74 if(backtrace(frames, 2) == 2) { 76 dladdr(frames[1], &info); [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
stacktrace_android-inl.h | 54 uintptr_t* frames; member in struct:stack_crawl_state_t 60 stack_crawl_state_t(uintptr_t* frames, int max_depth, int skip_count) 61 : frames(frames), 93 state->frames[state->frame_count++] = ip; 106 // GetStack{Trace,Frames}() 107 // GetStack{Trace,Frames}WithContext() 115 // void* ucp: a ucontext_t* (GetStack{Trace,Frames}WithContext only)
|
/external/chromium_org/third_party/webrtc/test/testsupport/metrics/ |
video_metrics.h | 30 // The frames in this data structure are 0-indexed. 44 std::vector<FrameResult> frames; member in struct:webrtc::test::QualityMetricsResult 58 // This function only compares video frames up to the point when the shortest 82 // This function only compares video frames up to the point when the shortest 102 // This function only compares video frames up to the point when the shortest
|
/external/chromium_org/third_party/webrtc/tools/frame_analyzer/ |
video_quality_analysis.h | 35 std::vector<AnalysisResult> frames; member in struct:webrtc::test::ResultsContainer 41 // comprises the frames that were captured during the quality measurement test. 42 // There may be missing or duplicate frames. Also the frames start at a random 45 // actual frames in the test file and their position in the reference video, so 46 // that the analysis could run with the right frames from both videos. The stats 59 // frames are exactly the same) will be 48. In the case of SSIM the max return 66 // numbers compatible format to stdout. If the results object contains no frames 74 // Calculates max repeated and skipped frames and prints them to stdout in a
|
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/primitives/ |
framedrop_primitives_unittest.cc | 44 std::vector<Frame*> frames; local 53 frames.push_back(&first_frame); 54 frames.push_back(&second_frame); 55 frames.push_back(&third_frame); 56 frames.push_back(&fourth_frame); 58 // Prepare data for the first and third frames: 64 // Write the first and third frames to the temporary file. This means the fix 65 // method should add two frames of data by filling the file with data from 66 // the first and third frames after executing. 75 FixOutputFileForComparison(kOutputFilename, kFrameLength, frames); [all...] |
/external/libvpx/libvpx/test/ |
decode_perf_test.cc | 89 const unsigned frames = video.frame_number(); local 90 const double fps = double(frames) / elapsed_secs; 97 printf("\t\"totalFrames\" : %u,\n", frames);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
FramesTest.java | 40 * JDWP Unit test for ThreadReference.Frames command. 61 * This testcase exercises ThreadReference.Frames command. 65 * <BR> Then the tests performs the ThreadReference.Frames command 115 * This testcase exercises ThreadReference.Frames command. 119 * <BR> Then the tests performs the ThreadReference.Frames command 170 * This testcase exercises ThreadReference.Frames command. 174 * <BR> Then the tests performs the ThreadReference.Frames command 177 * <BR>It is expected an empty set of frames is returned. 212 logWriter.println("empty set of frames is returned"); 214 printErrorAndFail("it is expected an empty set of frames, but frameCount = 423 Vector<FrameStruct> frames = new Vector<FrameStruct>(); local [all...] |
/external/chromium_org/content/browser/frame_host/ |
render_frame_proxy_host.cc | 37 RoutingIDFrameProxyMap* frames = g_routing_id_frame_proxy_map.Pointer(); local 38 RoutingIDFrameProxyMap::iterator it = frames->find( 40 return it == frames->end() ? NULL : it->second;
|
/external/chromium_org/media/filters/ |
audio_clock.h | 29 // 1) How many frames of audio data requested 30 // 2) How many frames of audio data provided 41 // amount of requested frames due to underflow) is also modeled and will cause 68 // | 10 frames silence | 20 frames @ 1.0x | 20 frames @ 0.5x | 74 // |start_timestamp| since no amount of media frames tracked 112 AudioData(int64_t frames, float playback_rate); 114 int64_t frames; member in struct:media::AudioClock::AudioData 119 void PushBufferedAudioData(int64_t frames, float playback_rate) [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
resize_util.c | 24 printf("<output_yuv> [<frames>]\n"); 47 int f, frames; local 82 frames = atoi(argv[5]); 84 frames = INT_MAX; 88 printf("Target size: %dx%d, Frames: ", 90 if (frames == INT_MAX) 93 printf("%d\n", frames); 102 while (f < frames) { 113 printf("%d frames processed\n", f);
|