Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: talk/media/base/yuvframegenerator.h

Issue 1349213003: Remove overridden basictypes.h. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git@master
Patch Set: Added missing include for Win. Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « talk/media/base/cpuid.h ('k') | webrtc/base/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * libjingle 2 * libjingle
3 * Copyright 2010 Google Inc. 3 * Copyright 2010 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 22 matching lines...) Expand all
33 // There is also a solid box bouncing around in the Y-plane, and two differently 33 // There is also a solid box bouncing around in the Y-plane, and two differently
34 // coloured lines bouncing horizontally and vertically in the U and V plane. 34 // coloured lines bouncing horizontally and vertically in the U and V plane.
35 // This helps illustrating how the frame boundary goes, and can aid as a quite 35 // This helps illustrating how the frame boundary goes, and can aid as a quite
36 // handy visual help for noticing e.g. packet loss if the frames are encoded 36 // handy visual help for noticing e.g. packet loss if the frames are encoded
37 // and sent over the network. 37 // and sent over the network.
38 38
39 #ifndef TALK_MEDIA_BASE_YUVFRAMEGENERATOR_H_ 39 #ifndef TALK_MEDIA_BASE_YUVFRAMEGENERATOR_H_
40 #define TALK_MEDIA_BASE_YUVFRAMEGENERATOR_H_ 40 #define TALK_MEDIA_BASE_YUVFRAMEGENERATOR_H_
41 41
42 #include "webrtc/base/basictypes.h" 42 #include "webrtc/base/basictypes.h"
43 #include "webrtc/base/constructormagic.h"
43 44
44 namespace cricket { 45 namespace cricket {
45 46
46 class YuvFrameGenerator { 47 class YuvFrameGenerator {
47 public: 48 public:
48 // Constructs a frame-generator that produces frames of size |width|x|height|. 49 // Constructs a frame-generator that produces frames of size |width|x|height|.
49 // If |enable_barcode| is specified, barcodes can be included in the frames 50 // If |enable_barcode| is specified, barcodes can be included in the frames
50 // when calling |GenerateNextFrame(uint8*, uint32)|. If |enable_barcode| is 51 // when calling |GenerateNextFrame(uint8*, uint32)|. If |enable_barcode| is
51 // |true| then |width|x|height| should be at least 160x100; otherwise this 52 // |true| then |width|x|height| should be at least 160x100; otherwise this
52 // constructor will abort. 53 // constructor will abort.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 97
97 int barcode_start_x_; 98 int barcode_start_x_;
98 int barcode_start_y_; 99 int barcode_start_y_;
99 100
100 RTC_DISALLOW_COPY_AND_ASSIGN(YuvFrameGenerator); 101 RTC_DISALLOW_COPY_AND_ASSIGN(YuvFrameGenerator);
101 }; 102 };
102 103
103 } // namespace cricket 104 } // namespace cricket
104 105
105 #endif // TALK_MEDIA_BASE_YUVFRAMEGENERATOR_H_ 106 #endif // TALK_MEDIA_BASE_YUVFRAMEGENERATOR_H_
OLDNEW
« no previous file with comments | « talk/media/base/cpuid.h ('k') | webrtc/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698