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

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

Issue 2709153004: Use video profile to decide if we should produce fp16 textures. (Closed)
Patch Set: comments addressed 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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 bool pending_flush_; 510 bool pending_flush_;
511 511
512 // Use CODECAPI_AVLowLatencyMode. 512 // Use CODECAPI_AVLowLatencyMode.
513 bool enable_low_latency_; 513 bool enable_low_latency_;
514 514
515 bool share_nv12_textures_; 515 bool share_nv12_textures_;
516 516
517 // Copy NV12 texture to another NV12 texture. 517 // Copy NV12 texture to another NV12 texture.
518 bool copy_nv12_textures_; 518 bool copy_nv12_textures_;
519 519
520 // Copy video to FP16 scRGB textures.
521 bool use_fp16_ = false;
522
520 // When converting YUV to RGB, make sure we tell the blitter about the input 523 // When converting YUV to RGB, make sure we tell the blitter about the input
521 // color space so that it can convert it correctly. 524 // color space so that it can convert it correctly.
522 bool use_color_info_ = true; 525 bool use_color_info_ = true;
523 526
524 // Defaults to false. Indicates if we should use D3D or DX11 interfaces for 527 // Defaults to false. Indicates if we should use D3D or DX11 interfaces for
525 // H/W decoding. 528 // H/W decoding.
526 bool use_dx11_; 529 bool use_dx11_;
527 530
528 // True when using Microsoft's VP9 HMFT for decoding. 531 // True when using Microsoft's VP9 HMFT for decoding.
529 bool using_ms_vp9_mft_ = false; 532 bool using_ms_vp9_mft_ = false;
(...skipping 29 matching lines...) Expand all
559 562
560 // Function pointer for the MFCreateDXGIDeviceManager API. 563 // Function pointer for the MFCreateDXGIDeviceManager API.
561 static CreateDXGIDeviceManager create_dxgi_device_manager_; 564 static CreateDXGIDeviceManager create_dxgi_device_manager_;
562 565
563 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator); 566 DISALLOW_COPY_AND_ASSIGN(DXVAVideoDecodeAccelerator);
564 }; 567 };
565 568
566 } // namespace media 569 } // namespace media
567 570
568 #endif // MEDIA_GPU_DXVA_VIDEO_DECODE_ACCELERATOR_WIN_H_ 571 #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