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

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

Issue 1587193006: Move talk/media to webrtc/media (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased to b647aca12a884a13c1728118586245399b55fa3d (#11493) Created 4 years, 10 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 | « webrtc/media/base/videorenderer.h ('k') | webrtc/media/base/yuvframegenerator.cc » ('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 18 matching lines...) Expand all
29 // Y-plane, plus a horizontal gradient in the U-plane and a vertical one in the 29 // Y-plane, plus a horizontal gradient in the U-plane and a vertical one in the
30 // V-plane. This makes for a nice mix of colours that is suited for both 30 // V-plane. This makes for a nice mix of colours that is suited for both
31 // catching visual errors and making sure e.g. YUV->RGB/BGR conversion looks 31 // catching visual errors and making sure e.g. YUV->RGB/BGR conversion looks
32 // the same on different platforms. 32 // the same on different platforms.
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 WEBRTC_MEDIA_BASE_YUVFRAMEGENERATOR_H_
40 #define TALK_MEDIA_BASE_YUVFRAMEGENERATOR_H_ 40 #define WEBRTC_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 #include "webrtc/base/constructormagic.h"
44 44
45 namespace cricket { 45 namespace cricket {
46 46
47 class YuvFrameGenerator { 47 class YuvFrameGenerator {
48 public: 48 public:
49 // 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|.
50 // 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
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 uint8_t* v_data_; 101 uint8_t* v_data_;
102 102
103 int barcode_start_x_; 103 int barcode_start_x_;
104 int barcode_start_y_; 104 int barcode_start_y_;
105 105
106 RTC_DISALLOW_COPY_AND_ASSIGN(YuvFrameGenerator); 106 RTC_DISALLOW_COPY_AND_ASSIGN(YuvFrameGenerator);
107 }; 107 };
108 108
109 } // namespace cricket 109 } // namespace cricket
110 110
111 #endif // TALK_MEDIA_BASE_YUVFRAMEGENERATOR_H_ 111 #endif // WEBRTC_MEDIA_BASE_YUVFRAMEGENERATOR_H_
OLDNEW
« no previous file with comments | « webrtc/media/base/videorenderer.h ('k') | webrtc/media/base/yuvframegenerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698