Commit Graph

  • 0db4f300a4 surface: Close request fd on error Paul Kocialkowski 2018-04-25 14:01:27 +02:00
  • 3049a90d7e surface: Close request fd when destroying Paul Kocialkowski 2018-04-25 11:58:55 +02:00
  • 1477ba3861 surface: Reinit media request on completion failure Paul Kocialkowski 2018-04-25 11:56:38 +02:00
  • c67253d271 sunxi_cedrus: Use media path for media fd Paul Kocialkowski 2018-04-25 11:46:49 +02:00
  • d716c32511 picture: Remove recurrent log message Paul Kocialkowski 2018-04-25 11:46:06 +02:00
  • b470953795 surface: Avoid memset that overrides metadata Paul Kocialkowski 2018-04-25 11:34:38 +02:00
  • 675b9e965e surface: Remove unused surface_id object member Paul Kocialkowski 2018-04-25 11:34:22 +02:00
  • b01a66dcd8 context: Add missing new line Paul Kocialkowski 2018-04-25 11:12:21 +02:00
  • ab464b4db7 object_heap: Bring back next free object id Paul Kocialkowski 2018-04-25 11:08:50 +02:00
  • 294a6c958a Use all-caps macros instead of object_heap_lookup (for now) Paul Kocialkowski 2018-04-25 11:03:58 +02:00
  • d809ff25e2 sunxi_cedrus: Fix fd for capability query Paul Kocialkowski 2018-04-25 10:52:32 +02:00
  • f872e345d0 Centralize buffer-related ressources in surface object and avoid dynamic indexes Paul Kocialkowski 2018-04-25 10:44:44 +02:00
  • 27c8a97901 utils: Resolve various trivial build issues Paul Kocialkowski 2018-04-25 09:55:50 +02:00
  • 8dd3590d7a media: Resolve various trivial build issues Paul Kocialkowski 2018-04-25 09:53:21 +02:00
  • 55cea98084 v4l2: Resolve various trivial build issues Paul Kocialkowski 2018-04-25 09:47:41 +02:00
  • 6a2cc27acb Include newly-introduced files in automake file Paul Kocialkowski 2018-04-25 09:44:44 +02:00
  • bce813fdaf image: Resolve various trivial build issues Paul Kocialkowski 2018-04-25 09:40:49 +02:00
  • 97a087dc73 picture: Resolve various trivial build issues Paul Kocialkowski 2018-04-25 09:37:26 +02:00
  • c55a2709b0 mpeg2: Pass driver_data along to access reference surfaces Paul Kocialkowski 2018-04-25 09:32:19 +02:00
  • 61ccf702a1 buffer: Resolve various trivial build issues Paul Kocialkowski 2018-04-25 09:21:03 +02:00
  • 58b15c25c9 context: Resolve various trivial build issues Paul Kocialkowski 2018-04-25 09:18:19 +02:00
  • 676b77ed0b surface: Use the MB32-tiled NV12 V4L2 pixel format definition Paul Kocialkowski 2018-04-25 09:16:14 +02:00
  • 28ce4a7a1a sunxi_cedrus: Use error label Paul Kocialkowski 2018-04-25 09:13:33 +02:00
  • f70d3fd4d2 surface: Resolve various trivial build issues Paul Kocialkowski 2018-04-25 09:07:28 +02:00
  • a93bac2c51 v4l2: Add missing stdbool header Paul Kocialkowski 2018-04-24 17:28:55 +02:00
  • c9da17ef71 sunxi_cedrus: Add string header to avoid build warning Paul Kocialkowski 2018-04-24 17:27:55 +02:00
  • 3d950a24f1 config: Fix incorrect prototypes Paul Kocialkowski 2018-04-24 17:27:37 +02:00
  • fb2c5e47f0 sunxi_cedrus: Fix mistakenly-imported destroy calls Paul Kocialkowski 2018-04-24 17:22:16 +02:00
  • b2c79eff37 sunxi_cedrus: Fix video path in log message Paul Kocialkowski 2018-04-24 17:20:58 +02:00
  • 6cd00b758c Move log function to a dedicated file and rename it along the way Paul Kocialkowski 2018-04-24 17:12:29 +02:00
  • 9de2ba88b5 Introduce and use media helpers, updated to the latest media request API Paul Kocialkowski 2018-04-24 17:00:50 +02:00
  • a8c191b544 Rename mem2mem_fd to video_fd to prepare for media introduction Paul Kocialkowski 2018-04-24 16:40:42 +02:00
  • 1bf08f9656 mpeg2: Rework helper functions to a more flexible interface Paul Kocialkowski 2018-04-24 16:10:35 +02:00
  • c7f0d7684a Introduce and use dedicated v4l2 helpers to replace inline ioctls Paul Kocialkowski 2018-04-24 15:38:23 +02:00
  • 5139aa6731 config: Remove unsupported motion compensation entry point Paul Kocialkowski 2018-04-24 14:24:02 +02:00
  • 9716acc322 surface: Harmonize coding style Paul Kocialkowski 2018-04-24 14:20:04 +02:00
  • 56614c25a6 picture: Harmonize coding style Paul Kocialkowski 2018-04-24 14:11:08 +02:00
  • e907959906 image: Harmonize coding style Paul Kocialkowski 2018-04-24 11:27:54 +02:00
  • 7ffc3fe9fe config: Harmonize coding style and reorder functions Paul Kocialkowski 2018-04-24 11:27:17 +02:00
  • 2399515b84 context: Harmonize coding style Paul Kocialkowski 2018-04-24 10:03:58 +02:00
  • c2e98f6c7e buffer: Harmonize coding style Paul Kocialkowski 2018-04-24 09:56:39 +02:00
  • 8b4ffd2609 sunxi_cedrus: Harmonize coding style Paul Kocialkowski 2018-04-24 09:38:20 +02:00
  • e70212356a Cleanup automake files Paul Kocialkowski 2018-04-23 17:31:57 +02:00
  • cd31cb568c Rename va_config to config for consistency Paul Kocialkowski 2018-04-23 17:09:19 +02:00
  • 6be573d090 Sanitize unimplemented functions Paul Kocialkowski 2018-04-23 17:08:05 +02:00
  • 4b7e71668e Reorder functions, with a straightforward logic Paul Kocialkowski 2018-04-23 16:51:11 +02:00
  • e25b757b7e Harmonize defines for headers include protections Paul Kocialkowski 2018-04-23 16:39:30 +02:00
  • a5354efe43 Rework comments by splitting them into README and removing redundant ones Paul Kocialkowski 2018-04-23 16:38:10 +02:00
  • 3b447f5b01 README: Rework with subsections Paul Kocialkowski 2018-04-23 16:11:45 +02:00
  • f07305ae40 COPYING: Reformulate and make more concise Paul Kocialkowski 2018-04-23 15:52:03 +02:00
  • c210daf780 sunxi_cedrus: Harmonize vendor string Paul Kocialkowski 2018-04-23 15:23:01 +02:00
  • 8c2dd0c491 sunxi_cedrus: Cosmetic alignment change Paul Kocialkowski 2018-04-23 15:20:40 +02:00
  • 03ac4a780c sunxi_cedrus: Rename functions arguments for more clarity Paul Kocialkowski 2018-04-23 15:18:53 +02:00
  • 5ab99bf9ea picture: Rename functions arguments for more clarity Paul Kocialkowski 2018-04-23 14:53:54 +02:00
  • 104eb22462 context: Rename target structure elements to make them explicit Paul Kocialkowski 2018-04-23 14:47:32 +02:00
  • 5e1ac89413 subpicture: Rename functions arguments for more clarity Paul Kocialkowski 2018-04-23 14:25:20 +02:00
  • add3854179 va_config: Rename functions arguments for more clarity Paul Kocialkowski 2018-04-23 14:13:15 +02:00
  • 1d7d92bf1c va_config: Rename object config structure fields for more clarity Paul Kocialkowski 2018-04-23 13:59:13 +02:00
  • 47f7f021bf image: Rename functions arguments for more clarity Paul Kocialkowski 2018-04-23 13:44:12 +02:00
  • 588a992749 image: Rename object context structure buffer id field for more clarity Paul Kocialkowski 2018-04-23 13:37:20 +02:00
  • 621b26b781 surface: Rename functions arguments for more clarity Paul Kocialkowski 2018-04-23 13:35:18 +02:00
  • 2ef39048c2 surface: Reorder object surface structure Paul Kocialkowski 2018-04-23 12:00:04 +02:00
  • b00ffa00d1 context: Rename functions arguments for more clarity Paul Kocialkowski 2018-04-23 11:55:25 +02:00
  • 8fd01b54b6 context: Rename object context structure fields for more clarity Paul Kocialkowski 2018-04-23 11:50:27 +02:00
  • 8fe67675c5 buffer: Rename functions arguments for more clarity Paul Kocialkowski 2018-04-23 11:42:12 +02:00
  • 34066fc0a7 buffer: Rename object buffer structure fields for more clarity Paul Kocialkowski 2018-04-23 11:17:48 +02:00
  • 90dbf3e6a5 Remove partial MPEG4 support, that is missing from the driver Paul Kocialkowski 2018-04-23 11:06:30 +02:00
  • d8a51f0cd4 Use libVA naming style for public API functions Paul Kocialkowski 2018-04-23 10:49:24 +02:00
  • b0a8023644 Remove INIT_DRIVER_DATA and replace it with explicit definition Paul Kocialkowski 2018-04-23 10:34:30 +02:00
  • 4354922570 Drop the _drv_video suffix from sunxi_cedrus files for conciseness Paul Kocialkowski 2018-04-23 10:32:09 +02:00
  • 36b7bba14f config: Use object config structure directly instead of abstract type Paul Kocialkowski 2018-04-23 10:13:05 +02:00
  • 0bd492f0d3 image: Use object image structure directly instead of abstract type Paul Kocialkowski 2018-04-23 10:11:36 +02:00
  • 97950176ad surface: Use object surface structure directly instead of abstract type Paul Kocialkowski 2018-04-23 10:06:11 +02:00
  • 6a06b4570b context: Use object context structure directly instead of abstract type Paul Kocialkowski 2018-04-23 10:04:58 +02:00
  • 5c26862913 buffer: Use object buffer structure directly instead of abstract type Paul Kocialkowski 2018-04-23 09:53:51 +02:00
  • 60b782ba51 image: call SyncSurface from DeriveImage Maxime Ripard 2018-04-20 11:36:30 +02:00
  • 4ff25e2450 image: cosmetic change Maxime Ripard 2018-04-20 11:36:00 +02:00
  • bbf6cb5ef4 drv: Add LIBVA_CEDRUS_DEV env variable to retrieve our device Maxime Ripard 2018-04-20 11:26:08 +02:00
  • 5e82668680 buffer: Return an error on unmap if buffer is null Maxime Ripard 2018-04-20 11:23:38 +02:00
  • d758a0d425 Rework buffer and slice handling Maxime Ripard 2018-04-20 11:23:14 +02:00
  • 70bbd56770 surface: Amend timeout Maxime Ripard 2018-04-20 11:14:51 +02:00
  • f42ead5a00 surface: select cannot return 0 if there's no timeout Maxime Ripard 2018-04-20 11:14:15 +02:00
  • 4328b65621 cedrus: close request FD on terminate Maxime Ripard 2018-04-20 11:11:08 +02:00
  • 37b083ebcd surface: Don't timeout on select anymore Maxime Ripard 2018-04-20 11:09:30 +02:00
  • 62c48837c0 surface: Add weird comment Maxime Ripard 2018-04-20 11:08:09 +02:00
  • 4c3ab6caba surface: Fix surfaceID type Maxime Ripard 2018-04-20 11:07:46 +02:00
  • 14c9443f80 surface: Set surface status after dequeueing the buffer Maxime Ripard 2018-04-20 11:07:08 +02:00
  • 287d898a22 picture: Move calls to request reinit from EndPicture to SyncSurface Maxime Ripard 2018-04-20 11:06:06 +02:00
  • 22c6a01a93 picture: Move request submit from EndPicture to SyncSurface Maxime Ripard 2018-04-20 11:02:04 +02:00
  • 115b0d39b1 picture: rework the test for the media request fd a bit Maxime Ripard 2018-04-20 10:45:10 +02:00
  • b5fe51b608 picture: remove an assert for a more dynamic approach Maxime Ripard 2018-04-20 10:44:07 +02:00
  • 63617797b4 picture: fix typo in controls type Maxime Ripard 2018-04-20 10:40:20 +02:00
  • d347d12168 fixup! context: call streamoff when destroying the context Maxime Ripard 2018-04-20 10:39:38 +02:00
  • 27d2b6c955 heap: don't set next_free anymore Maxime Ripard 2018-04-20 10:37:44 +02:00
  • 31533a061d picture: return SyncSurface error code on error Maxime Ripard 2018-04-20 10:34:56 +02:00
  • 056d24d20f buffer: don't cast the pointer anymore Maxime Ripard 2018-04-20 10:33:39 +02:00
  • f638dcce4c mpeg2: don't populate the frame anymore Maxime Ripard 2018-04-20 10:29:56 +02:00
  • 3f9054e95d mpeg2: remove output mplane querybuf Maxime Ripard 2018-04-20 10:28:26 +02:00
  • 51ac90481a buffer: cosmetic change Maxime Ripard 2018-04-20 10:24:41 +02:00
  • b9efb89633 image: free our heap allocated object when destroying the image Maxime Ripard 2018-04-20 10:23:10 +02:00