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

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

Issue 2752143002: [dxvavda] Mark NV12 textures as allowing overlays. (Closed)
Patch Set: Created 3 years, 9 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 | « media/gpu/dxva_picture_buffer_win.cc ('k') | media/gpu/dxva_video_decode_accelerator_win.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 // 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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 234
235 // Notifies the client that the decoder was reset. 235 // Notifies the client that the decoder was reset.
236 void NotifyResetDone(); 236 void NotifyResetDone();
237 237
238 // Requests picture buffers from the client. 238 // Requests picture buffers from the client.
239 void RequestPictureBuffers(int width, int height); 239 void RequestPictureBuffers(int width, int height);
240 240
241 // Notifies the client about the availability of a picture. 241 // Notifies the client about the availability of a picture.
242 void NotifyPictureReady(int picture_buffer_id, 242 void NotifyPictureReady(int picture_buffer_id,
243 int input_buffer_id, 243 int input_buffer_id,
244 const gfx::ColorSpace& color_space); 244 const gfx::ColorSpace& color_space,
245 bool allow_overlay);
245 246
246 // Sends pending input buffer processed acks to the client if we don't have 247 // Sends pending input buffer processed acks to the client if we don't have
247 // output samples waiting to be processed. 248 // output samples waiting to be processed.
248 void NotifyInputBuffersDropped(const PendingInputs& input_buffers); 249 void NotifyInputBuffersDropped(const PendingInputs& input_buffers);
249 250
250 // Decodes pending input buffers. 251 // Decodes pending input buffers.
251 void DecodePendingInputBuffers(); 252 void DecodePendingInputBuffers();
252 253
253 // Helper for handling the Flush operation. 254 // Helper for handling the Flush operation.
254 void FlushInternal(); 255 void FlushInternal();
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 563
563 // Function pointer for the MFCreateDXGIDeviceManager API. 564 // Function pointer for the MFCreateDXGIDeviceManager API.
564 static CreateDXGIDeviceManager create_dxgi_device_manager_; 565 static CreateDXGIDeviceManager create_dxgi_device_manager_;
565 566
566 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator); 567 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator);
567 }; 568 };
568 569
569 } // namespace media 570 } // namespace media
570 571
571 #endif // MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ 572 #endif // MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_
OLDNEW
« no previous file with comments | « media/gpu/dxva_picture_buffer_win.cc ('k') | media/gpu/dxva_video_decode_accelerator_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698