Home
last modified time | relevance | path

Searched refs:image (Results 1 – 25 of 50) sorted by relevance

12

/hardware/intel/img/psb_video/src/
Dpsb_output.c220 VAImage *image, in psb__VAImageCheckRegion() argument
231 if (*src_x > image->width) *src_x = image->width - 1; in psb__VAImageCheckRegion()
233 if (*src_y > image->height) *src_y = image->height - 1; in psb__VAImageCheckRegion()
235 if (((*width) + (*src_x)) > image->width) *width = image->width - *src_x; in psb__VAImageCheckRegion()
236 if (((*height) + (*src_y)) > image->height) *height = image->height - *src_x; in psb__VAImageCheckRegion()
280 VAImage *image /* out */ in psb_CreateImage() argument
297 CHECK_INVALID_PARAM(image == NULL); in psb_CreateImage()
305 obj_image->image.image_id = imageID; in psb_CreateImage()
306 obj_image->image.format = *img_fmt; in psb_CreateImage()
313 obj_image->image.width = width; in psb_CreateImage()
[all …]
Dpsb_output.h241 VAImage *image /* out */
247 VAImage *image /* out */
252 VAImageID image
257 VAImageID image,
273 VAImageID image
279 VAImageID image,
299 VAImageID image,
311 VAImageID image
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_textblit.c27 static void plot(int x, int y, unsigned char *image, int pitch) { in plot() argument
28 image[x + y * pitch] ^= 255; in plot()
60 void vp9_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, in vp9_blit_line() argument
101 plot(y, x, image, pitch); in vp9_blit_line()
111 plot(x, y, image, pitch); in vp9_blit_line()
Dvp9_textblit.h20 void vp9_blit_line(int x0, int x1, int y0, int y1, unsigned char *image,
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dtextblit.c55 static void plot (const int x, const int y, unsigned char *image, const int pitch) in plot() argument
57 image [x+y*pitch] ^= 255; in plot()
61 void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch) in vp8_blit_line() argument
106 plot(y,x, image, pitch); in vp8_blit_line()
120 plot(x,y, image, pitch); in vp8_blit_line()
/hardware/intel/common/libva/test/basic/
Dtestplan.txt80 - Query image formats
88 - Get image data
89 - Render single MPEG2 I-frame, copy surface data to image, check resulting
90 image
94 - Put image data
96 surface back to VAImage, check resulting image
/hardware/intel/common/libva/va/
Dva_backend.h229 VAImage *image /* out */
235 VAImage *image /* out */
240 VAImageID image
245 VAImageID image,
261 VAImageID image
267 VAImageID image,
287 VAImageID image,
299 VAImageID image
Dva.c1199 VAImage *image /* out */ in vaCreateImage() argument
1206 return ctx->vtable->vaCreateImage ( ctx, format, width, height, image); in vaCreateImage()
1214 VAImageID image in vaDestroyImage() argument
1221 return ctx->vtable->vaDestroyImage ( ctx, image); in vaDestroyImage()
1226 VAImageID image, in vaSetImagePalette() argument
1234 return ctx->vtable->vaSetImagePalette ( ctx, image, palette); in vaSetImagePalette()
1248 VAImageID image in vaGetImage() argument
1255 return ctx->vtable->vaGetImage ( ctx, surface, x, y, width, height, image); in vaGetImage()
1265 VAImageID image, in vaPutImage() argument
1280 …return ctx->vtable->vaPutImage ( ctx, surface, image, src_x, src_y, src_width, src_height, dest_x,… in vaPutImage()
[all …]
Dva.h2872 VAImage *image /* out */
2880 VAImageID image
2885 VAImageID image,
2905 VAImageID image
2917 VAImageID image,
2962 VAImage *image /* out */
3007 VAImageID image,
3026 VAImageID image
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
DJPEGTest.c884 pInPortDef->format.image.cMIMEType = "JPEGDEC";
885 pInPortDef->format.image.pNativeRender = NULL;
886 pInPortDef->format.image.nFrameWidth = imageinfo->nWidth;
887 pInPortDef->format.image.nFrameHeight = imageinfo->nHeight;
888 pInPortDef->format.image.nStride = -1;
889 pInPortDef->format.image.nSliceHeight = -1;
890 pInPortDef->format.image.bFlagErrorConcealment = OMX_FALSE;
891 pInPortDef->format.image.eColorFormat =OMX_COLOR_FormatCbYCrY ;
892 pInPortDef->format.image.eCompressionFormat = OMX_IMAGE_CodingJPEG;
899 pInPortDef->format.image.eColorFormat = OMX_COLOR_FormatCbYCrY;
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/test/
DJPEGTestEnc.c1437 pInPortDef->format.image.cMIMEType = "JPEGENC"; in _tmain()
1438 pInPortDef->format.image.pNativeRender = NULL; in _tmain()
1439 pInPortDef->format.image.nFrameWidth = nWidth; in _tmain()
1440 pInPortDef->format.image.nFrameHeight = nHeight; in _tmain()
1441 pInPortDef->format.image.nSliceHeight = -1; in _tmain()
1442 pInPortDef->format.image.bFlagErrorConcealment = OMX_FALSE; in _tmain()
1445 pInPortDef->format.image.eColorFormat = OMX_COLOR_FormatCbYCrY; in _tmain()
1448 pInPortDef->format.image.eColorFormat = OMX_COLOR_Format32bitARGB8888; in _tmain()
1451 pInPortDef->format.image.eColorFormat = OMX_COLOR_Format16bitRGB565; in _tmain()
1454 pInPortDef->format.image.eColorFormat = OMX_COLOR_FormatYCbYCr; in _tmain()
[all …]
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
DOMX_JpegEnc_Utils.c603 … if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (352*288)) { in Fill_JpegEncLCMLInitParams()
606 …else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (640*48… in Fill_JpegEncLCMLInitParams()
609 …else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (720*57… in Fill_JpegEncLCMLInitParams()
612 …else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (1*1024… in Fill_JpegEncLCMLInitParams()
615 …else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (2*1024… in Fill_JpegEncLCMLInitParams()
618 …else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (3*1024… in Fill_JpegEncLCMLInitParams()
621 …else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (4*1024… in Fill_JpegEncLCMLInitParams()
624 …else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (5*1024… in Fill_JpegEncLCMLInitParams()
627 …else if ((pPortDefIn->format.image.nFrameHeight * pPortDefIn->format.image.nFrameWidth) <= (6*1024… in Fill_JpegEncLCMLInitParams()
647 …ptCreateString[7] = (pPortDefOut->format.image.nFrameWidth > 0) ? pPortDefOut->format.image.nFrame… in Fill_JpegEncLCMLInitParams()
[all …]
DOMX_JpegEncoder.c587 …pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef->format.image.cMIMEType = "JP… in OMX_ComponentInit()
588 …pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef->format.image.pNativeRender = NUL… in OMX_ComponentInit()
589 …pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef->format.image.nFrameWidth = 640… in OMX_ComponentInit()
590 …pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef->format.image.nFrameHeight = 480… in OMX_ComponentInit()
591 … pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef->format.image.nStride = -1; in OMX_ComponentInit()
592 … pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef->format.image.nSliceHeight = -1; in OMX_ComponentInit()
593 …pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef->format.image.bFlagErrorConcealment = OMX… in OMX_ComponentInit()
594 …pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef->format.image.eCompressionFormat = OM… in OMX_ComponentInit()
595 …pComponentPrivate->pCompPort[JPEGENC_INP_PORT]->pPortDef->format.image.eColorFormat = OM… in OMX_ComponentInit()
608 …pComponentPrivate->pCompPort[JPEGENC_OUT_PORT]->pPortDef->format.image.cMIMEType = "JPEGENC… in OMX_ComponentInit()
[all …]
/hardware/intel/common/libmix/videodecoder/
DVideoDecoderBase.cpp1097 VAImage image; in mapSurface() local
1105 vaStatus = vaDeriveImage(mVADisplay, mSurfaces[i], &image); in mapSurface()
1107 vaStatus = vaMapBuffer(mVADisplay, image.buf, (void**)&userPtr); in mapSurface()
1116 mSurfaceBuffers[i].mappedData->fourcc = image.format.fourcc; in mapSurface()
1119 mSurfaceBuffers[i].mappedData->size = image.data_size; in mapSurface()
1121 mSurfaceBuffers[i].mappedData->pitch[pi] = image.pitches[pi]; in mapSurface()
1122 mSurfaceBuffers[i].mappedData->offset[pi] = image.offsets[pi]; in mapSurface()
1125 if (image.pitches[0] != image.pitches[1] || in mapSurface()
1126 image.width != mVideoFormatInfo.width || in mapSurface()
1127 image.height != mVideoFormatInfo.height || in mapSurface()
[all …]
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderBase.cpp1495 VAImage image; in getNewUsrptrFromSurface() local
1520 vaStatus = vaDeriveImage(mVADisplay, surface, &image); in getNewUsrptrFromSurface()
1523 vaStatus = vaMapBuffer(mVADisplay, image.buf, (void **) usrptr); in getNewUsrptrFromSurface()
1527 for (index = 0; index < image.data_size; index = index + 4096) { in getNewUsrptrFromSurface()
1533 *outsize = image.data_size; in getNewUsrptrFromSurface()
1534 *stride = image.pitches[0]; in getNewUsrptrFromSurface()
1537 LOG_V("image->pitches[0] = %d\n", image.pitches[0]); in getNewUsrptrFromSurface()
1538 LOG_V("image->pitches[1] = %d\n", image.pitches[1]); in getNewUsrptrFromSurface()
1539 LOG_V("image->offsets[0] = %d\n", image.offsets[0]); in getNewUsrptrFromSurface()
1540 LOG_V("image->offsets[1] = %d\n", image.offsets[1]); in getNewUsrptrFromSurface()
[all …]
/hardware/intel/common/libva/va/wayland/
Dva_wayland.c181 VAImageID image, in vaGetImageBufferWl() argument
192 return ctx->vtable_wayland->vaGetImageBufferWl(ctx, image, flags, in vaGetImageBufferWl()
Dva_backend_wayland.h59 VAImageID image,
Dva_wayland.h120 VAImageID image,
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/src/
DOMX_JpegDecoder.c735 pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef->format.image.cMIMEType = "JPEGDEC"; in OMX_ComponentInit()
736 pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef->format.image.pNativeRender = NULL; in OMX_ComponentInit()
737 …pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef->format.image.nFrameWidth = 640 … in OMX_ComponentInit()
738 …pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef->format.image.nFrameHeight = 480;… in OMX_ComponentInit()
739 pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef->format.image.nStride = -1; in OMX_ComponentInit()
740 pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef->format.image.nSliceHeight = -1; in OMX_ComponentInit()
741 …pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef->format.image.bFlagErrorConcealment = O… in OMX_ComponentInit()
742 …pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef->format.image.eCompressionFormat … in OMX_ComponentInit()
743 …pComponentPrivate->pCompPort[JPEGDEC_INPUT_PORT]->pPortDef->format.image.eColorFormat = … in OMX_ComponentInit()
755 pComponentPrivate->pCompPort[JPEGDEC_OUTPUT_PORT]->pPortDef->format.image.cMIMEType = "JPEGDEC"; in OMX_ComponentInit()
[all …]
DOMX_JpegDec_Utils.c634 nFrameWidth = pPortDefIn->format.image.nFrameWidth * nScaleFactor / 100; in Fill_LCMLInitParamsJpegDec()
635 nFrameHeight = pPortDefIn->format.image.nFrameHeight * nScaleFactor / 100; in Fill_LCMLInitParamsJpegDec()
709 if (pPortDefOut->format.image.eColorFormat == OMX_COLOR_FormatCbYCrY) { in Fill_LCMLInitParamsJpegDec()
712 else if (pPortDefOut->format.image.eColorFormat == OMX_COLOR_Format16bitRGB565) { in Fill_LCMLInitParamsJpegDec()
715 else if (pPortDefOut->format.image.eColorFormat == OMX_COLOR_Format24bitRGB888) { in Fill_LCMLInitParamsJpegDec()
718 else if (pPortDefOut->format.image.eColorFormat == OMX_COLOR_Format32bitARGB8888) { in Fill_LCMLInitParamsJpegDec()
721 else if (pPortDefOut->format.image.eColorFormat == OMX_COLOR_Format32bitBGRA8888) { in Fill_LCMLInitParamsJpegDec()
745 if (pPortDefOut->format.image.eColorFormat == OMX_COLOR_Format32bitARGB8888) in Fill_LCMLInitParamsJpegDec()
1148 … lImageResolution = pPortDefIn->format.image.nFrameWidth * pPortDefIn->format.image.nFrameHeight; in HandleCommandJpegDec()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dusage_dx.dox5 decoded images. The decoder expects packets to comprise exactly one image
30 implementation specific. Also, the image data passed in a slice callback is
51 enhance the image's appearance by removing artifacts introduced in the
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXCameraAdapter.cpp816 portCheck.format.image.nFrameWidth = portParams.mWidth; in setFormat()
817 portCheck.format.image.nFrameHeight = portParams.mHeight; in setFormat()
820 portCheck.format.image.eColorFormat = OMX_COLOR_FormatCbYCrY; in setFormat()
821 portCheck.format.image.eCompressionFormat = OMX_IMAGE_CodingJPEG; in setFormat()
825 portCheck.format.image.eColorFormat = OMX_COLOR_FormatCbYCrY; in setFormat()
826 … portCheck.format.image.eCompressionFormat = (OMX_IMAGE_CODINGTYPE) OMX_TI_IMAGE_CodingJPS; in setFormat()
830 portCheck.format.image.eColorFormat = OMX_COLOR_FormatCbYCrY; in setFormat()
831 … portCheck.format.image.eCompressionFormat = (OMX_IMAGE_CODINGTYPE) OMX_TI_IMAGE_CodingMPO; in setFormat()
837 portCheck.format.image.eColorFormat = OMX_COLOR_FormatCbYCrY; in setFormat()
838 portCheck.format.image.eCompressionFormat = OMX_IMAGE_CodingJPEG; in setFormat()
[all …]
/hardware/intel/common/omx-components/videocodec/
DOMXVideoDecoderVP9HWR.cpp327 VAImage image; in ProcessorInit() local
330 va_res = vaDeriveImage(mVADisplay, *(extMIDs[i]->m_surface), &image); in ProcessorInit()
332 va_res = vaMapBuffer(mVADisplay, image.buf, (void **) &usrptr); in ProcessorInit()
335 vaUnmapBuffer(mVADisplay, image.buf); in ProcessorInit()
337 vaDestroyImage(mVADisplay, image.image_id); in ProcessorInit()
/hardware/intel/bootstub/
Dbootstub.spec11 this package provides bootstub to create NAND boot image
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXCameraAdapter.cpp1168 portCheck.format.image.nFrameWidth = portParams.mWidth; in setFormat()
1169 portCheck.format.image.nFrameHeight = portParams.mHeight; in setFormat()
1171 portCheck.format.image.eColorFormat = OMX_COLOR_FormatCbYCrY; in setFormat()
1173 portCheck.format.image.eCompressionFormat = OMX_IMAGE_CodingJPEG; in setFormat()
1175 … portCheck.format.image.eCompressionFormat = (OMX_IMAGE_CODINGTYPE) OMX_TI_IMAGE_CodingJPS; in setFormat()
1177 … portCheck.format.image.eCompressionFormat = (OMX_IMAGE_CODINGTYPE) OMX_TI_IMAGE_CodingMPO; in setFormat()
1179 portCheck.format.image.eCompressionFormat = OMX_IMAGE_CodingUnused; in setFormat()
1182 portCheck.format.image.eColorFormat = portParams.mColorFormat; in setFormat()
1183 portCheck.format.image.eCompressionFormat = OMX_IMAGE_CodingUnused; in setFormat()
1189 portCheck.format.image.eColorFormat = OMX_COLOR_FormatCbYCrY; in setFormat()
[all …]

12