Searched refs:dstusage (Results 1 – 2 of 2) sorted by relevance
1951 uint32_t dstusage = GraphicBuffer::USAGE_HW_TEXTURE | GraphicBuffer::USAGE_HW_VIDEO_ENCODER | in swvenc_do_rotate() local1980 dstBuffer = new GraphicBuffer(d_width, d_height, format, dstusage); in swvenc_do_rotate()1992 if (dstBuffer->lock(dstusage, &buf) == 0 && buf != nullptr) { in swvenc_do_rotate()
1895 uint32_t dstusage = GraphicBuffer::USAGE_HW_TEXTURE | GraphicBuffer::USAGE_HW_VIDEO_ENCODER | in swvenc_do_rotate() local1924 dstBuffer = new GraphicBuffer(d_width, d_height, format, dstusage); in swvenc_do_rotate()1936 if (dstBuffer->lock(dstusage, &buf) == 0 && buf != nullptr) { in swvenc_do_rotate()