Home
last modified time | relevance | path

Searched refs:vStride (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp235 uint32_t vStride = align(view.crop().height, 2); in GraphicView2MediaImageConverter() local
307 mediaImage->mPlane[mediaImage->U].mOffset = stride * vStride; in GraphicView2MediaImageConverter()
313 mediaImage->mPlane[mediaImage->V].mOffset = stride * vStride * 5 / 4; in GraphicView2MediaImageConverter()
328 mediaImage->mPlane[mediaImage->U].mOffset = stride * vStride; in GraphicView2MediaImageConverter()
334 mediaImage->mPlane[mediaImage->V].mOffset = stride * vStride + 1; in GraphicView2MediaImageConverter()
423 bufferSize += stride * vStride in GraphicView2MediaImageConverter()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp489 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in process() local
506 uStride = vStride = width / 2; in process()
521 && uStride == vStride in process()
522 && yStride == 2 * vStride) { in process()
542 uStride = vStride = width / 2; in process()
DC2SoftMpeg4Dec.cpp477 size_t vStride = align(height, 16); in copyOutputBufferToYuvPlanarFrame() local
484 src = srcStart + vStride * srcYStride; in copyOutputBufferToYuvPlanarFrame()
492 src = srcStart + vStride * srcYStride * 5 / 4; in copyOutputBufferToYuvPlanarFrame()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/test/
DMpeg4H263DecoderTest.cpp121 size_t vStride = align(mHeight, 16); in dumpOutput() local
132 src = srcStart + vStride * srcYStride; in dumpOutput()
138 src = srcStart + vStride * srcYStride * 5 / 4; in dumpOutput()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp680 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in setEncodeArgs() local
705 uStride = vStride = yStride / 2; in setEncodeArgs()
719 uStride == vStride && yStride == 2 * vStride) { in setEncodeArgs()
726 uStride = vStride = yStride / 2; in setEncodeArgs()
763 ps_encode_ip->ai4_inp_strd[2] = vStride; in setEncodeArgs()
767 ps_encode_ip->ai4_inp_size[2] = vStride * height >> 1; in setEncodeArgs()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp1257 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in setEncodeArgs() local
1277 uStride = vStride = yStride / 2; in setEncodeArgs()
1290 && uStride == vStride in setEncodeArgs()
1291 && yStride == 2 * vStride) { in setEncodeArgs()
1298 uStride = vStride = yStride / 2; in setEncodeArgs()
1341 ps_inp_raw_buf->au4_strd[2] = vStride; in setEncodeArgs()