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

Side by Side Diff: native_client_sdk/src/examples/api/video_encode/video_encode.cc

Issue 2532483003: Replace the term 'poor man' with another phrase (gender-neutral fixit). (Closed)
Patch Set: Respond to review comments. Created 4 years 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <math.h> 5 #include <math.h>
6 #include <stdio.h> 6 #include <stdio.h>
7 #include <string.h> 7 #include <string.h>
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <deque> 10 #include <deque>
(...skipping 17 matching lines...) Expand all
28 #include "ppapi/utility/completion_callback_factory.h" 28 #include "ppapi/utility/completion_callback_factory.h"
29 29
30 // When compiling natively on Windows, PostMessage, min and max can be 30 // When compiling natively on Windows, PostMessage, min and max can be
31 // #define-d to something else. 31 // #define-d to something else.
32 #ifdef WIN32 32 #ifdef WIN32
33 #undef min 33 #undef min
34 #undef max 34 #undef max
35 #undef PostMessage 35 #undef PostMessage
36 #endif 36 #endif
37 37
38 // Use assert as a poor-man's CHECK, even in non-debug mode. 38 // Use assert as a makeshift CHECK, even in non-debug mode.
39 // Since <assert.h> redefines assert on every inclusion (it doesn't use 39 // Since <assert.h> redefines assert on every inclusion (it doesn't use
40 // include-guards), make sure this is the last file #include'd in this file. 40 // include-guards), make sure this is the last file #include'd in this file.
41 #undef NDEBUG 41 #undef NDEBUG
42 #include <assert.h> 42 #include <assert.h>
43 43
44 #define fourcc(a, b, c, d) \ 44 #define fourcc(a, b, c, d) \
45 (((uint32_t)(a) << 0) | ((uint32_t)(b) << 8) | ((uint32_t)(c) << 16) | \ 45 (((uint32_t)(a) << 0) | ((uint32_t)(b) << 8) | ((uint32_t)(c) << 16) | \
46 ((uint32_t)(d) << 24)) 46 ((uint32_t)(d) << 24))
47 47
48 namespace { 48 namespace {
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 } 609 }
610 610
611 } // anonymous namespace 611 } // anonymous namespace
612 612
613 namespace pp { 613 namespace pp {
614 // Factory function for your specialization of the Module object. 614 // Factory function for your specialization of the Module object.
615 Module* CreateModule() { 615 Module* CreateModule() {
616 return new VideoEncoderModule(); 616 return new VideoEncoderModule();
617 } 617 }
618 } // namespace pp 618 } // namespace pp
OLDNEW
« no previous file with comments | « native_client_sdk/src/examples/api/video_decode/video_decode.cc ('k') | ppapi/examples/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698