/hardware/intel/common/libva/test/basic/ |
test_08.c | 25 #define TEST_DESCRIPTION "Create and destory surfaces of different sizes" 68 VASurfaceID surfaces[NUM_SIZES+1]; local 71 memset(surfaces, 0xff, sizeof(surfaces)); 76 surfaces[i+1] = DEAD_SURFACE_ID; 77 va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, test_sizes[i].w, test_sizes[i].h, &surfaces[i], 1, NULL, 0); 79 ASSERT( DEAD_SURFACE_ID == surfaces[i+1] ); 82 test_unique_surfaces(surfaces, NUM_SIZES); 84 status("vaDestroySurface all surfaces\n"); 85 va_status = vaDestroySurfaces(va_dpy, surfaces, NUM_SIZES) [all...] |
test.c | 55 VASurfaceID surfaces[21]; local 58 surfaces[20] = -1; 59 va_status = vaCreateSurfaces(va_dpy, 720, 480, VA_RT_FORMAT_YUV420, 20, surfaces); 61 ASSERT( -1 == surfaces[20] ); /* bounds check */ 64 printf("Surface %d surface_id = %08x\n", i, surfaces[i]); 71 vaPutSurface(va_dpy, surfaces[0], win, 0, 0, 720, 480, 0, 0, 720, 480, 0); 74 va_status = vaDestroySurface(va_dpy, surfaces, 20); 96 VASurfaceID surfaces[20]; local 114 va_status = vaCreateSurfaces(va_dpy, 720, 480, VA_RT_FORMAT_YUV420, 20, surfaces); 117 va_status = vaCreateContext(va_dpy, config_id, 720, 480, 0 /* flag */, surfaces, 20, &context) [all...] |
test_10.c | 31 VASurfaceID *surfaces; variable 47 surfaces = malloc(total_surfaces * sizeof(VASurfaceID)); 50 va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, width, height, surfaces, total_surfaces, NULL, 0); 55 va_status = vaCreateContext( va_dpy, config, width, height, flags, surfaces, surface_count, &context ); 134 va_status = vaDestroySurfaces(va_dpy, surfaces, total_surfaces); 137 free(surfaces);
|
test_09.c | 69 VASurfaceID *surfaces = malloc(total_surfaces * sizeof(VASurfaceID)); local 72 va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, width, height, surfaces, total_surfaces, NULL, 0); 79 va_status = vaCreateContext( va_dpy, configs[i], width, height, flags, surfaces + i*surface_count, surface_count, &contexts[i] ); 97 va_status = vaDestroySurfaces(va_dpy, surfaces, total_surfaces); 102 free(surfaces);
|
test_11.c | 31 VASurfaceID *surfaces; variable 47 surfaces = malloc(total_surfaces * sizeof(VASurfaceID)); 50 va_status = vaCreateSurfaces(va_dpy, VA_RT_FORMAT_YUV420, width, height, surfaces, total_surfaces, NULL, 0); 55 va_status = vaCreateContext( va_dpy, config, width, height, flags, surfaces, surface_count, &context ); 173 va_status = vaDestroySurfaces(va_dpy, surfaces, total_surfaces); 176 free(surfaces);
|
/hardware/intel/common/libva/va/ |
va_compat.c | 37 VASurfaceID *surfaces 40 return vaCreateSurfaces(dpy, format, width, height, surfaces, num_surfaces,
|
va_compat.h | 102 #define vaCreateSurfaces6(dpy, width, height, format, num_surfaces, surfaces) \ 103 (vaCreateSurfaces)(dpy, format, width, height, surfaces, num_surfaces, \ 106 #define vaCreateSurfaces8(dpy, format, width, height, surfaces, num_surfaces, attribs, num_attribs) \ 107 (vaCreateSurfaces)(dpy, format, width, height, surfaces, num_surfaces, \
|
va_backend_tpi.h | 44 VASurfaceID *surfaces, /* out */
|
/frameworks/base/libs/hwui/tests/unit/ |
CacheManagerTests.cpp | 39 std::vector<sk_sp<SkSurface>> surfaces; local 48 surfaces.push_back(surface); 51 ASSERT_TRUE(1 < surfaces.size()); 57 // free the surfaces 58 for (size_t i = 0; i < surfaces.size(); i++) { 59 ASSERT_TRUE(surfaces[i]->unique()); 60 surfaces[i].reset();
|
/external/mesa3d/src/gallium/drivers/radeon/ |
radeon_video.c | 138 * join surfaces into the same buffer with identical tiling params 143 struct radeon_surf *surfaces[VL_NUM_COMPONENTS]) 153 if (!surfaces[i]) 157 wh = surfaces[i]->bankw * surfaces[i]->bankh; 165 if (!surfaces[i]) 169 surfaces[i]->bankw = surfaces[best_tiling]->bankw; 170 surfaces[i]->bankh = surfaces[best_tiling]->bankh [all...] |
radeon_video.h | 67 /* join surfaces into the same buffer with identical tiling params 71 struct radeon_surf *surfaces[VL_NUM_COMPONENTS]);
|
/frameworks/base/core/java/android/hardware/camera2/utils/ |
SurfaceUtils.java | 130 * Verify that that the surfaces are valid for high-speed recording mode, 133 * @param surfaces the surfaces to verify as valid in terms of size and format 137 public static void checkConstrainedHighSpeedSurfaces(Collection<Surface> surfaces, 139 if (surfaces == null || surfaces.size() == 0 || surfaces.size() > 2) { 158 for (Surface surface : surfaces) { 182 if (surfaces.size() == 2) { 184 Iterator<Surface> iterator = surfaces.iterator() [all...] |
/external/mesa3d/src/mesa/main/ |
vdpau.h | 67 _mesa_VDPAUMapSurfacesNV(GLsizei numSurfaces, const GLintptr *surfaces); 70 _mesa_VDPAUUnmapSurfacesNV(GLsizei numSurfaces, const GLintptr *surfaces);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
GLThreadManager.java | 34 * GLThreadManager handles the thread used for rendering into the configured output surfaces. 62 public final Collection<Pair<Surface, Size>> surfaces; field in class:GLThreadManager.ConfigureHolder 66 Size>> surfaces, CaptureCollector collector) { 68 this.surfaces = surfaces; 89 mTextureRenderer.configureSurfaces(configure.surfaces); 185 * Queue a new call to draw into the surfaces specified in the next available preview 204 * Configure the GL renderer for the given set of output surfaces, and block until 207 * @param surfaces a collection of pairs of {@link android.view.Surface}s and their 211 public void setConfigurationAndWait(Collection<Pair<Surface, Size>> surfaces, [all...] |
/external/mesa3d/src/gallium/state_trackers/nine/ |
texture9.c | 173 This->surfaces = CALLOC(info->last_level + 1, sizeof(*This->surfaces)); 174 if (!This->surfaces) 182 /* Create all the surfaces right away. 204 &sfdesc, &This->surfaces[l]); 215 *pSharedHandle = This->surfaces[0]->data; 228 if (This->surfaces) { 229 /* The surfaces should have 0 references and be unbound now. */ 231 if (This->surfaces[l]) 232 NineUnknown_Destroy(&This->surfaces[l]->base.base) [all...] |
cubetexture9.c | 119 This->surfaces = CALLOC(6 * (info->last_level + 1), sizeof(*This->surfaces)); 120 if (!This->surfaces) 129 /* Create all the surfaces right away. 139 /* We allocate the memory for the surfaces as continous blocks. 152 l, f, &sfdesc, &This->surfaces[f + 6 * l]); 175 if (This->surfaces) { 177 NineUnknown_Destroy(&This->surfaces[i]->base.base); 178 FREE(This->surfaces); 198 *pDesc = This->surfaces[Level * 6]->desc [all...] |
texture9.h | 32 struct NineSurface9 **surfaces; member in struct:NineTexture9
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
MultiViewTest.java | 238 * Verify behavior of sharing surfaces within one OutputConfiguration 278 List<Surface> surfaces = new ArrayList<Surface>(); local 290 surfaces.add(new Surface(previewTexture[i])); 294 surfaces.add(imageReader.getSurface()); 297 startPreview(cameraId, surfaces, null); 324 * Verify behavior of OutputConfiguration when sharing surfaces 330 Surface[] surfaces = new Surface[2]; local 340 surfaces[i] = new Surface(previewTexture[i]); 343 // Verify that outputConfiguration can be created with 2 surfaces with the same setting. 345 OutputConfiguration.SURFACE_GROUP_ID_NONE, surfaces[0]) 431 Surface[] surfaces = new Surface[2]; local 475 Surface[] surfaces = new Surface[2]; local [all...] |
/bootable/recovery/minui/ |
graphics_adf.h | 55 GRSurfaceAdf surfaces[2]; member in class:MinuiBackendAdf
|
graphics_adf.cpp | 32 : intf_fd(-1), dev(), current_surface(0), n_surfaces(0), surfaces() {} 65 err = SurfaceInit(&intf_data.current_mode, &surfaces[0]); 72 err = SurfaceInit(&intf_data.current_mode, &surfaces[1]); 75 surfaces[1] = {}; 171 GRSurfaceAdf* surf = &surfaces[current_surface]; 178 Sync(&surfaces[current_surface]); 179 return &surfaces[current_surface]; 195 SurfaceDestroy(&surfaces[i]);
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_texture.h | 44 struct nouveau_surface surfaces[MAX_TEXTURE_LEVELS]; member in struct:nouveau_texture
|
/packages/apps/Camera2/src/com/android/camera/one/v2/initialization/ |
CaptureSessionCreator.java | 50 * @param surfaces The set of output surfaces for the camera capture 55 List<Surface> surfaces) { 58 mDevice.createCaptureSession(surfaces, new CameraCaptureSessionProxy.StateCallback() {
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3SharedOutputStream.cpp | 24 const std::vector<sp<Surface>>& surfaces, 32 mSurfaces(surfaces) { 74 status_t Camera3SharedOutputStream::setConsumers(const std::vector<sp<Surface>>& surfaces) { 76 if (surfaces.size() == 0) { 77 ALOGE("%s: it's illegal to set zero consumer surfaces!", __FUNCTION__); 82 for (auto& surface : surfaces) {
|
Camera3SharedOutputStream.h | 32 * surfaces. A valid stream set id needs to be set to support buffer 35 Camera3SharedOutputStream(int id, const std::vector<sp<Surface>>& surfaces, 50 // Surfaces passed in constructor from app
|
/external/mesa3d/src/gallium/drivers/rbug/ |
rbug_screen.h | 59 struct rbug_list surfaces; member in struct:rbug_screen
|