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

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

Issue 2133993002: Parse VP9 compressed header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reset curr_frame_info_ when Reset Created 4 years, 4 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/vaapi_video_decode_accelerator.cc ('k') | media/gpu/vp9_decoder.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 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 #ifndef MEDIA_GPU_VP9_DECODER_H_ 5 #ifndef MEDIA_GPU_VP9_DECODER_H_
6 #define MEDIA_GPU_VP9_DECODER_H_ 6 #define MEDIA_GPU_VP9_DECODER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // |ref_pictures| for reference. 52 // |ref_pictures| for reference.
53 // 53 //
54 // Note that returning from this method does not mean that the decode 54 // Note that returning from this method does not mean that the decode
55 // process is finished, but the caller may drop its references to |pic| 55 // process is finished, but the caller may drop its references to |pic|
56 // and |ref_pictures| immediately, and the data in |seg| and |lf| does not 56 // and |ref_pictures| immediately, and the data in |seg| and |lf| does not
57 // need to remain valid after this method returns. 57 // need to remain valid after this method returns.
58 // 58 //
59 // Return true when successful, false otherwise. 59 // Return true when successful, false otherwise.
60 virtual bool SubmitDecode( 60 virtual bool SubmitDecode(
61 const scoped_refptr<VP9Picture>& pic, 61 const scoped_refptr<VP9Picture>& pic,
62 const Vp9Segmentation& seg, 62 const Vp9SegmentationParams& seg,
63 const Vp9LoopFilter& lf, 63 const Vp9LoopFilterParams& lf,
64 const std::vector<scoped_refptr<VP9Picture>>& ref_pictures) = 0; 64 const std::vector<scoped_refptr<VP9Picture>>& ref_pictures) = 0;
65 65
66 // Schedule output (display) of |pic|. 66 // Schedule output (display) of |pic|.
67 // 67 //
68 // Note that returning from this method does not mean that |pic| has already 68 // Note that returning from this method does not mean that |pic| has already
69 // been outputted (displayed), but guarantees that all pictures will be 69 // been outputted (displayed), but guarantees that all pictures will be
70 // outputted in the same order as this method was called for them, and that 70 // outputted in the same order as this method was called for them, and that
71 // they are decoded before outputting (assuming SubmitDecode() has been 71 // they are decoded before outputting (assuming SubmitDecode() has been
72 // called for them beforehand). Decoder may drop its references to |pic| 72 // called for them beforehand). Decoder may drop its references to |pic|
73 // immediately after calling this method. 73 // immediately after calling this method.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 // VP9Accelerator instance owned by the client. 126 // VP9Accelerator instance owned by the client.
127 VP9Accelerator* accelerator_; 127 VP9Accelerator* accelerator_;
128 128
129 DISALLOW_COPY_AND_ASSIGN(VP9Decoder); 129 DISALLOW_COPY_AND_ASSIGN(VP9Decoder);
130 }; 130 };
131 131
132 } // namespace media 132 } // namespace media
133 133
134 #endif // MEDIA_GPU_VP9_DECODER_H_ 134 #endif // MEDIA_GPU_VP9_DECODER_H_
OLDNEW
« no previous file with comments | « media/gpu/vaapi_video_decode_accelerator.cc ('k') | media/gpu/vp9_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698