mirror of
https://github.com/openharmony/graphic_surface.git
synced 2026-08-27 13:27:20 -04:00
Description: fix the cppcheck
IssueNo: https://gitee.com/openharmony/graphic_utils/issues/I5RYU4 Feature or Bugfix: Bugfix Binary Source:No Signed-off-by: zhouyj <zhouyuanjie1@huawei.com>
This commit is contained in:
@@ -217,9 +217,9 @@ uint32_t BufferClientProducer::GetFormat()
|
||||
return GetAttr(GET_FORMAT);
|
||||
}
|
||||
|
||||
void BufferClientProducer::SetStrideAlignment(uint32_t stride)
|
||||
void BufferClientProducer::SetStrideAlignment(uint32_t strideAlignment)
|
||||
{
|
||||
SetAttr(SET_STRIDE_ALIGNMENT, stride);
|
||||
SetAttr(SET_STRIDE_ALIGNMENT, strideAlignment);
|
||||
}
|
||||
|
||||
uint32_t BufferClientProducer::GetStrideAlignment()
|
||||
|
||||
@@ -318,10 +318,10 @@ uint32_t BufferQueueProducer::GetFormat()
|
||||
return bufferQueue_->GetFormat();
|
||||
}
|
||||
|
||||
void BufferQueueProducer::SetStrideAlignment(uint32_t stride)
|
||||
void BufferQueueProducer::SetStrideAlignment(uint32_t strideAlignment)
|
||||
{
|
||||
RETURN_IF_FAIL(bufferQueue_);
|
||||
bufferQueue_->SetStrideAlignment(stride);
|
||||
bufferQueue_->SetStrideAlignment(strideAlignment);
|
||||
}
|
||||
|
||||
uint32_t BufferQueueProducer::GetStrideAlignment()
|
||||
|
||||
Reference in New Issue
Block a user