diff options
Diffstat (limited to 'chromium/media/gpu/v4l2/v4l2_h264_accelerator.h')
-rw-r--r-- | chromium/media/gpu/v4l2/v4l2_h264_accelerator.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chromium/media/gpu/v4l2/v4l2_h264_accelerator.h b/chromium/media/gpu/v4l2/v4l2_h264_accelerator.h index 2a6c179c535..f15e00ac3b3 100644 --- a/chromium/media/gpu/v4l2/v4l2_h264_accelerator.h +++ b/chromium/media/gpu/v4l2/v4l2_h264_accelerator.h @@ -36,17 +36,17 @@ class V4L2H264Accelerator : public H264Decoder::H264Accelerator { const H264Picture::Vector& ref_pic_listp0, const H264Picture::Vector& ref_pic_listb0, const H264Picture::Vector& ref_pic_listb1, - const scoped_refptr<H264Picture>& pic) override; + scoped_refptr<H264Picture> pic) override; Status SubmitSlice(const H264PPS* pps, const H264SliceHeader* slice_hdr, const H264Picture::Vector& ref_pic_list0, const H264Picture::Vector& ref_pic_list1, - const scoped_refptr<H264Picture>& pic, + scoped_refptr<H264Picture> pic, const uint8_t* data, size_t size, const std::vector<SubsampleEntry>& subsamples) override; - Status SubmitDecode(const scoped_refptr<H264Picture>& pic) override; - bool OutputPicture(const scoped_refptr<H264Picture>& pic) override; + Status SubmitDecode(scoped_refptr<H264Picture> pic) override; + bool OutputPicture(scoped_refptr<H264Picture> pic) override; void Reset() override; private: @@ -61,7 +61,7 @@ class V4L2H264Accelerator : public H264Decoder::H264Accelerator { const H264DPB& dpb, std::vector<scoped_refptr<V4L2DecodeSurface>>* ref_surfaces); scoped_refptr<V4L2DecodeSurface> H264PictureToV4L2DecodeSurface( - const scoped_refptr<H264Picture>& pic); + H264Picture* pic); size_t num_slices_; V4L2DecodeSurfaceHandler* const surface_handler_; |