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

Side by Side Diff: media/gpu/dxva_video_decode_accelerator_win.h

Issue 2715593003: [spelling] succcess to success (Closed)
Patch Set: Created 3 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 | « google_apis/gcm/engine/mcs_client.h ('k') | sandbox/linux/tests/unit_tests.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ 5 #ifndef MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_
6 #define MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ 6 #define MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_
7 7
8 #include <d3d11_1.h> 8 #include <d3d11_1.h>
9 #include <d3d9.h> 9 #include <d3d9.h>
10 #include <initguid.h> 10 #include <initguid.h>
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 // this function also sets the MF_MT_FRAME_SIZE attribute on the type. 354 // this function also sets the MF_MT_FRAME_SIZE attribute on the type.
355 // Returns true on success. 355 // Returns true on success.
356 bool SetTransformOutputType(IMFTransform* transform, 356 bool SetTransformOutputType(IMFTransform* transform,
357 const GUID& output_type, 357 const GUID& output_type,
358 int width, 358 int width,
359 int height); 359 int height);
360 360
361 // Checks if the resolution, bitrate etc of the stream changed. We do this 361 // Checks if the resolution, bitrate etc of the stream changed. We do this
362 // by keeping track of the SPS/PPS frames and if they change we assume 362 // by keeping track of the SPS/PPS frames and if they change we assume
363 // that the configuration changed. 363 // that the configuration changed.
364 // Returns S_OK or S_FALSE on succcess. 364 // Returns S_OK or S_FALSE on success.
365 // The |config_changed| parameter is set to true if we detect a change in the 365 // The |config_changed| parameter is set to true if we detect a change in the
366 // stream. 366 // stream.
367 HRESULT CheckConfigChanged(IMFSample* sample, bool* config_changed); 367 HRESULT CheckConfigChanged(IMFSample* sample, bool* config_changed);
368 368
369 // Called when we detect a stream configuration change. We reinitialize the 369 // Called when we detect a stream configuration change. We reinitialize the
370 // decoder here. 370 // decoder here.
371 void ConfigChanged(const Config& config); 371 void ConfigChanged(const Config& config);
372 372
373 uint32_t GetTextureTarget() const; 373 uint32_t GetTextureTarget() const;
374 374
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 559
560 // Function pointer for the MFCreateDXGIDeviceManager API. 560 // Function pointer for the MFCreateDXGIDeviceManager API.
561 static CreateDXGIDeviceManager create_dxgi_device_manager_; 561 static CreateDXGIDeviceManager create_dxgi_device_manager_;
562 562
563 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator); 563 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator);
564 }; 564 };
565 565
566 } // namespace media 566 } // namespace media
567 567
568 #endif // MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ 568 #endif // MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_
OLDNEW
« no previous file with comments | « google_apis/gcm/engine/mcs_client.h ('k') | sandbox/linux/tests/unit_tests.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698