Home
last modified time | relevance | path

Searched refs:vin (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/
Dm4v_h263_enc_test.cpp219 VideoEncFrameIO vin, vout; in main() local
220 memset(&vin, 0, sizeof(vin)); in main()
222 vin.height = height; // height is multiple of 16. in main()
223 vin.pitch = width; // width is multiple of 16. in main()
224 vin.timestamp = (numFramesEncoded * 1000) / frameRate; // in ms. in main()
225 vin.yChan = inputBuf; in main()
226 vin.uChan = vin.yChan + vin.height * vin.pitch; in main()
227 vin.vChan = vin.uChan + ((vin.height * vin.pitch) >> 2); in main()
233 if (!PVEncodeVideoFrame(&handle, &vin, &vout, in main()
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
DSoftMPEG4Encoder.cpp469 VideoEncFrameIO vin, vout; in onQueueFilled() local
470 memset(&vin, 0, sizeof(vin)); in onQueueFilled()
472 vin.height = align(mHeight, 16); in onQueueFilled()
473 vin.pitch = align(mWidth, 16); in onQueueFilled()
474 vin.timestamp = (inHeader->nTimeStamp + 500) / 1000; // in ms in onQueueFilled()
475 vin.yChan = (uint8_t *)inputData; in onQueueFilled()
476 vin.uChan = vin.yChan + vin.height * vin.pitch; in onQueueFilled()
477 vin.vChan = vin.uChan + ((vin.height * vin.pitch) >> 2); in onQueueFilled()
482 if (!PVEncodeVideoFrame(mHandle, &vin, &vout, in onQueueFilled()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp557 VideoEncFrameIO vin, vout; in process() local
558 memset(&vin, 0, sizeof(vin)); in process()
560 vin.yChan = yPlane; in process()
561 vin.uChan = uPlane; in process()
562 vin.vChan = vPlane; in process()
563 vin.timestamp = (inputTimeStamp + 500) / 1000; // in ms in process()
564 vin.height = align(height, 16); in process()
565 vin.pitch = align(width, 16); in process()
571 if (!PVEncodeVideoFrame(mHandle, &vin, &vout, &modTimeMs, outPtr, &outputSize, &nLayer) || in process()